From: Florin A. <fl...@an...> - 2003-11-16 05:34:30
|
I'll describe first my situation, then at the end the problem that i encounter with xine. SITUATION: I'm using transcode-0.6.11 to extract one video track, one audio track and one subtitles track from a DVD title: title=1 mkfifo vid.fifo mkfifo aud.fifo mkfifo sub.fifo tcextract -i vid.fifo -t vob -x mpeg2 -a 0xe0 > ${proj}.m2v & tcextract -i aud.fifo -t vob -x ac3 -a 0 > ${proj}.ac3 & tcextract -i sub.fifo -t vob -x ps1 -a 0x20 > ${proj}.sub & tccat -P ${title} -i /dev/dvd -t dvd | \ tee vid.fifo aud.fifo sub.fifo > /dev/null The above -a parameters are set for: first video track, first audio track, first subtitles track. Usually there's only one video track, so video doesn't change. Use "-a 1" if you want the second audio track, etc. Use "-a 0x21" if you want the second subtitles track, etc. I have no idea why video and subtitles are required in hexa, while audio is required in decimal. It just works this way. PROBLEM: If i try to play the subtitles with xine, it doesn't work: [florin@rivendell stnem]$ xine file:stnem.m2v::stnem.sub (...snip...) demux_sputext: Could not determine file format [florin@rivendell stnem]$ xine file:stnem.m2v#subtitle:stnem.sub (...snip...) demux_sputext: Could not determine file format xine: error opening subtitle mrl I suspect these are "raw" subtitles, not encapsulated in VOB or anything. Would it be possible to make xine play this raw subtitles format please? Thanks, -- Florin Andrei http://florin.myip.org/ |