Remove flv encode, add presets to repo, remove audio from mp4 pass1

master
ehashman 8 years ago
parent 9cb6612efc
commit c7393c9216
  1. 2
      encode.sh
  2. 22
      libx264-slow.ffpreset
  3. 22
      libx264-slow_firstpass.ffpreset
  4. 5
      make-mp4.sh

@ -42,7 +42,7 @@ TIC=`date +%s`
# broken
# Job5: flv
./make-flv.sh $1 $2 &
#./make-flv.sh $1 $2 &
wait

@ -0,0 +1,22 @@
coder=1
flags=+loop
cmp=+chroma
partitions=+parti8x8+parti4x4+partp8x8+partb8x8
me_method=umh
subq=8
me_range=16
g=250
keyint_min=25
sc_threshold=40
i_qfactor=0.71
b_strategy=2
qcomp=0.6
qmin=10
qmax=51
qdiff=4
bf=3
refs=5
directpred=3
trellis=1
flags2=+bpyramid+mixed_refs+wpred+dct8x8+fastpskip+mbtree
wpredp=2

@ -0,0 +1,22 @@
coder=1
flags=+loop
cmp=+chroma
partitions=-parti8x8-parti4x4-partp8x8-partb8x8
me_method=dia
subq=2
me_range=16
g=250
keyint_min=25
sc_threshold=40
i_qfactor=0.71
b_strategy=2
qcomp=0.6
qmin=10
qmax=51
qdiff=4
bf=3
refs=1
directpred=3
trellis=0
flags2=+bpyramid-mixed_refs+wpred-dct8x8+fastpskip+mbtree
wpredp=2

@ -7,13 +7,14 @@ TIC=`date +%s`
$ffmpeg -i $1 -v -1 -y $ffmpegopts -strict experimental \
-pass 1 -threads 0 -y \
-vcodec libx264 -f mp4 -b "$V_BIT_RATE" -bt "$V_BIT_RATE" \
-vpre slow_firstpass \
-fpre ./libx264-slow_firstpass.ffpreset \
-an \
"encodes/$2-first.mp4"
$ffmpeg -i $1 -v -1 -y $ffmpegopts -strict experimental \
-pass 2 -threads 0 \
-vcodec libx264 -f mp4 -b "$V_BIT_RATE" -bt "$V_BIT_RATE" \
-vpre slow \
-fpre libx264-slow.ffpreset \
-acodec aac -ac 1 -ab "$A_BIT_RATE" \
"encodes/$2.mp4"

Loading…
Cancel
Save