[FFmpeg-trac] #2305(avdevice:new): v4l2 user control configuration mechanism

FFmpeg trac at avcodec.org
Mon Sep 13 19:31:34 EEST 2021

#2305: v4l2 user control configuration mechanism
             Reporter:  Adam Clarke  |                    Owner:  (none)
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:  avdevice
              Version:  git-master   |               Resolution:
             Keywords:  v4l2         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
Comment (by John Boiles):

 +1 it'd be nice for either ffmpeg to have full control over v4l2 devices
 or no control at all. Perhaps there could be a new ffmpeg flag to tell it
 to not change v4l2 settings.

 As it is currently, you may need to specify some settings twice -- once
 because sometimes v4l2 needs to switch to the right pixelformat before it
 can use pixelformat-related controls, then again for ffmpeg so that ffmpeg
 doesn't switch your settings around. E.g.:

 v4l2-ctl -d /dev/video0 -v pixelformat=H264,width=1920,height=1080
 v4l2-ctl -d /dev/video0 -c
 v4l2-ctl -d /dev/video0 -p 30
 ffmpeg -pix_fmt h264 -video_size 1920x1080 -i /dev/video0 ....
Ticket URL: <https://trac.ffmpeg.org/ticket/2305#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list