Log in

View Full Version : MPEGDecoder.dll audio sync problem


ArrogantBastard
22nd March 2003, 18:06
Hello All...

I have a problem with MPEGDecoder.dll when using CCE 2.50 for encoding. The new encoded file does not sync with the audio. However if I encode the file using MPEG2DEC3.dll the file is perfect. I of course want to use MPEGDecoder because it is at least 10% faster. The test files are about 115 MB (approximately 2.5 minutes). Here are the details and this is 100% repeatable.

The avs script is as follows:
LoadPlugin("C:\Program Files\DVD2DVD-R 1.4.3\MPEGDecoder\MPEGDecoder.dll")
MPEGSource("C:\SYSTEM_22.03.2003_09.47\Video_0xE0.M2V","0","ff")
ResampleAudio(44100)


The source is an M2V file that was extracted from an NTSC Region 1 DVD of Chasing Amy. The file is the first chapter and when run through BitRateViewer it shows as Interlaced (although I can not guarantee the all 2.5 minutes is interlaced). All the other chapters shows as progressive.

The encoding is VBR 2 Pass using CCE. Speed is around 1.4 using MPEGDecoder and 1.25 using MPEG2DEC. I use Pulldown afterwards to add 3:2 flags and mark everything as progressive.

When authored in Maestro the audio is definately out of sync by about 6 or 8 seconds. It looks like additional frames are inserted into the stream. If I put chapter points in Maestro and compare the original and new M2V streams they do not show the same frames at the chapter point.

If anybody can give me some suggestions I would appreciate it. I am not sure if this is a bug or stupid user error. Nic, if you would like these test files I can send it to you via ftp or burn them to a CD for you.

Thanks for any help.
AB

DDogg
22nd March 2003, 23:32
I asked a similar question in the long MPEGDecoder thread a few days ago. Namely, had anybody ever successfully used MPEGDecoder.dll to do an encode with CCE 2.5 multipass VBR and pulldown and have that encode remain in audio sync. There have been no answers, so I am assuming it is impossible with the current version of MPEGDecoder. Just like you, I was hoping to take advantage of the speed.

ArrogantBastard
23rd March 2003, 00:00
Thanks DDogg...

Hopefully we can help Nic debug it.

Nic.. If you get a chance tell me if there is any way to help you. I have test files I can send you or I can run debug versions here. I can't even say if this is a bug, but would like to find out what the problem is.

Thanks to all.
AB