digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   VirtualDub: MPEG2 time shrinks when imported into virtualdubmod/mpeg2 (http://www.digitalfaq.com/archives/encode/12962-virtualdub-mpeg2-time.html)

kamen555 11-27-2004 09:09 PM

VirtualDub: MPEG2 time shrinks when imported into virtualdubmod/mpeg2
 
I have an MPEG2 file which was converted from transport stream to mpeg2 using hdtvtompg2 converter. The file is 56mins 15s long but when it is imported into vidtualdubmod/mpeg2, it reports it as 56mins 9s long while the audio remains at 56mins 15s. This causes the video and audio to become out of synch. I want to conver it to an Xvid file. What would be the solution to this audio/video synch problem?
The frame rate of the mpeg2 is 29.97fps. I've tried to adjust the frame rate so the video and audio duration match but it is still out of synch.
Is it possible to use an avisynth script and load the the mpeg2 file into virtualdub? I've tried mpeg2source(...) but it couldn't load the mpeg2 file.

kamen555 11-27-2004 10:12 PM

Looks like I solved the problem using dvd2avi 1.76. Although the d2v file is only 56mins 13s, the 1 min sample I made was in synch, so I'll go ahead and encode the whole show.

kamen555 11-28-2004 12:54 AM

The resultant Xvid file is in synch only for the first 3 mins after that it becomes out of synch, oh well in search for more clues to solving my problem.

kamen555 11-28-2004 03:56 AM

Found another software that hopefully works, it's called ProjectX. The demux video and audio files of the transport stream is reduced to 55mins 52s but at least both have the same duration and they are in sync when played in VDUB. I'm gonna encode it to Xvid and see if the result is in sync. Looks like ProjectX drops GOP and useless B-frames, don't if it's bad or not but if the video and audio are in sync, that's all that matters.

Boulder 11-28-2004 05:39 AM

You should try the latest DGIndex. It supports transport streams so no need to convert them beforehand, just make sure the file extension is .ts. If you use DGIndex, you'll have to use the dgdecode.dll which is in the same package and remove all the mpeg2dec*.dll files from your plugins folder.

http://neuron2.net/fixd2v/decodefix.html

kamen555 11-28-2004 06:15 PM

ProjectX works, my Xvid file is in synch. I'll try DGIndex when ProjectX fails. FYI I've tried DVD2AVI, DVD2AVIT3, both failed. DGIndex looks similar and will probably give the same result.


All times are GMT -5. The time now is 12:35 PM  —  vBulletin Jelsoft Enterprises Ltd

Site design, images and content © 2002-2022 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2022 Jelsoft Enterprises Ltd.