VideoHelp Forum

+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. How do I tell ffmpeg to export a image sequence to a MP4 video libx 264. But not starting from the first frame in the folder ?

    Let say I have an image sequence starting wit BB1.png. I have 30000 images ending with BB30000.png. How do I tell fmpeg that I only want it to use images starting with BB15000 to BB30000?
    Quote Quote  
  2. ffmpeg -start_number 15000 -i "BB%d.png" -frames:v 15001 -c:v libx264 "out.mp4"
    Quote Quote  
  3. And if you need a specific framerate use -r before the -i to assume an input framerate . e.g. -r 30 would be 30.0 fps
    Quote Quote  
  4. Thanks guys

    So here goes:

    Ffmpeg -r 25 -start_frame 15000 -f image2 -s 1920x1080 -i BB%5d.png -pix_fmt yuv420p -vcodec libx264 -crf 25 -preset veryslow test.mp4
    Quote Quote  



Similar Threads