diff options
Diffstat (limited to 'abs/core/LinHES-system/myth2mkv')
-rw-r--r-- | abs/core/LinHES-system/myth2mkv | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/abs/core/LinHES-system/myth2mkv b/abs/core/LinHES-system/myth2mkv index 1352476..51a0c9b 100644 --- a/abs/core/LinHES-system/myth2mkv +++ b/abs/core/LinHES-system/myth2mkv @@ -93,7 +93,7 @@ fi check_background_progress() # check handbrake progress in background { -while [ `tail -2 ${STATUSFILE} | grep -c "^HandBrake has exited"` = 0 ] +while [ ! -f ${HB_RETURN_CODE} ] do sleep 15 check_myth_jobcmds @@ -197,19 +197,19 @@ if [[ ${QUALITY} = HP ]] ; then if [[ -n ${CROP} ]] ; then CROP="--crop ${CROP}" else - CROP="--crop 0:0:0:0 --strict-anamorphic" + CROP="--crop 0:0:0:0 --auto-anamorphic" fi HB_OPTS="-o ${TMPFILE} -e x264 ${TUNING} -q 20.0 -a 1,1 -E copy:ac3,faac -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 --audio-copy-mask aac,ac3,dtshd,dts,mp3 --audio-fallback ffac3 -f mkv --decomb --loose-anamorphic --modulus 2 -m --x264-preset medium --h264-profile high --h264-level 4.1 ${CROP} -s 1" elif [[ ${QUALITY} = HQ ]] ; then if [[ -n ${CROP} ]] ; then CROP="--crop ${CROP}" else - CROP="--crop 0:0:0:0 --strict-anamorphic" + CROP="--crop 0:0:0:0 --auto-anamorphic" fi HB_OPTS="-o ${TMPFILE} -f mkv -m -e x264 ${TUNING} -x b-adapt=2:rc-lookahead=50 -b 5000 -2 -T ${WIDTH} ${HEIGHT} -r ${FPS} --cfr ${CROP} ${DEINT} -a 1 -E copy -s 1" else if [[ ${CROP} = "--crop 0:0:0:0" ]] ; then - CROP="${CROP} --strict-anamorphic" + CROP="${CROP} --auto-anamorphic" fi if [[ ${QUALITY} = LQ ]] ; then HB_OPTS="-o ${TMPFILE} -f mkv -m -e x264 ${TUNING} -b 1250 ${WIDTH} ${HEIGHT} -r ${FPS} --pfr ${CROP} ${DEINT} -a 1 -E lame -B 128 -Q 8 -6 stereo -s 1" |