[FFmpeg-trac] #6639(avdevice:new): video4linux2 (v4l2) add option to set bitrate for compressed video

FFmpeg trac at avcodec.org
Wed Sep 6 15:44:29 EEST 2017


#6639: video4linux2 (v4l2) add option to set bitrate for compressed video
-------------------------------------+-------------------------------------
             Reporter:  moritzmhmk   |                     Type:
               Status:  new          |  enhancement
            Component:  avdevice     |                 Priority:  normal
             Keywords:  v4l2         |                  Version:
  bitrate video4linux2               |  unspecified
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
 While input_format can be set to h264 there is no way to set the bitrate
 for a webcam.

 The bitrate for the camera in question can be set with "v4l2-ctl --set-
 ctrl video_bitrate=300000"

 How to reproduce:
 {{{
 % ffmpeg -f video4linux2 -input_format h264 -video_size 1280x704 -i
 /dev/video0 ...
 ffmpeg version 3.2.5-1
 built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1) 20170516
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6639>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list