[FFmpeg-user] Speed up AND resize?
codecomplete at free.fr
Sun Jan 8 14:59:20 EET 2023
I wrongly had an extra "-" to set the horizontal size:
On 08/01/2023 13:46, Gilles wrote:
> I'd like to speed up a video by 10%, AND resize it at the same time
> from its original 1280x720 to 720:-1 (ie. 404).
> The following command does speed up the file, but its size remains at
> ffmpeg -i input.mp4 -b:v 300k -vf
> "setpts=(PTS-STARTPTS)/1.1,scale=-720:-1" -af atempo=1.1 -c:a aac -b:a
> 64k -ac 2 -ar 44100 -threads 2 -f mp4 output.mp4
> I tried using a semi-column instead of a comma to separate the two
> parameters in vf, but ffmpeg doesn't accept it.
> Thank you.
> ffmpeg version N-109165-g9f5a9a7499-20221122 Copyright (c) 2000-2022
> the FFmpeg developers
More information about the ffmpeg-user