Le 10/02/2016 14:32, Martin McCormick a écrit :

Unless something totally unexpected happens, handbreakcli will be
the tool of choice.


this script is the one I use, and it's able to produce html5/mp4 good quality video, readable approximately with every browser (not always with firefox)

#!/bin/bash
# echo usage: movtomp4-html5.sh *.MOV

mkdir html5

for a ; do
        b=`echo "$a" | cut -d'.' -f1` ;

#(on only one line:)

HandBrakeCLI -i "$a" -t 1 --angle 1 -c 1 -o "html5/$b.mp4" -f mp4 -O -w 960 --crop 0:0:0:0 --loose-anamorphic --modulus 2 -e x264 -q 22 -r 30 --pfr -a 1 -E av_aac -6 dpl2 -R Auto -B 160 -D 0 --gain 0 --audio-fallback ac3 --encoder-level="3.1" --encoder-profile=high --verbose=1



done
exit


Reply via email to