‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Thursday, April 9, 2020 1:00 PM, Peter van den Houten <peter...@gmail.com> wrote: >
> Try: > > ffmpeg -i video.MTS -vf scale=720:-2 -c:v libx264 -crf 20 -c:a copy -y > padded.MTS > > Change -crf 20 up or down to suit quality and/or file size. > > Regards > Peter Yes I noticed that, the problem with this is that I want my script to be as general as possible so I don't know in advance which dimension has to be scaled. Cheers
publickey - mail-login+ffmpeg@protonmail.com - 0xF3A8BCD0.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
_______________________________________________ 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".