[FFmpeg-trac] #926(undetermined:closed): -r ignored, resulting in error "Option framerate not found"

FFmpeg trac at avcodec.org
Fri Jan 20 18:48:29 CET 2012


#926: -r ignored, resulting in error "Option framerate not found"
-------------------------------------+-------------------------------------
             Reporter:  charlesc     |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  y4m          |               Resolution:  invalid
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by mjs973):

 ''But more to the point: can -r be made to specify the frame rate,
 overriding the detected rate from the input file?''

 ffmpeg already works the way you want. You must specify the rate of the
 output file, not the rate of the input file.  You do that by placing the
 -r 25 ''after'' the -vcodec option and before the output filename.

 So, I believe the command you should use is:

 ffmpeg -f yuv4mpegpipe -i - \
   -vcodec flv -vb 250k -r 25 -qmin 5 -qmax 50 -g 150 \
   -y outfile.flv

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/926#comment:6>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list