ffmpeg.wasm icon indicating copy to clipboard operation
ffmpeg.wasm copied to clipboard

The processed image is too bright using colorbalance option.

Open fay opened this issue 3 years ago • 3 comments

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

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

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

fay avatar Sep 01 '22 05:09 fay

It seems like you're using colorbalance=rs=1 in the first example and colorbalance=bs=1 in the second one. Try comparing it with the same settings.

Baegus avatar Sep 01 '22 08:09 Baegus

sorry, I copied an another command. And I pasted the right one right now. But the problem is still existing.

fay avatar Sep 02 '22 02:09 fay

I think it's the ffmpeg's version problem.The ffmpeg's version compiled by ffmpeg.wasm-core is kind of old.

fay avatar Sep 08 '22 02:09 fay