View previous topic :: View next topic |
Author |
Message |
Hidalgo n00b

Joined: 18 Oct 2005 Posts: 32
|
Posted: Wed Jan 04, 2006 2:02 am Post subject: DVD::RIP... How to transcode? |
|
|
Hello all,
I tried to rip a DVD using this HOWTO: http://gentoo-wiki.com/HOWTO_DVD-Ripping.
I configured dvd::rip and I ripped the longest track (I didn't the first track, even though the howto says that is to be ripped, because my dvd::rip said that there might be a problem since the track is 10 thousands frames, but only one is being ripped...). Anyhow the longest track is gone; vob files were stored in the tmp directory I chose, I configured the tab clip & zoom, the subtitles one and... here we are in the transcode.
I used the OGG container and xvid4 (choosing options as said in the howto). I used 3 x700 MB targets media, and choose MP3 (or Vorbis, I had many tries...). The "Calculate Storage" said that there are about 1800 MB of video and 200 of audio. Then I clicked on TRANSCODE (and in other tries on Transcode + Split)... It started encoding, and it took hours (2-3 hours).
While encoding, I used the shell command "df"... and as far as I saw, only a fhew megabytes of hard disk were being used... and in the end (100% done), there is ony one file.ogg, 150 megabytes long, and if I try to play it, mplayer says "no video".
What's happening? Why there is no output?
Here is the last part of the log (something like a fhew moments before starting transcoding, and using divx5... I tried them all.):
Job 'Transcoding video - title #1, single pass' failed.
Executed command: mkdir -m 0775 -p '/tmp/rip/wnd/tmp' && cd /tmp/rip/wnd/tmp && dr_exec transcode -H 10 -a 1 -x vob -i /tmp/rip/wnd/vob/001 -w 1439 -b 192,0,0 -s 1.231 --a52_drc_off --use_rgb -k -f 25 -j 55,5,55,5 -Y 4,0,2,0 -Z 720x406 -y divx5 -o /tmp/rip/wnd/avi/001/WakingNedDevine-001.avi --print_status 20 && echo DVDRIP_SUCCESS
Last output was:
transcode v0.6.14 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdread: Couldn't find device name.
libdvdread: Can't open file VIDEO_TS.IFO.
tc_memcpy: using mmxext for memcpy
[import_vob.so] v0.6.0 (2003-10-02) (video) MPEG-2 | (audio) MPEG/AC3/PCM | (subtitle)
[export_divx5.so] v0.1.8 (2003-07-24) (video) DivX 5.xx | (audio) MPEG/AC3/PCM
tc_memcpy: using mmxext for memcpy
tc_memcpy: using mmxext for memcpy
Audio: using new version
No Lame support available!
[transcode] warning : (encoder.c) audio export module error: init failed
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source /tmp/rip/wnd/vob/001 (ok)
[transcode] V: import format | MPEG-2 (V=vob|A=vob)
[transcode] V: AV demux/sync | (1) sync AV at initial MPEG sequence
[transcode] V: import frame | 720x576 1.25:1 encoded @ 16:9
[transcode] V: clip frame (<-) | 710x466
[transcode] V: zoom | 720x406 1.45:1 (Lanczos3)
[transcode] V: clip frame (->) | 720x400
[transcode] V: rgb2bgr | yes
[transcode] V: bits/pixel | 0.200
[transcode] V: decoding fps,frc | 25.000,0
[transcode] A: import format | 0x2000 AC3 [48000,16,2] 192 kbps
[transcode] A: export format | 0x55 MPEG layer-3 [48000,16,2] 192 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame | 7680 (7680.000000)
[transcode] A: adjustment | 0@1000
[transcode] A: rescale stream | 1.231
[transcode] V: IA32 accel mode | sse (sse 3dnowext 3dnow mmxext mmx asm C)
[transcode] V: video buffer | 10 @ 720x576
[import_vob.so] tccat -i "/tmp/rip/wnd/vob/001" -t vob -d 0 -S 0 | tcdemux -a 1 -x ac3 -S 0 -M 1 -d 0 | tcextract -t vob -a 1 -x ac3 -d 0 | tcdecode -x ac3 -d 0 -s 1.000000,1.000000,1.000000 -A 1
[import_vob.so] tccat -i "/tmp/rip/wnd/vob/001" -t vob -d 0 -S 0 | tcdemux -s 0x81 -x mpeg2 -S 0 -M 1 -d 0 | tcextract -t vob -a 0 -x mpeg2 -d 0 | tcdecode -x mpeg2 -d 0
[transcode] critical: failed to init encoder
sh: line 1: 24055 Broken pipe tccat -i "/tmp/rip/wnd/vob/001" -t vob -d 0 -S 0
24056 | tcdemux -s 0x81 -x mpeg2 -S 0 -M 1 -d 0
24060 | tcextract -t vob -a 0 -x mpeg2 -d 0
24061 | tcdecode -x mpeg2 -d 0
sh: line 1: 24051 Broken pipe tccat -i "/tmp/rip/wnd/vob/001" -t vob -d 0 -S 0
24052 | tcdemux -a 1 -x ac3 -S 0 -M 1 -d 0
24053 | tcextract -t vob -a 1 -x ac3 -d 0
24059 | tcdecode -x ac3 -d 0 -s 1.000000,1.000000,1.000000 -A 1
Any Ideas?
Use flags are exactly as requested in the howto...
P.S. The output is identical to another post, but I didn't solve adding encode, a52.... |
|
Back to top |
|
 |
Beetle B. Guru

Joined: 01 Mar 2003 Posts: 529
|
Posted: Wed Jan 04, 2006 6:23 am Post subject: |
|
|
Did you try some other codecs (video)? _________________ Beetle B.
Please update the table of equivalents.
A Firefox guide. |
|
Back to top |
|
 |
pigeon768 l33t

Joined: 02 Jan 2006 Posts: 683
|
Posted: Wed Jan 04, 2006 9:05 am Post subject: |
|
|
It should be ogm, not ogg. Ogm is the container for video, ogm is the derivative container for video. |
|
Back to top |
|
 |
Hidalgo n00b

Joined: 18 Oct 2005 Posts: 32
|
Posted: Wed Jan 04, 2006 11:52 am Post subject: |
|
|
Allright, using avi/ffmpeg it works... anyhow subtitles for avi must be hardcoded (that is... subtitle can't be removed), and avi bigger than 2 GB has got problems with audio desync. I think ogg/xvid4 should be the best... but it doesn't work.
As far as I saw, some packages (such as subtitleripper or media-video/xvid4conf) are softmasked on amd64 and I had to emerge them by hand, modifying packages.keywords... maybe there are other packages that were not emerged as dipendence by typing "emerge transcode dvdrip libdvdread libquicktime libmovtar".... but I cannot figure out wich ones since all guides I found only say that "dependencies will be satisfied by the emerge tool"  |
|
Back to top |
|
 |
Kryptonite n00b

Joined: 08 Jan 2006 Posts: 60 Location: London
|
Posted: Tue Jan 17, 2006 11:46 am Post subject: |
|
|
Hi..
I'm not quit sure what r u trying acheive by transcoding to ogg.. anyway I thought this might help..
If I want rip a retail dvd which I can't copy due to their large capacity, I use dvd::rip only to rip the movie title off the disk on to the hard drive. I do not clip and transcode using dvd::rip. I use the original VOB files saved on the disk.
The following command allows me to transcode the VOB files strait in to DVD compatible .m2v/.ac3 files.
Code: |
transcode -x vob -i /home/darsh/dvd_workshop/motorcycle_diaries/vob/003 -y ffmpeg --export_prof dvd-pal --export_asr 2 -o motorcycle_diaries -D0 -E 48000 -b 224 -s2 -m motorcycle_diaries.ac3 -J modfps --export_fps 25
|
If I want to transcode the VOB files in to an .AVI file with out loosing original picture size (widht and hight, when u pre-clip the movie becomes smaller) I use this.
Code: |
transcode -H 10 -a 0 -x vob -i /home/darsh/dvd_workshop/motorcycle_diaries/vob/003 -w 1713 -b 128,0,0 --a52_drc_off -f 25 -Y 12,0,12,0 -B 27,10,8 -y xvid -o /home/darsh/dvd_workshop/motorcycle_diaries/avi/003/motorcycle_diaries-003.avi
|
U could look up transcode man file to find out what these options does.. _________________ "it's not the bullets; beauty killed the beast" |
|
Back to top |
|
 |
Beetle B. Guru

Joined: 01 Mar 2003 Posts: 529
|
Posted: Tue Jan 17, 2006 3:39 pm Post subject: |
|
|
wrote: | Allright, using avi/ffmpeg it works... anyhow subtitles for avi must be hardcoded (that is... subtitle can't be removed), and avi bigger than 2 GB has got problems with audio desync. |
Not really. If I use DVD Rip to rip the DVD and extract the subtitles, I can just use that subtitle file (Vobsub format) and don't need to hard code them.
As for sync problems, it only happens when you go over 2 GB? I'v occasionally had this problem, but for me everything works if I don't rip the DVD to HD but encode directly (using xvid4 and mp3).
Along with the other poster, I'm somewhat confused as to why you'd want such huge files? (And if sync is a problem, you can get DVD Rip to make multiple smaller files). _________________ Beetle B.
Please update the table of equivalents.
A Firefox guide. |
|
Back to top |
|
 |
beandog Bodhisattva


Joined: 04 May 2003 Posts: 2072 Location: /usa/utah
|
Posted: Tue Jan 17, 2006 8:18 pm Post subject: |
|
|
Hidalgo wrote: | Allright, using avi/ffmpeg it works... anyhow subtitles for avi must be hardcoded (that is... subtitle can't be removed), and avi bigger than 2 GB has got problems with audio desync. I think ogg/xvid4 should be the best... but it doesn't work. |
xvid4 is the best encoding option, yes. OGM is a deprecated media container, Matroska is far superior. Unfortunately, dvd::rip doesn't have support for it yet.
If you don't mind the extra legwork, this is what I'd do:
- Rip / encode the movie to AVI using dvd::rip
- Get the subtitles you want ripped
- Wrap everything into a .MKV with mkvtoolnix
Right now there's no easy way to do that except manually, though I am working on a script to do it all for you. _________________ If it ain't broke, tweak it. dvds | blurays | blog | wiki |
|
Back to top |
|
 |
tuxicated Tux's lil' helper

Joined: 02 Nov 2004 Posts: 120
|
Posted: Sun Jan 22, 2006 12:03 pm Post subject: |
|
|
Maybe you can also give this tool a try:
http://dvdripomatic.sourceforge.net
It uses MEncoder to rip directly off the DVD to XviD/AC3 or XviD/MP3. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|