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.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 4 of 4
Thread
-
-
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.
Similar Threads
-
Top10 Commands for Lossless Video manipulation using ffmpeg (Guide)
By butterw in forum Video ConversionReplies: 11Last Post: 10th Apr 2022, 06:42 -
ffmpeg commands list or tutorials
By natty in forum Newbie / General discussionsReplies: 3Last Post: 23rd Oct 2017, 02:59 -
what software or what ffmpeg commands can convert mp4 to avi?
By sommers in forum Newbie / General discussionsReplies: 7Last Post: 16th Jun 2017, 04:44 -
other video cutting softwares? or how can it be done by ffmpeg's commands?
By sommers in forum Newbie / General discussionsReplies: 11Last Post: 9th Jun 2017, 23:41 -
FFMPEG - X265 - Help for correct commands and syntax
By AllThatEvil in forum Video ConversionReplies: 16Last Post: 22nd Mar 2017, 17:04