last update 20051102
Introduction
Copying the dvd onto the hard drive
Playing the dvd image [iso] from the hard drive
Mounting image of copied dvd & selecting/copying contents
Encoding [compressing] video files [.vob] to mpeg4
Editing video files [.vob] under Cinelerra
Copying the dvd onto the hard drive
Playing the dvd image [iso] from the hard drive
Mounting image of copied dvd & selecting/copying contents
Encoding [compressing] video files [.vob] to mpeg4
Editing video files [.vob] under Cinelerra
Introduction
- when in a rush, copy image of the dvd onto the hard drive for later ripping
- consider using 'dvdrip' if you don't plan editing video footage [easier & faster]
- despite compressing options after ripping, dvdrip will only allow copies to cdrs [not to dvds] - this is a great pity and that's why you may need info from this page
Copying the dvd onto the hard drive
- i.e. make a physical copy [including protection measures, scratches, dust, etc]
dd if=/dev/dvd of=/home/user/dvd_film.iso bs=2048
Playing the dvd image [iso] from the hard drive
- watch dvd_film.iso with xine
- watch dvd_film.iso with mplayer
xine dvd:///home/user/dvd_film.iso
mplayer dvd://
mplayer dvd://1 -dvd-device /path/to/directory/ or man mplayer | grep dvd
Mounting image of copied dvd & selecting/copying contents
- mounting image
- selecting [i.e. copying] video files
- umounting & removing image
mkdir /mnt/dvd_film mount dvd_film.iso /mnt/dvd_film -t iso9660 -o loop
mkdir /home/user/dvd_film_files2encode cd /mnt/dvd_film/video_ts/ cp *vob /home/user/dvd_film_files2encode/ cd /home/user/dvd_film_files2encode/ ls -sh [to check contents & size]
umount dvd_film.iso rmdir /mnt/dvd_film rm /home/user/dvd_film.iso
Encoding [compressing] video files [.vob] to mpeg4
- use transcode
transcode -y ffmpeg -F mpeg4 -w 2000,120,90 \ -C 3 -I 5 -Q 5 -R 1 \ -J unsharp,hqdn3d,smooth=0.3 \ --encode_fields b \ -i vts_01_0.vob -o film_m4v.avi
Editing video files [.vob] under Cinelerra
- WARNING: you needn't copy files nor umount & remove image of the dvd_film.iso as described above
- using mpeg3toc [comes with cinelerra]
- note: do so for each .ifo file
video_ts.ifo may produce an error message - launch cinelerra
- load dvd.toc
[select 'replace project & concatenate tracks' if relevant]
mpeg3toc -v /mnt/dvd_film/video_ts/vts_01_0.ifo /home/user/dvd_film_files2encode/dvd1.toc mpeg3toc -v /mnt/dvd_film/video_ts/vts_02_0.ifo /home/user/dvd_film_files2encode/dvd2.toc mpeg3toc -v /mnt/dvd_film/video_ts/vts_03_0.ifo /home/user/dvd_film_files2encode/dvd3.toc [...]