1

I have this avconv command:

avconv -i file -s [new size options] -vf "[filters]" /root/converted/1.mp4

Avconv uses the -vf filters before the -s scaling, but I need one avconv command to:

  1. Resize video first
  2. Use filters second

How can I do it?

llogan
  • 59,497
Alex
  • 173

1 Answers1

3

Create a chain of filters, where you add a scale filter in the first part of the filter. E.g.:

avconv -i file -vf "scale=w=1920h=1080, [filter B], [filter C]" /root/converted/1.mp4
Omega
  • 795
  • Ah yes, that's the right avconv method. FFmpeg uses scale=1920x1080, so I changed that in my answer. – Omega Apr 12 '13 at 08:13