VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Member
    Join Date
    Jan 2022
    Location
    Scotland
    Search Comp PM
    I have an image sequence which I'm trying to encode as 50fps, but it's coming out as 25fps with the video twice as long as it should be.

    Can some intelligent sort diagnose the error in my command line?

    Normally I do 25fps, and I've just tried to guess my way around it. Looking for video bitrate of 5000, so I assume that's one part needing changed. However I can't work out why the video is just jerking along at 25fps and half the speed it should be.

    ffmpeg -i c:\video\bs\%06d.tif -vf scale=970:720 -level 4.1 -r 50 -b_strategy 2 -8x8dct 1 -fast-pskip 0 -pix_fmt yuv420p -bf 15 -b-pyramid normal -me_method umh -subq 11 -me_range 64 -mbtree 1 -rc-lookahead 250 -keyint_min 50 -direct-pred auto -partitions all -trellis 2 -mixed-refs 1 -aq-mode 1 -aq-strength 1.15 -deblock -1 -vcodec libx264 -profile:v high444 -refs 12 -vb 2500k -maxrate 6250k -bufsize 7812k -preset veryslow -pass 1 -an pass1.mkv
    Quote Quote  
  2. You want to put -r 50 before -i..., not after. Otherwise ffmpeg will assume 25 fps for the input then double it (by duplicating each frame) to 50 fps for the output.
    Last edited by jagabo; 22nd May 2022 at 12:53.
    Quote Quote  
  3. Member
    Join Date
    Jan 2022
    Location
    Scotland
    Search Comp PM
    Thank you, Jagabo.
    Quote Quote  



Similar Threads

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