Thanks! That looks like a usefull script. Is it ok if i give it to someone else i know who also need such a thing? I'll give you proper credit.
By the way, i found out why there where crashes in DVDstyler - two reasons: 1. Problem with newer versions of mjpegtools (this is fixed in livna rpm's) https://bugzilla.livna.org/show_bug.cgi?id=904 http://dvdstyler.sourceforge.net/wiki/FAQMjpegtoolsError?show_comments=1#comments 2. Problem with mpgtx (the multiplexing/demultiplexing backend program). Apparently this is ivtv-specific. There does exist a patch, but i don't know how to apply it. It would probably be best to add it to the srpm and then rebuild, tough... https://bugzilla.livna.org/show_bug.cgi?id=913 https://sourceforge.net/tracker/index.php?func=detail&aid=1107095&group_id=22678&atid=376138 Perhaps recording with AC3 instead of mp2 would do it? I think ivtv supports it, and standard comercial DVD-players does as well, doesn't they? Is there any easy-to-use mpeg2 editor for linux out there? I have tried cinelerra, but i really don't understand much of it. All i really need to do is to cut out unwanted parts of the recordings before comitting it to dvd (to long recordings ie. 30 minutes of tape static, jacket lining recordings etc.) --- Kyrre man, 10.04.2006 kl. 23.34 skrev Richard Hendershot: > If all you want is a DVD that you can play in your home consumer DVD > player and you don't care about chapters and titles, then here's what I > do. > > Move 2 to 4 recordings (2 hours of broadcast time total) into a > directory. execute the following script from that directory. It > creates a DVD subdirectory from which I can easily add into k3b and burn > to a video DVD. It's based on a script available online for mythtv. > > HTH, > -rsh > > --- > #!/bin/bash > > DIR="DVD" > > function convert_mp2() > { > #return 0 > nice -n19 mpeg2desc -a0 < "$1" > aud0 & > nice -n19 mpeg2desc -v0 < "$1" > vid0 & > nice -n19 mplex -f 8 -V -o dvdmpg aud0 vid0 & > nice -n19 dvdauthor -o "$2" -f dvdmpg && > nice -n19 dvdauthor -o "$2" -T > } > > function convert_avi() > { > #return 0 > #nice -n19 movie-to-dvd -m ntsc -M -o "$2" "$1" > > nice -n19 movie-to-dvd -m ntsc -M "$1" && > nice -n19 dvdauthor -o "$2" -f "${1%.*}".vob && > nice -n19 dvdauthor -o "$2" -T > > if [ -a "${1%.*}".vob ]; then rm "${1%.*}".vob; fi > } > > function convert_wmv() > { > echo "cannot handle variable fps files in mkdvd ($1)" > return 0 > mencoder "$1" -o "${1%.*}".avi -ovc lavc -oac lavc > /dev/null > } > > ##################### > if [ -d $DIR ]; then rm -fr $DIR; fi > if [ -p aud0 ]; then rm aud0; fi > if [ -p vid0 ]; then rm vid0; fi > if [ -p dvdmpg ]; then rm dvdmpg; fi > > for val in *.wmv > do > echo ____________________________ > echo converting $val to AVI > echo ............................. > if [ -f "$val" ]; then convert_wmv "$val" "$DIR"; fi > echo ............................. > done > > for val in *.avi > do > echo ____________________________ > echo adding $val to $DIR > echo ............................. > if [ -f "$val" ]; then convert_avi "$val" "$DIR"; fi > echo ............................. > done > > mkfifo aud0 > mkfifo vid0 > mkfifo dvdmpg > > for val in *.mpg *.nuv > do > echo ............................. > echo adding $val to $DIR > if [ -f "$val" ]; then convert_mp2 "$val" "$DIR"; fi > echo ............................. > done > > rm aud0 > rm vid0 > rm dvdmpg > ##################### > > > On Mon, 2006-04-10 at 17:17 +0100, Trev Jackson wrote: > > Hi Kyrre > > > > I hope this helps, this is way I do it: > > > _______________________________________________ > ivtv-users mailing list > [email protected] > http://ivtvdriver.org/mailman/listinfo/ivtv-users _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
