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:
Any idea what else I could try?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
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"
+ Reply to Thread
Results 1 to 2 of 2
-
Last edited by yetanotherlogin; 29th Jun 2016 at 16:26.
Similar Threads
-
ffmpeg vs ffprobe frame count speed
By Anime4000 in forum Newbie / General discussionsReplies: 6Last Post: 12th May 2019, 05:05 -
how to improve speed encoding ffmpeg?
By marcorocchini in forum Newbie / General discussionsReplies: 4Last Post: 2nd Feb 2016, 14:20 -
Optimizing download speed with ffmpeg
By peace2 in forum Video Streaming DownloadingReplies: 1Last Post: 2nd Feb 2016, 09:05 -
How can improve speed of ffmpeg encoding?
By marcorocchini in forum Newbie / General discussionsReplies: 3Last Post: 13th Oct 2015, 11:17 -
Improving ffmpeg transcode speed
By jwilson in forum Video ConversionReplies: 4Last Post: 4th Sep 2012, 16:02