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.
+ Reply to Thread
Results 1 to 4 of 4
here's the ffmpeg documentation - https://ffmpeg.org/ffmpeg.html
to speed up / slow down video - https://trac.ffmpeg.org/wiki/How%20to%20speed%20up%20/%20slow%20down%20a%20video
resize video - https://trac.ffmpeg.org/wiki/Scaling
for the color correction, try this - https://stackoverflow.com/questions/50333227/correcting-color-cast-with-ffmpeg
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
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.