[FFmpeg-user] Videofilter scaling is not resizing

Kieran O Leary kieran.o.leary at gmail.com
Fri Sep 30 01:50:21 EEST 2016


Hi

On Thursday, 29 September 2016, Chaes Heath <gamedazed at gmail.com> wrote:

> I've got a folder of 1080p videos that I'm wanting to encode in 720p. I'm
> using the below command to do so:
>
> *for i in `ls`; do ffmpeg -y -i $i  -vf scale=-1:720,setsar=1:1 -vf
> subtitles=$i -crf 25 -trellis 2 -tune animation -preset veryslow -c:a copy
> -f mp4 ../destination/720p/$i.mp4; done*
>
>
You have two separate -vf calls. Use just one. I can't test now,but
something like  this should work -vf scale=-1:720,setsar=1:1,subtitles=$i


More information about the ffmpeg-user mailing list