[FFmpeg-trac] #4080(avdevice:open): AV Foundation -frame_rate setting ignored (was: AV Foundation frame rate setting ignored)

FFmpeg trac at avcodec.org
Wed Nov 12 01:54:38 CET 2014


#4080: AV Foundation -frame_rate setting ignored
--------------------------------------+------------------------------------
             Reporter:  LordHDL       |                    Owner:
                 Type:  enhancement   |                   Status:  open
             Priority:  wish          |                Component:  avdevice
              Version:  git-master    |               Resolution:
             Keywords:  avfoundation  |               Blocked By:
             Blocking:                |  Reproduced by developer:  1
Analyzed by developer:  0             |
--------------------------------------+------------------------------------

Comment (by ubitux):

 {{{
 grep frame_rate libavdevice/avfoundation.m
     float           frame_rate;
     { "frame_rate", "set frame rate", offsetof(AVFContext, frame_rate),
 AV_OPT_TYPE_FLOAT, { .dbl = 30.0 }, 0.1, 30.0, AV_OPT_TYPE_VIDEO_RATE,
 NULL },
 }}}

 Hum. Indeed the setting is ignored.

 Note: every other input device is using {{{-framerate}}} instead of
 {{{-frame_rate}}}. We should probably use the same for consistency.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4080#comment:16>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list