User Tools

Site Tools


dvdavi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dvdavi [2012/02/19 21:33] memeruizdvdavi [2021/02/01 05:55] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== DVD to avi with multiple audio tracks and subtitles ====== ====== DVD to avi with multiple audio tracks and subtitles ======
 +
 +  * Copy Dvd to harddrive if possible
 +
 +  vobcopy -m -i /media/cdrom0/ -o . 
  
   * Get chapter information   * Get chapter information
Line 25: Line 29:
   * Encoding first pass:   * Encoding first pass:
  
-  mencoder -nosub dvd://1//dev/sr0 -vf pullup,softskip,crop=704:560:12:6,harddup -nosound  -ovc x264 -x264encopts bitrate=1300:subq=5:bframes=3:b_pyramid=normal:turbo=1:pass=1 -of rawvideo -o movie.264+  mencoder -nosub dvd://1//dev/sr0 -vf pullup,softskip,crop=704:560:12:6,harddup -nosound  -ovc x264 -x264encopts bitrate=1000:subq=5:bframes=3:b_pyramid=normal:turbo=1:pass=1 -of rawvideo -o movie.264
  
   * Enconding second pass:   * Enconding second pass:
  
-  mencoder -nosub dvd://1//dev/sr0 -vf pullup,softskip,crop=704:560:12:6,harddup -nosound -ovc x264 -x264encopts bitrate=1100:subq=5:8x8dct:frameref=2:bframes=3:b_pyramid=normal:weight_b:pass=2 -of rawvideo -o movie.264+  mencoder -nosub dvd://1//dev/sr0 -vf pullup,softskip,crop=704:560:12:6,harddup -nosound -ovc x264 -x264encopts bitrate=1000:subq=5:8x8dct:frameref=2:bframes=3:b_pyramid=normal:weight_b:pass=2 -of rawvideo -o movie.264
  
   * Get audio   * Get audio
  
   mkfifo audiodump.pcm   mkfifo audiodump.pcm
-  mplayer dvd://1//dev/sr0 -aid 129 -ao pcm:fast:nowaveheader -channels 6 & faac -b 256 -q 100 -P -R 48000 -C 6 -X audiodump.pcm -o audio129.aac+  mplayer -vo null dvd://1//dev/sr0 -aid 129 -ao pcm:fast:nowaveheader:file=audiodump.pcm -channels 6 & faac -b 256 -q 100 -P -R 48000 -C 6 -X audiodump.pcm -o audio129.aac
   rm audiodump.pcm   rm audiodump.pcm
  
-  * Use mmg to merge audio129.aac, movie.264, sub.en.idx, sub.en.srt+  * Use mmg to merge audio129.aac, movie.264, sub.en.idx, sub.en.srt, chapters.txt 
 +  * An example mkvmerge: 
 + 
 +  "mkvmerge" -o "/home/memeruiz/dvdrip-data/movie3.mkv"  "--track-name" "0:video" "--forced-track" "0:no" "--aspect-ratio" "0:1.79" "--default-duration" "0:25fps" "-d" "0" "-A" "-S" "-T" "--no-global-tags" "--no-chapters" "/home/memeruiz/dvdrip-data/movie.264" "--language" "0:eng" "--track-name" "0:en vobsub" "--forced-track" "0:no" "-s" "0" "-D" "-A" "-T" "--no-global-tags" "--no-chapters" "/home/memeruiz/dvdrip-data/sub.en.idx" "--language" "0:eng" "--track-name" "0:en srt" "--forced-track" "0:no" "-s" "0" "-D" "-A" "-T" "--no-global-tags" "--no-chapters" "/home/memeruiz/dvdrip-data/test.srt" "--language" "0:ger" "--track-name" "0:de vobsub" "--forced-track" "0:no" "-s" "0" "-D" "-A" "-T" "--no-global-tags" "--no-chapters" "/home/memeruiz/dvdrip-data/sub.de.idx" "--language" "0:ger" "--track-name" "0:de srt" "--forced-track" "0:no" "-s" "0" "-D" "-A" "-T" "--no-global-tags" "--no-chapters" "/home/memeruiz/dvdrip-data/sub.de.srt" "--language" "0:eng" "--track-name" "0:en audio" "--forced-track" "0:no" "-a" "0" "-D" "-S" "-T" "--no-global-tags" "--no-chapters" "/home/memeruiz/dvdrip-data/audio129.aac" "--language" "0:ger" "--track-name" "0:de audio" "--forced-track" "0:no" "-a" "0" "-D" "-S" "-T" "--no-global-tags" "--no-chapters" "/home/memeruiz/dvdrip-data/audio128.aac" "--track-order" "0:0,1:0,2:0,3:0,4:0,5:0,6:0" "--chapters" "/home/memeruiz/dvdrip-data/chapters.txt"
  
   * The correct mapping for a 4 channel sound card it's given by: (This adds the center channel to the two front channels    * The correct mapping for a 4 channel sound card it's given by: (This adds the center channel to the two front channels 
Line 44: Line 51:
  
   * For testing that everything is fine: {{:test_ac3_v2.0.avi|}}   * For testing that everything is fine: {{:test_ac3_v2.0.avi|}}
- 
- 
dvdavi.1329687200.txt.gz · Last modified: 2021/02/01 05:55 (external edit)