Commit 0781bee1 authored by Booloki's avatar Booloki

Fix another wrong variables

parent 7b1db328
Pipeline #59 passed with stage
in 17 seconds
......@@ -110,7 +110,7 @@ video_rip () {
${VIDEO_SKIP} \
-vf pp=ci,crop="${VIDEO_CROP}${MENCODER_SCALE}" \
-ovc x264 -x264encopts \
bitrate="${VIDEO_BITRATE}":frameref="${VIDEO_X264_FRAMEREF_PASS2}":mixed_refs:bframes="${VIDEO_X264_BFRAMES_PASS2}":b_adapt:b_pyramid=strict:weight_b:partitions=all:8x8dct:me=umh:subq=$"{VIDEO_X264_SUBQ_PASS2}":trellis="${VIDEO_X264_TRELLIS_PASS2}":threads="${VIDEO_X264_THREADS}":pass=2:log=1 \
bitrate="${VIDEO_BITRATE}":frameref="${VIDEO_X264_FRAMEREF_PASS2}":mixed_refs:bframes="${VIDEO_X264_BFRAMES_PASS2}":b_adapt:b_pyramid=strict:weight_b:partitions=all:8x8dct:me=umh:subq="${VIDEO_X264_SUBQ_PASS2}":trellis="${VIDEO_X264_TRELLIS_PASS2}":threads="${VIDEO_X264_THREADS}":pass=2:log=1 \
-nosound -nosub
fi
fi
......
......@@ -681,14 +681,14 @@ M2TS )
--auto-close
# extract informations from associated mpls or clpi file
MPLS_FILE_PATH="${M2TS_FILE_PATH//m2ts$/mpls}"
MPLS_FILE_PATH="${M2TS_FILE_PATH/%m2ts/mpls}"
check_mediainfo
if [ -f "${MPLS_FILE_PATH}" ]; then
mediainfo --Language=raw --LogFile=M2TS-mediainfo.info "${MPLS_FILE_PATH}" 1>/dev/null
if [[ "${DEBUG}" == "1" ]]; then echo "DEBUG M2TS-mediainfo.info extracted from mpls file"; fi
else
if [[ "${DEBUG}" == "1" ]]; then echo "DEBUG no associated mpls file found"; fi
CLPI_FILE_PATH="${M2TS_FILE_PATH//m2ts$/clpi}"
CLPI_FILE_PATH="${M2TS_FILE_PATH/%m2ts/clpi}"
if [ -f "${CLPI_FILE_PATH}" ]; then
mediainfo --Language=raw --LogFile=M2TS-mediainfo.info "${CLPI_FILE_PATH}" 1>/dev/null
if [[ "${DEBUG}" == "1" ]]; then echo "DEBUG M2TS-mediainfo.info extracted from clpi file"; fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment