This is an old revision of the document!


Helper Scripts

This is just a collection of little scripts.

dumpchapters

#!/bin/sh
if [[ -n $1 ]]; then
	dvdxchap /dev/dvd -t ${1} > chapters.txt
else
	dvdxchap /dev/dvd > chapters.txt
fi

dumpsub

#!/bin/sh
CHAPTERS=""
if [[ ! -z $2 ]]; then
	CHAPTERS="-chapter ${2}"
	if [[ ! -z $3 ]]; then
		CHAPTERS="-chapter ${2}-${3}"
	fi
fi
echo mencoder dvd://${1} -ovc copy -nosound -vobsubout movie -o /dev/null -slang en -quiet ${CHAPTERS}

Navigation