ffmpegwasm / ffmpegwasm/ffmpeg.wasm

The processed image is too bright using colorbalance option.

Open
#403 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
17.8k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

I use ffmpegwasm to process my image and found the output image is too bright when using colorbalance option:
`[info] run ffmpeg command: -i [object File] -vf colorbalance=rs=1 a.jpg
`
![7f494647-27b2-44de-8a69-eb69229bad07](https://user-images.githubusercontent.com/35190/187840568-a47f89f2-f846-4ca8-b5bf-cb77ad8ec68f.jpg)

At the same time I use ffmpeg shell command with the same options under linux:
` ffmpeg -i 4e349bbb-7529-4624-ac1b-8087287b9e3e_.jpg -vf colorbalance=rs=1 c.jpg
`
And the output image is:
![c](https://user-images.githubusercontent.com/35190/187841760-386369ac-7878-45e8-a76e-72e2b65e0c34.jpg)

The final effects are so different, did I do anything wrong with it?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.