All pastes #609874 Raw Edit

Stuff

public shellscript v1 · immutable
·published 2007-07-09 03:31 UTC
rendered paste body
Index: tovid===================================================================--- tovid	(revision 2163)+++ tovid	(working copy)@@ -870,6 +870,16 @@ # Sanity checks # # ******************************************************************************+if [[ $TGT_RES = *VCD* && $TGT_RES != "DVD-VCD" ]]; then+    if ! $USE_FFMPEG || $DO_NORM; then+        yecho+        yecho "Sorry, for $TGT_RES output, mpeg2enc encoding and normalizing have been disabled"+        yecho "Setting new options for you"+        yecho+        sleep 10+        USE_FFMPEG=: && DO_NORM=false+    fi+fi  # Can't do -subtitles with -ffmpeg; if both were used, print error and exit # TODO: Support subtitles in ffmpeg!