AVI + Audio = Really Ugly Babies
Moderator: MaxCoderz Staff
- thegamefreak0134
- Extreme Poster
- Posts: 455
- Joined: Mon 23 Jan, 2006 10:09 pm
- Location: In front of a Computer, coding
- Contact:
AVI + Audio = Really Ugly Babies
I have a rather lengthy AVI file on my computer that is ripped (sort of legally, from a disc I own) from a DVD. The movie is well over an hour in length, and the picture quality is rather excellent. However, I notice that as the movie plays along, the picture gets more and more out of sync with the audio. It doesn't seem like the "compressed" DVD encoding has any issues keeping its sound and video in sync, so why does this movie have issues like this?
What I really want is some way to reverse this process. If there was a way I could excract, and then replace the audio in the movie, I could edit it with my favorite sound editor and "stretch" it ever so slightly so it was the same length as the video, which would hopefully fix my problems. (It gets in the neghborhood of a few seconds off from the video toward the end.) Or could this possibly be a problem with my AVI decoder? (Or the one for whatever codec it compresses with)
This is a particularly odd issue, one that it seems would've fixed itself by now in our modern world...
-thegamefreak
What I really want is some way to reverse this process. If there was a way I could excract, and then replace the audio in the movie, I could edit it with my favorite sound editor and "stretch" it ever so slightly so it was the same length as the video, which would hopefully fix my problems. (It gets in the neghborhood of a few seconds off from the video toward the end.) Or could this possibly be a problem with my AVI decoder? (Or the one for whatever codec it compresses with)
This is a particularly odd issue, one that it seems would've fixed itself by now in our modern world...
-thegamefreak
- tr1p1ea
- Maxcoderz Staff
- Posts: 4141
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: I cant seem to get out of this cryogenic chamber!
- Contact:
Try updating your decoders, if that doesnt work, download everyones favourite video editing tool VirtualDub (www.virtualdub.org) n which you can export the audio track to a WAV file where you can edit it later. You can even offset the audio by a fraction of a second at the start of the movie in VurtualDub, which might make all the difference in the end.
- thegamefreak0134
- Extreme Poster
- Posts: 455
- Joined: Mon 23 Jan, 2006 10:09 pm
- Location: In front of a Computer, coding
- Contact:
Wow. I never would have expected framerate to be a real issue, considering that the normal framerate for movies in the USA is 29.75 fps. Although that might cause slight issues, I think, since it doesn't go very well into tearing, if my decoder forces a VSync or something...
Anywho, how does one go about updating ones video decoders? Windows does a pretty fair job of hiding the fact that they're even there, to the point that I have to use third party software to even see the ones installed on my machine. I will also look into this virtualdub thing, since it sounds usefull. Thanks!
-gamefreak
Anywho, how does one go about updating ones video decoders? Windows does a pretty fair job of hiding the fact that they're even there, to the point that I have to use third party software to even see the ones installed on my machine. I will also look into this virtualdub thing, since it sounds usefull. Thanks!
-gamefreak
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
No, you don't. Go into Control Panel, open the Sounds and Audio Devices control panel. Go to the Hardware tab. Double-click on Audio Codecs or Video Codecs. Click on the "Properties" tab.thegamefreak0134 wrote: Windows does a pretty fair job of hiding the fact that they're even there, to the point that I have to use third party software to even see the ones installed on my machine.
The DirectShow Filter Graph Editor (it's part of the DirectX SDK) is an invaluable tool for working with your DirectShow filters. It's handy for converting media files (eg, get it to render a Quick Time file, remove the sound and video rendering devices, run the sound through WavDest and the result of that through an Avi Mux with the video to a FileWriter).
If you're looking for extensive codec support, you can install both the K-Lite Codec Pack and the DirectShow Filter Pack.
- thegamefreak0134
- Extreme Poster
- Posts: 455
- Joined: Mon 23 Jan, 2006 10:09 pm
- Location: In front of a Computer, coding
- Contact:
Well no wonder... I have the pinnacle avi codec installed. I've had issues with Pinnacle rendering stuff this way in the past, I just never imagined it would be the codec, I assumed the (older version of the) program just didn't handle avi files very well. It was designed primarily for DVDs anyway...
kk, Time to go find a new AVI codec. Wheeeee!
-thegamefreak
kk, Time to go find a new AVI codec. Wheeeee!
-thegamefreak
- tr1p1ea
- Maxcoderz Staff
- Posts: 4141
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: I cant seem to get out of this cryogenic chamber!
- Contact:
Well the Combined Community Codec Pack is usually pretty good, obtainable from here: http://www.cccp-project.net/