First of all, I would like to thank the developers of dvdrip and Transcode
for such excellent tools! Linux is getting more good video apps...
Anyway, onto my small problem:
I'm using transcode-0.6.0pre2_20020115-1 and perl-Video-DVDRip-0.30-1.
When ripping a divx from a DVD with multiple audio tracks, I noticed the
file dvdrip produces is a different language track than the one I picked.
Strangely, running transcode manually produces the correct result.
Everything looks fine by the debug commands, however. Perhaps a transcode
bug?
This DVD is a rental which I have to return tomorrow. Hopefully I can
provide enough information now to be of some help. It's "Hard Boiled"; the
distributor is Fox Lorber. It's NTSC; I live in the US. The movie is
originally from Hong Kong, and is a bit different than the norm fare of
rentals. It has 2 titles: the first title is a small distributor blurb,
with 1 audio channel, a AC3 2 channel. The second title, the actual movie,
has 3 audio channels. The first is a AC3 1 channel Mandarin track, the
second is a AC3 1 channel English track and the third is a AC3 2 channel
English track that contains director commentary. I wanted the second
English channel.
Dvdrip shows all this information correctly, but no matter what I pick at
the Audio channel selector I always get the first channel, the Mandarin
channel.
>From Debug/Show Transcode Commands:
Probe Command:
==============
tcprobe -i /dev/dvd -T 2
Rip Command:
============
rm -f /home/doug/dvdrip/hard_boiled/vob/2/hard_boiled-???.vob;
tccat -t dvd -T 2,-1,1 -i /dev/dvd | splitpipe -f
/home/doug/dvdrip/hard_boiled/tmp/hard_boiled-2-nav.log 1024
/home/doug/dvdrip/hard_boiled/vob/2/hard_boiled vob | tcextract -a 1 -x ac3 -t
vob | tcdecode -x ac3 | tcscan -x pcm
Grab Preview Image Command:
===========================
mkdir /tmp/dvdrip16192.ppm; cd /tmp/dvdrip16192.ppm; transcode -z -k -i
/home/doug/dvdrip/hard_boiled/vob/2 -o snapshot -x vob -y ppm -c -1
Transcode Command:
==================
transcode -i /home/doug/dvdrip/hard_boiled/vob/2 -x vob -a 1 -w 1470,250,100 -o
/home/doug/dvdrip/hard_boiled/avi/hard_boiled-2.avi -c 0-175950 -y divx4 -V -b
128
The rip command looks correct to me. (?)
I used transcode directly with help from the homepage. This did grab the
correct audio track:
nice transcode -i /dev/dvd -x dvd -a 1 -T 2,-1 -g 720x480 -M 2 -V -X 2,0 -Y
80,8 -s 1.09 -o hard_boiled.avi -y divx4 -w 1293 -f 23.976 -R 2
More info:
[doug@celeron doug]$ tcprobe -i /dev/dvd -T 1
[tcprobe] DVD image/device
(dvd_reader.c) mpeg2 ntsc 4:3 U0 720x480 video
(dvd_reader.c) ac3 en drc 48kHz 2Ch
(dvd_reader.c) DVD title 1/2: 2 chapter(s), 1 angle(s)
(dvd_reader.c) title playback time: 00:03:22.09 203 sec
[tcprobe] summary for /dev/dvd, (*) = not default, 0 = not detected
import frame size: -g 720x480 [720x576] (*)
aspect ratio: 4:3 (*)
frame rate: -f 23.976 [25.000] frc=1 (*)
audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x2000 [0x2000]
[tcprobe] V: 4669 frames, 194 sec @ 23.976 fps
[tcprobe] A: 3.03 MB @ 128 kbps
[tcprobe] CD: 650 MB | V: 647.0 MB @ 27975.1 kbps
[tcprobe] CD: 700 MB | V: 697.0 MB @ 30137.1 kbps
[tcprobe] CD: 1300 MB | V: 1297.0 MB @ 56081.2 kbps
[tcprobe] CD: 1400 MB | V: 1397.0 MB @ 60405.3 kbps
and:
[doug@celeron doug]$ tcprobe -i /dev/dvd -T 2
[tcprobe] DVD image/device
(dvd_reader.c) mpeg2 ntsc 4:3 U0 720x480 video
(dvd_reader.c) ac3 zh drc 48kHz 1Ch
(dvd_reader.c) ac3 en drc 48kHz 1Ch
(dvd_reader.c) ac3 en drc 48kHz 2Ch
(dvd_reader.c) DVD title 2/2: 30 chapter(s), 1 angle(s)
(dvd_reader.c) title playback time: 02:07:29.06 7650 sec
[tcprobe] summary for /dev/dvd, (*) = not default, 0 = not detected
import frame size: -g 720x480 [720x576] (*)
aspect ratio: 4:3 (*)
frame rate: -f 23.976 [25.000] frc=1 (*)
audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x2000 [0x2000]
audio track: -a 1 [0] -e 48000,16,2 [48000,16,2] -n 0x2000 [0x2000]
audio track: -a 2 [0] -e 48000,16,2 [48000,16,2] -n 0x2000 [0x2000]
[tcprobe] V: 175950 frames, 7338 sec @ 23.976 fps
[tcprobe] A: 114.66 MB @ 128 kbps
[tcprobe] CD: 650 MB | V: 535.3 MB @ 612.0 kbps
[tcprobe] CD: 700 MB | V: 585.3 MB @ 669.1 kbps
[tcprobe] CD: 1300 MB | V: 1185.3 MB @ 1355.1 kbps
[tcprobe] CD: 1400 MB | V: 1285.3 MB @ 1469.4 kbps
I've used dvdrip before on another DVD with great success. I'm sure the
trip-up on this DVD has something to do with the layout of the audio
tracks.
--
"Mr. Spock succumbs to a powerful mating urge and nearly kills Captain Kirk."
-- TV Guide, describing the Star Trek episode _Amok_Time_
|