[FFmpeg-user] Fwd: linux ubuntu - batch list commande - two pass

Libre Curk libre at florentcurk.com
Wed Sep 23 14:13:17 EEST 2020

Hey !

I'd like to get the full power of the VP9, but I need to use batch list 
to not lose anytime.
*Basicly how to batch 2 pass encoding with a command ?**
Actually, I'm doing like so for my proxy and 1 pass :

  * for f in *.MOV ; do ffmpeg -i "$f" -c:v prores -profile:v 0 -c:a
    copy proxy/"${f%.*}.MOV; done

So I tried :

  * for f in *.mxf; do ffmpeg -i "$f" -c:v libvpx-vp9 -b:v 2M -pass 1
    -an -f null /dev/null && \
  * ffmpeg -i "$f" -c:v libvpx-vp9 -b:v 2M -pass 2 -c:a libvorbis
    proxy/"${f%.*}.webm"; done

But it's kinda not working there... Any help / solution ?

King regards !

More information about the ffmpeg-user mailing list