PDA

View Full Version : avimerge - video faster than audio


mousemurder
17th September 2007, 23:34
hi, i got 6 unencrypted vob's from a dvd i own and i noticed this on a few dvd's i want to put on my portable media player.

i did this command on the vob's so now i got 6 xvid-avi's:
then i use avimerge to assemble the 6 avi's together...


[mousemurder@doom9 vob]$ transcode -y xvid,xvid -F mpeg4 -M 2 -N 0x55 -s 3 -w 750,75,90 -b 64 -B 12,10,8 -i VTS_01_3.VOB -o VTS_01_3.VOB.avi
[mousemurder@doom9 vob]$ file VTS_01_6.VOB.avi
VTS_01_6.VOB.avi: RIFF (little-endian) data, AVI
[mousemurder@doom9 vob]$ tcprobe -i VTS_01_1.VOB.avi
[tcprobe] RIFF data, AVI video
[avilib] V: 29.970 fps, codec=XVID, frames=37215, width=640, height=384
[avilib] A: 48000 Hz, format=0x55, bits=16, channels=2, bitrate=64 kbps,
[avilib] 51735 chunks, 9933120 bytes
[tcprobe] summary for VTS_01_1.VOB.avi, (*) = not default, 0 = not detected
import frame size: -g 640x384 [720x576] (*)
frame rate: -f 29.970 [25.000] frc=4 (*)
audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x55 [0x2000] (*)
bitrate=64 kbps
length: 37215 frames, frame_time=33 msec, duration=0:20:41.740
[mousemurder@doom9 vob]$ tcprobe -i VTS_01_2.VOB.avi
[tcprobe] RIFF data, AVI video
[avilib] V: 23.976 fps, codec=XVID, frames=28839, width=640, height=384
[avilib] A: 48000 Hz, format=0x55, bits=16, channels=2, bitrate=64 kbps,
[avilib] 50114 chunks, 9621888 bytes
[tcprobe] summary for VTS_01_2.VOB.avi, (*) = not default, 0 = not detected
import frame size: -g 640x384 [720x576] (*)
frame rate: -f 23.976 [25.000] frc=1 (*)
audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x55 [0x2000] (*)
bitrate=64 kbps
length: 28839 frames, frame_time=41 msec, duration=0:20:02.826


notice that the first vob has a framerate of 29.970 and all the rest of them have a framerate of 23.976 (is this some sort of counter-reproduction measure ?)

is there some way to make it so that the first vob is transcoded with the framerate as the others ?

thanks,

setarip_old
18th September 2007, 00:00
Hi!

You can likely overcome your problem by initially creating ONE .AVI from your DVD (rather than 6 .AVIs)...

mousemurder
18th September 2007, 02:24
Hi!

You can likely overcome your problem by initially creating ONE .AVI from your DVD (rather than 6 .AVIs)...

good idea, but my transcode keeps crashing at around 65% thru the moo-vee.

any other ideas...

henryho_hk
18th September 2007, 05:15
Join the 6 video clips into 1 big AVI. Then join the 6 sound clips into 1 big soundtrack (if possible, transcode the big soundtrack in one go). Finally mux the big AVI and big soundtrack together.

mousemurder
18th September 2007, 05:23
Join the 6 video clips into 1 big AVI. Then join the 6 sound clips into 1 big soundtrack (if possible, transcode the big soundtrack in one go). Finally mux the big AVI and big soundtrack together.

thanks, i didnt explain the problem well... when i did avimerge, after about 20 mins into the moo-vee (after vob-1 is transcoded) the avi would go about 1.5 speed with the audio at normal speed.
...
the VTS_01_3.VOB file was bad. i re-ripped it, put them all in a directory then did transcode -y xvid,xvid -F mpeg4 -M 2 -N 0x55 -s 3 -w 750,75,90 -b 64 -B 12,10,8 -i vob -o moo-vee.avi
not sure why vobcopy originally copied the vob wrong (must've been some dust on the disk).

thnaks,