[FFmpeg-user] Change device setting from CLI?
Roger Pack
rogerdpack2 at gmail.com
Tue Apr 19 09:01:47 EEST 2022
On Sun, Apr 10, 2022 at 7:28 AM Steve Russell <raichea at gmail.com> wrote:
>
> I bought an HD webcam during the pandemic and it's been pretty good except the colours were a bit off. I finally decided to try and do something about it. The app I use most with it (Zoom) doesn't offer any way to tweak the camera settings so, after a search, I found that FFmpeg can do the job. If I run this command:
>
> ffmpeg-5.0.1-full_build\bin\ffmpeg -f dshow -show_video_device_dialog true -i video="HD Web Camera"
>
> I get a dialog that lets me change several settings. Simply dropping the saturation down to about 60 does the trick but the change doesn't stick - I assume Zoom is resetting the camera when it starts up. To avoid having to manually set the saturation as above, it would be great to have a command line to change the setting. I've experimented with:
>
> ffmpeg-5.0.1-full_build\bin\ffmpeg -f dshow -i video="HD Web Camera" -vf eq=saturation=0.6 output
>
> but this runs without changing the appearance in Zoom. I'm guessing that this is because I'm putting the filter in between the camera and "output" rather than changing the device settings directly.
>
> I've dug around in the documentation but find it somewhat overwhelming and don't really know where to start looking. Any pointers gratefully received!
There are some filters that support settings but apparently it's hit or miss
https://stackoverflow.com/a/27931102/32453
you can try the video_device_load and video_device_save params, if
they work it works, otherwise you're kind of stuck.
Good luck!
More information about the ffmpeg-user
mailing list