|
I have an avi file that I'm trying to convert to play on my standalone DVD player. I was using NeroVisionExpress to encode to MPEG2 and create menus etc, but it created a final product which would gradually lose sync throughout the movie until the audio was significantly ahead of the video by the end. The original avi plays fine all the way through using VLC Media Player on my PC.
I'm no expert, but I've tried to do as much digging around on the forum as I possible could before finally admitting defeat and asking your guys for some help. Here is what I have and what I have done so far, using VirtualDubMod, TMPGenc and FfmpegGUI
This is the relevant file info that VDubMod gives me for the avi:
Video Stream
Frame size: 608x336, 23.976 fps
FourCC code: [XVID] XviD MPEG-4
Decopmpressor: XviD MPEG-4 Codec
Data rate 1020kbps (0.45% overhead)
Audio Stream
Sampling Rate: 44100Hz
Channels: 2 (Stereo)
Audio tag: 0x0055, Decodable MPEG-1 Layer 3 (MP3)
Compression: Unknown (tag 0055)
Min/avg/max/total frame size: 313/397/835 (23620K)
Data rate: 122 kbps (5.69% overhead)
This is what I did to try and sort out my sync problem:
When the avi is opened in VirtualDubMod I get a "VBR audio stream detected" telling me to decompress to a WAV file and then recompress with a constant bitrate of 127+ - 13.8kbps. It asks me if I want to re-write the header, to which I say no. I extracted the WAV file, then used FfmpegGUI to recompress the WAV to a 128kbps MP2 file.
The avi looks to me like an NTSC Film avi, so I used TMPGenc to create an NTSC DVD using the 3:2 pulldown Encode Mode on the Video tab. I also unchecked "Inverse Telecine (convert to 24fps: Non-interlace source)" on the Advanced tab. As far as I can tell this should maintain the same fps so as to keep the audio in sync. I encoded to an m2v file (and mp2 which I won't use because I'm using the recompressed MP2 from FfmpegGUI as the audio stream).
To test my encoded file I multiplexed the m2v and the mp2 using TMPGenc tools. When played back in VLC Media Player the audio gradual goes out of sync.
I tried re-encoding the WAV file to various MP2 bitrates as well as AC3 audio of different bitrates. I found I had the least sync error with 192kbit AC3 audio, but it's nevertheless still out of sync and frustratingly not right.
Does anyone have any ideas as to what I should have done/not done to get this encode working in sync? Any advice most gratefully received.
Thanks
Simon
This message has been edited since posting. Last time this message was edited on 8. December 2005 @ 12:30
|