[FFmpeg-trac] #4944(documentation:open): -r output option misguiding documentation

FFmpeg trac at avcodec.org
Tue Oct 20 11:18:58 CEST 2015

#4944: -r output option misguiding documentation
             Reporter:  basinilya    |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  minor        |                Component:
              Version:  git-master   |  documentation
             Keywords:  fps          |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  1

Comment (by basinilya):

 Replying to [comment:1 cehoyos]:
 > The relevant output would be the one of {{{ffmpeg -i output.mkv}}},
 FFmpeg's matroska muxer supports variable frame rate, so it is not
 necessary to actually write the duplicated frames to the output file.
 Please compare with a muxer that does not support vfr like {{{mov}}} or
 use {{{-vsync cfr}}} to force the actual frame duplication.

 Then how about we write something like this:
 As an output option, set the declared video stream fps. Together with the
 chosen '-vsync' method this affects duplicating or dropping frames.
 Let them go and read the description of {{{-vsync}}} instead of
 duplicating it here.

 Tested with {{{mov}}}: by default it really duplicates frames, but I did
 the opposite to your advice and applied {{{-vsync vfr}}}, which produced a
 vfr mov. So it does support vfr!

 Found a cfr-only container: {{{yuv4mpegpipe}}}.

Ticket URL: <https://trac.ffmpeg.org/ticket/4944#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list