Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 126994 | Differences between
and this patch

Collapse All | Expand All

(-)any2vob-0.36_beta-r2.sh (-1 / +6 lines)
Lines 237-242 Link Here
237
--skip_comm=[yes|no]			Skip commercials for MythTV recorded video			(Default: No)
237
--skip_comm=[yes|no]			Skip commercials for MythTV recorded video			(Default: No)
238
--mpegts_allpids=[yes|no]               Encode all PIDs from MPEG-TS capture files      		(Default: No (First PID only))
238
--mpegts_allpids=[yes|no]               Encode all PIDs from MPEG-TS capture files      		(Default: No (First PID only))
239
--overscan=[0-100]			Percentage value to pad screen border ('3.5' is a good start)	(Default: None)
239
--overscan=[0-100]			Percentage value to pad screen border ('3.5' is a good start)	(Default: None)
240
--vid_bitrate=[3000-5000]               Video Bitrate in kbps to encode to (Below 3000 is pretty poor quality and --compress=yes halves this)   (Default: 5000)
240
--encode_args=["..."]			Extra encoding command-line options to pass to Transcode	(Default: None)
241
--encode_args=["..."]			Extra encoding command-line options to pass to Transcode	(Default: None)
241
--preformat=[yes|no]			Force files through Mencoder first before Transcoding		(Default: No)
242
--preformat=[yes|no]			Force files through Mencoder first before Transcoding		(Default: No)
242
-j [movie_title=file1.avi file2.avi]	Movie title followed by files to join
243
-j [movie_title=file1.avi file2.avi]	Movie title followed by files to join
Lines 294-299 Link Here
294
		--mpegts_allpids=yes) shift; MPEGTS_PIDS="yes" ;;
295
		--mpegts_allpids=yes) shift; MPEGTS_PIDS="yes" ;;
295
		--mpegts_allpids=no) shift; MPEGTS_PIDS="no" ;;
296
		--mpegts_allpids=no) shift; MPEGTS_PIDS="no" ;;
296
		--overscan=*) OVERSCAN=`echo $1 | sed 's/=/ /' | awk '{print $2}' | sed 's/%//g'`; shift ;;
297
		--overscan=*) OVERSCAN=`echo $1 | sed 's/=/ /' | awk '{print $2}' | sed 's/%//g'`; shift ;;
298
		--vid_bitrate=*) VID_BITRATE=`echo $1 | sed 's/=/ /' | awk '{print $2}' | sed 's/%//g'`; shift ; if [ "$COMPRESS" = "yes" ]; then VID_BITRATE=`perl -le "print int($VID_BITRATE / 2)"` ; fi ;;
297
		--encode_args=*) ENCODE_ARGS=`echo $1 | awk -F"--encode_args=" '{for(i=1;i<=NF;i++) print $i }' | sed '$!N;s/\n//'`; shift ;;
299
		--encode_args=*) ENCODE_ARGS=`echo $1 | awk -F"--encode_args=" '{for(i=1;i<=NF;i++) print $i }' | sed '$!N;s/\n//'`; shift ;;
298
		--preformat=yes) PREFORMAT_FRC="yes"; shift ;;
300
		--preformat=yes) PREFORMAT_FRC="yes"; shift ;;
299
		--calc) shift; CALC="yes" ;;
301
		--calc) shift; CALC="yes" ;;
Lines 360-366 Link Here
360
if [ "$WORKDIR" = "tmp_any2dvd" ] && [ ! -d "tmp_any2dvd" ]; then mkdir tmp_any2dvd; fi
362
if [ "$WORKDIR" = "tmp_any2dvd" ] && [ ! -d "tmp_any2dvd" ]; then mkdir tmp_any2dvd; fi
361
if [ ! -d "$WORKDIR" ]; then
363
if [ ! -d "$WORKDIR" ]; then
362
	errmsg Error: Directory \""$WORKDIR"\" does not exist!
364
	errmsg Error: Directory \""$WORKDIR"\" does not exist!
363
	exit
365
        echo -n "Shall I create it for you? (yes/no): "
366
        read answer
367
        [ "$answer" != "yes" ] && rm "$LOCKFILE" &> /dev/null && exit
368
        mkdir -p $WORKDIR
364
fi
369
fi
365
if [ "$FORMAT" = "ntsc" ]; then
370
if [ "$FORMAT" = "ntsc" ]; then
366
	FPS="29.970"; FPS_CODE="4"; SUB_HEIGHT="480"; HEIGHT="480"
371
	FPS="29.970"; FPS_CODE="4"; SUB_HEIGHT="480"; HEIGHT="480"

Return to bug 126994