VideoHelp Forum
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Member
    Join Date
    Jan 2006
    Location
    United States
    Search Comp PM
    With the ffmpeg parameter below I'm trying to:
    1: Slow the video by 3.5x
    2: Resize it
    3. Apply Photoshop curves color correction.

    ffmpeg -i test.mp4 -filter:v "setpts=3.5*PTS" -vf scale=1280:720,"curves=psfile=gopher1.acv",format= yuv420p -c:v libx264 -preset veryslow -crf 23 -c:a aac testout.mp4

    But depending on where I put the setpts element, it will either slow it but not resize/color-correct it or it will resize and color-correct but not slow it. Am I doing something wrong? I'm guessing it has something to do with the order of things.
    Quote Quote  
  2. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    Not sure but it might be you are using 2 -vf filters separately. -vf is an alias for -filter:v so you might try

    ffmpeg -i test.mp4 -vf "setpts=3.5*PTS" ,scale=1280:720,"curves=psfile=gopher1.acv",format = yuv420p -c:v libx264 -preset veryslow -crf 23 -c:a aac testout.mp4
    Quote Quote  
  3. Member
    Join Date
    Jan 2006
    Location
    United States
    Search Comp PM
    That's what was causing it. Works great now. I had only used -vf before and wasn't aware the -filter:v was the same thing. Much appreciated.
    Quote Quote  



Similar Threads

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