(Hi, I'm a transcode "oldtimer", been on the users list since Thomas
Östreich was writing code, but I didn't post much in more recent times)
I've a big VOB file, I am trying to extract the video track and one of
the audio tracks, requantize the video, then mux the two tracks back
together in a new smaller VOB.
tcprobe for the original VOB gives this:
#############################################
import frame size: -g 720x480 [720x576] (*)
aspect ratio: 16:9 (*)
frame rate: -f 23.976 [25.000] frc=1 (*)
PTS=0.1289, frame_time=41 ms, bitrate=7500 kbps
audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x2000
[0x2000]
PTS=0.0365, bitrate=448 kbps
-D 2 --av_fine_ms 8 (frames & ms) [0] [0]
audio track: -a 1 [0] -e 48000,16,2 [48000,16,2] -n 0x2000
[0x2000]
PTS=0.0364, bitrate=448 kbps
-D 2 --av_fine_ms 9 (frames & ms) [0] [0]
#############################################
When extracting, I attempt to drop 2 frames from the video track (as
indicated by -D 2 in the tcprobe output) and I also feed a 8ms time diff
to the muxer.
Here's how I extract the tracks:
##############################################
mkfifo vid.fifo
mkfifo aud.fifo
if [ $D == "0" ]; then
tcextract -i vid.fifo -t vob -x mpeg2 -a 0xe0 > ${proj}.m2v &
else
tcextract -i vid.fifo -t vob -x mpeg2 -a 0xe0 \
-C ${D}-1000000000 > ${proj}.m2v &
fi
tcextract -i aud.fifo -t vob -x ac3 -a ${aud} > ${proj}.ac3 &
cat $proj-big.vob | tee vid.fifo aud.fifo > /dev/null
##############################################
The problem is, tcextract does not seem to listen to the -C parameter.
I did a test, ran tcextract with -C 2-1000000000 and then ran it again
with no -C at all. The two video tracks that were extracted were exactly
the same!
I expected the track extracted with -C to be smaller/shorter.
Using:
- Linux Fedora Core 5 32bit version
- transcode-1.0.2-3.lvn5 from http://rpm.livna.org/fedora/5/i386/
--
Florin Andrei
http://florin.myip.org/