hi all there,

I recently started using transcode and I found it absolutely great, especially for its good flexibility :)

but I'm having a problem now when trying to encode audio data from a dvd ... here is the output of tcprobe:

$ tcprobe -i /dev/dvd
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Using libdvdcss version 1.2.10 for DVD access
[dvd_reader.c] mpeg2 ntsc 16:9 only letterboxed U0 720x480 video
[dvd_reader.c] ac3 en drc 48kHz 6Ch
[dvd_reader.c] ac3 en drc 48kHz 2Ch
[dvd_reader.c] DVD title 1/5: 14 chapter(s), 1 angle(s), title set 1
[dvd_reader.c] title playback time: 01:07:44.00  4065 sec
[tcprobe] DVD image/device
[tcprobe] summary for /dev/dvd, (*) = not default, 0 = not detected
import frame size: -g 720x480 [720x576] (*)
     aspect ratio: 16:9 (*)
       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]
V: 97463 frames, 4065 sec @ 23.976 fps
A: 62.03 MB @ 128 kbps
USER CDSIZE:  650 MB | V:  -62.0 MB @ -15999.8 kbps
USER CDSIZE:  700 MB | V:  -62.0 MB @ -15999.8 kbps
USER CDSIZE: 1300 MB | V:  -62.0 MB @ -15999.7 kbps
USER CDSIZE: 1400 MB | V:  -62.0 MB @ -15999.7 kbps
$

as said I wanted to extract audio data only and keep the raw PCM format, so for the second audio track (which has 2Ch and not 6Ch) I went for:

tccat -T 1,1,1 -i "/dev/dvd" -t dvd -d 0 | tcdemux -a 1,0 -x pcm -S 0 -M 2 -d 0 | tcextract -t vob -x pcm -a 1,0 -d 0 > track1.pcm

the command works using -a 0 , but not using -a 1 nor -a 1,0 ... with these arguments it will instead just create files zero bytes sized

where am I wrong?

thanks in advance for helping :)

Reply via email to