Aquire Sources
DV to dvd
Encoding for DVD (MPEG-2)
Important Informations:
Bitrates
maximum bitrate of DVD video/audiostream should be below: 10080 kbps The videostream itself below 9800 kbps !
Video/Audio Formats for DVD:
- MPEG-2 / MP2
- MPEG-2 / AC3
- MPEG-2 / PCM (uncompressed)
Video Frame sizes:
- 720x480 (NTSC) or 720x576 (PAL)
- 352x480 (NTSC) or 352x576 (PAL)
- 352x240 (NTSC) or 352x288 (PAL)
Encoding with ffmpeg
ffmpeg -i source_movie.avi -target pal-dvd 4dvd.mpg
Encoding the Video-Track
ffmpeg -i source_movie.avi -b 8000 -an 4dvd-video.m2v transcode -i .source_movie.avi -y mpeg2enc,null --export_prof dvd-pal /
--export_fps 25 -F 8 -Z 720x576 -o 4dvd-video.m2v
Encoding the Audio-Track
ffmpeg -i source_movie.avi -vn -ab 384 4dvd-audio.mp2
Multiplexing Audio & Video
mplex -f 8 4dvd-audio.mp2 4dvd-video.m2v -o 4dvd-complete.mpg
Generating DVD file structure
mkdir dvd
1. using dvdauthor to add 1 (or more single movies):
dvdauthor -o dvd 4dvd-complete.mpg dvdauthor -o dvd -T
2. using dvdauthor XML-Config file:
simple-sample.xml
<dvdauthor dest="dvd"> <vmgm /> <titleset> <titles> <pgc> <vob file="4dvd-complete.mpg"/> <post>jump chapter 1;</post> </pgc> </titles> </titleset> </dvdauthor>
then:
dvdauthor -o dvd -x simple-sample.xml dvdauthor -o dvd -T
Burning the DVD
use k3b
use k3b burn the DVD-filestructure to DVD
Manually:
- create ISO image
mkisofs -dvd-video -udf -o dvd.iso dvd/ - burn generated ISO-image
growisofs -Z /dev/scd0=dvd.iso