VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member
    Join Date
    Mar 2011
    Location
    Paris, France
    Search PM
    Hello

    I googled for this, but none of the examples work: The output isn't actually faster than the original video.

    Here's what I tried:
    Code:
    ffmpeg -i input.mpg -filter:v "setpts=0.25*PTS" -to 00:00:15 -c:v libx264 -vf scale=640:-1 -pix_fmt yuv420p -an -threads 2 -f mp4 output.mp4
    
    ffmpeg -i input.mpg -r 16 -filter:v "setpts=0.25*PTS" -to 00:00:15 -c:v libx264 -vf scale=640:-1 -pix_fmt yuv420p -an -threads 2 -f mp4 output.mp4
    Any idea what else I could try?

    Thank you.
    --
    Edit: More googling solved the issue: -filter:v and -vf mean the same thing, and when using two separate switches, the latter wins.

    The solution is to combine the two switches in one: "-filter:v "setpts=0.25*PTS,scale=640:-1"
    Last edited by yetanotherlogin; 29th Jun 2016 at 16:26.
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Thanks for posting the solution! :P.
    Quote Quote  



Similar Threads

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