Please ignore
I wrongly had an extra "-" to set the horizontal size:
-vf "setpts=(PTS-STARTPTS)/1.1,scale=-720:-1"
On 08/01/2023 13:46, Gilles wrote:
Hello,
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
1280x720:
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
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".