I use TMPGEnc to convert the DivX files that I have.
The only problem is that some of these have have glitches where the screen is messed up for a few seconds and then returns back to normal. When I convert these files to a VCD format, there are lip sync errors because of these glitches.
What happens is that the audio continues to play even though it is going through that glitch so however long the glitch is, the same time the audio is off lip sync.
Can anyone help me out ?? I use Sound Forge to edit the sound files but it takes ages as my machine is only 500Mhz
+ Reply to Thread
Results 1 to 15 of 15
-
-
Sounds like you have some bad frames. You can remove them using Virtual dub. There are guides for this on this site.
-
DivX are quite unreliable unless you ripped them yourself. I suggest getting a 30 dollar dvd burner so you can rip ur own dvds and encode them straight to vcd without having to deal with divx
e-z-eVisit my webpage at:
http://leech.at/e-z-e -
I gave a post about having encoding problems because of glitches in the DivX file. I received 3 responses but none of the links seem to show me anything. One link is a dead link. Please can some else help me out.
Somebody said something about removing bad frames using Virtual Dub. I asked Virtual Dub to scan for bad frames and it does not show any as bad frames.
What should I do ???
(The problem I had was that TMPGEnc picks up glitches in the Divx file which when played in Windows Media Player, the audio pauses when the glitch occurs and then the audio resumes after the glitch. But TMPGEnc does not stop the audio when this glitch occurs therefore I have lip synch errors.) -
King John had a guide for bad frames but he, and his guides, are not on this site anymore.
I heard they were relocated but I don't know where.
If Vdub does not detect the bad frames and you know where they are, then you can edit them out yourself (with Vdub). This involves marking the good parts, saving them out and then re-joining them again. Look up a guide to editing Avi's with Vdub."Art is making something out of nothing and selling it." - Frank Zappa -
What you are seeing might not be bad frames, but instead audio problems.
TMPGENC is notoriously unreliable with certain types of audio, particularly MP3 VBR. To make sure, use GSpot to detect the codec used.
If it is indeed, use Virtual Dub to extract the MP3 audio from the file, use any audio encoder (I use dbPowerAmp) to encode it to uncompressed PCM, 44 hrz (careful it takes quite a fair bit of HD space), then use the resulting WAV file as the sound source for your MPEG encode. This should get you rid of the annoying slow-down / speed-up problems.
In case the audio is in AC3, same principle, but use an Ac3 encoder (like Headac3he) to convert the AC3 audio to WAV.
Solved 99% of my encoding problems. -
yeah, a 30 dollar DVD burner would be nice...perhaps you mean DVD drive?
-
I said I had a glitch in a divx file and then the audio goes off lip synch...Well I would likte to give a little more information with regards to the problem....
What happens is that some of the Divx files become pixelated at certain points. When this pixelation occurs the audio would normally stop until the pixelation has stopped and then the audio would resume - This is what happens if you were to play the file on the computer.
Now when I encode the files which become pixelated at certain points what happens is that the audio continues to encode along with this pixelated part of the video therefore giving me lip synch problems after the pixelation.
I have tried seperating the video from the sound but still the same thing happens. I have asked Virtual Dub to run a check for bad frames and it does not detect any bad screens.
Somehow I need to find a way of encoding the files so that when this pixellation occurs, the audio would stop until the pixelation subsides - Just as it does when I play the file on Windows Media Player. The problem is that I would not be able to edit out these pixelated parts as it would just erase the sound as well.
Can anyone help me please ?? -
If you separate the sound and video first (save out the Wav), then you can use Vdub to cut out the bad frames in the video. In order to maintain sync, you then need to replace the lost video with good (black?) frames. The replacement video has to be the exact same duration. Sounds like a lot of work for minor gain.
My choice: Edit the sound and video together using Vdub and just remove the bad frames."Art is making something out of nothing and selling it." - Frank Zappa -
Scan for bad frames with Vdub Mp3/ antifreeze; extract the audio using regular Vdub; then encode it with Panasonic MPEG1 encoder. For encoding Xvid with Ac3...... I'm working on a guide to do this with the Panasonic encoder & Cillers Ac3tool; 'cause it's a killer combination!
D.C. 8)" Check him for weapons..... no; he doesn't need 'm...... he IS a weapon. " -- Return of the Dragon. -
I think I need to explain the problem further.
The problem is the lip synch occurs because of these pixelated screens. When I play the file through windows media player, what happens is that the audio would pause for a few seconds and then play properly after this pixelation.
What I need to do is find some way of encoding the file the same way in which it is being played in Windows Media Player. Why it plays differently in Media player, I dont know!!
I have tried to use Audio Gap correct in TMPGEnc but this doesn't seem to do anything on my machine even when I use a file with uncompressed audio??
HELP !!! -
The only way that I've been able to get around the EXACT came issue with an avi of ALIEN was to change the framerate in TMPG from 23 to 29 fps. This doesn't work all the time but, at least for me, I've only had about 2 out of 9 avis converted like this not come back into sync. I don't know why it works, and frankly I don't care. Regardless its worth a shot...
Some people like to gamble, but you always lose... -
Find Divfix (sorry no link), this has helped me in the past... It doesn't ALWAYS work, but it's worth a try.
-
I think I have found a solution. Well sort of!!
The glitches occur because the download has not been correct. Although the file plays back correctly in Windows Media Player, when it is converted using tmpgenc it has that lip synch problem. The only thing that I have found which works is to download that file again for a second time and hope that this time it doesn't download with a glitch.
I think my hard drive is dodgy and that is why I am getting this glitch because my brother has downloaded a number of files on his machine and they all are fine when converted but my machine has a regular occurance of glitches.
Similar Threads
-
DivX conversion
By didikai in forum Video ConversionReplies: 2Last Post: 27th Nov 2011, 11:23 -
DivX/Xvid conversion
By joecass in forum Newbie / General discussionsReplies: 4Last Post: 22nd Apr 2010, 15:23 -
DivX 7 Pro mp4 to Divx conversion
By mkochsch in forum Newbie / General discussionsReplies: 1Last Post: 14th Mar 2010, 02:22 -
DVD to AVI (XviD / DivX) using VirtualDubMod Conversion problems.....
By dabas in forum Video ConversionReplies: 1Last Post: 26th Feb 2010, 08:12 -
File conversion problems AVI to Divx
By kaptainm in forum ffmpegX general discussionReplies: 2Last Post: 10th Aug 2008, 19:21