DVD Writing

Terry Kemp tkemp at mer-med.com
Mon Aug 22 20:39:59 UTC 2005


On Mon, 2005-08-22 at 11:59 +0200, Danie Thom wrote:
> Hi Guys
> 
> I am quite new to Fedora, and I just want to find out 2 things about DVD
> writing in FC...
> 
> Are there any applications available that will allow you to copy DVD's
> (I used to work with CloneDVD on Windows XP)
> I tried to watch a DVD with the Totem player.  I got an error message
> that complained about my URI.
> 
> Can anyone point me in the right direction?
> 
> Thanks
> Danie

Here is a script I use for shrinking DVDs. Needs some work but you
should get the idea. You will need to d'load vobcopy, tcextract etc.

#! /bin/bash
cd /video
pwd
echo "Ripping DVD"
vobcopy -l /dev/hda -t movie
echo "Extracting Video"
tcextract -i movie*-1.vob -t vob -x mpeg2 > movie.m2v
echo "Extracting Audio"
tcextract -i movie*-1.vob -t vob -x ac3 -a 0 > movie.ac3
echo "Calculating Shrink Ratio"
rm movie*-1.vob
echo "Calculating Shrink Ratio"
M1=$(ls -l movie.m2v | awk '{ print $5 }')
M2=$(ls -l movie.ac3 | awk '{ print $5 }')
M3=$(echo 4600000000 - $M2 | bc)
M4=$(echo "scale = 2; $M1 / $M3 * 1.04" | bc)
echo "Movie size =" $M1
echo "Sound size =" $M2
echo "Blank - Sound size =" $M3
echo "Scale Factor =" $M4
echo "Shrinking For DVD-5"
tcrequant -i movie.m2v -o shrink.m2v -f $M4
echo "Deleting Video File"
rm movie.m2v
echo "Re-combining Video and Audio"
mplex -f 8 -o movie%d.mpg shrink.m2v movie.ac3
echo "Deleting Video File"
rm shrink.m2v
echo "Deleting Audio File"
rm movie.ac3
echo "Authoring DVD..."
dvdauthor -o output -x dvd.xml





More information about the fedora-list mailing list