digital adj. Having digits.     peer n. A comrade; a companion; a fellow; an associate. inmotion    
   
Recent Articles
Stop DNSMasq From Forwarding Local Hostnames
Saturday, September 25, 2010
Securing your Wireless LAN
Wednesday, August 18, 2010
Some tips and things you might not know about your wireless network.
Using Different Subversion Client Versions
Wednesday, August 18, 2010
Handling a Subversion Repository URL Change
Sunday, May 3, 2009
If your repository URL changes, you can use the following command to fix existing snapshots.
vfat Mounts Default to Lowercase Shortnames
Tuesday, April 21, 2009
I want a "this is brain-damage" quote from Linus for this mess.
VirtualBox or VMWare Virtual Machine at Login
Sunday, April 12, 2009
How to start a virtual machine in X when a user logs in.
Dialog Progress Bar Through Pipe
Sunday, April 12, 2009
How to use dialog to display a script progress bar and communicate progress to it through a named pipe.
Mount JFFS2 Image
Saturday, October 25, 2008
Example of how to mount a JFFS2 image using mtdblock.

Join the army, meet interesting people, and kill them.

Sys Admin-Linux...-General Tips-Burning CDs...

Burning CDs and DVDs in Linux

Friday, June 11, 2004 by digitalpeer

To burn a data DVD run this:
growisofs -Z /dev/cdrom -J -R -T -V <volume_name> <filename>

To burn a CD ISO run this:
cdrecord -v speed=12 fs=20m -dao dev=2,0,0 <filename>.iso

To burn a data CD run this:
mkisofs -r file | cdrecord dev=0,0,0 -v --eject speed=12 -

Use this to list available devices:
cdrecord -scanbus

Copy a video DVD:
#!/bin/sh

rm -f dvdauthor.xml

cat > dvdauthor.xml <<EOF
<dvdauthor dest="dvd">
<vmgm />
<titleset>
<titles>
<pgc>
<vob file="dvd_movie.mpg" chapters="0,0:30,1:00,1:30,2:30,3:00,3:30,4:00"/>
</pgc>
</titles>
</titleset>
</dvdauthor>
EOF

vobcopy -l &&
transcode -i *.vob -y ffmpeg --export_prof dvd-ntsc --export_asr 3 -o movie -D0 -s2 
    -m movie.ac3 -J modfps=clonetype=3 --export_fps 29.97 &&
mplex -f 8 -o dvd_movie.mpg movie.m2v movie.ac3 &&
dvdauthor -x dvdauthor.xml &&
mkisofs -dvd-video -udf -o dvd.iso dvd/

RETVAL=$?

rm -f dvdauthor.xml

exit $RETVAL

This will find the main title and create a new DVD iso with 1 title and no menu.
Comment Monday, September 26, 2005 by  genspider@hotmail.com
how do you convert mpeg to dvd

Submit Comment to This Article
Please post a comment if you have something to add, find something wrong, or would like more information on the topic at hand. Do not use the comment form to contact the author about unrelated concerns!

Name: Email (optional):
Enter verification number here: