VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. I was getting "past duration too long" errors on an encode, and from Googling you're supposed to specify an input framerate to prevent that.

    But when I try this:
    Code:
    (ffmpeg -framerate 29.970 -i "video.mkv" -acodec copy -vcodec libx264 -preset slow -crf 18 -force_key_frames chapters -pix_fmt yuv420p -x264opts level=4.1 "x\video.mkv" )
    I get the error "Option framerate not found".
    Quote Quote  
  2. documentation:
    -r[:stream_specifier] fps (input/output,per-stream)
    Set frame rate (Hz value, fraction or abbreviation).
    As an input option, ignore any timestamps stored in the file and instead generate timestamps assuming constant frame rate fps. This is not the same as the -framerate option used for some input formats like image2 or v4l2 (it used to be the same in older versions of FFmpeg). If in doubt use -framerate instead of the input option -r.
    As an output option, duplicate or drop input frames to achieve constant output frame rate fps.
    source: https://ffmpeg.org/ffmpeg-all.html#Video-Options

    The "If in doubt use -framerate instead of the input option -r." should be deleted from the doc, or at least mentioned that this is only applicable when image grabbing using image2 or v4l2 is used. ;)

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!