I have an .avi file, and when I convert it in TMPGEnc it ends up having no sound. So I put the audio into a .wav with virtualdub and converted it again, and this time it played sound but it was about 2 seconds ahead of the video.
Is there any way I can get it to just convert both audio and video in tmpgenc? The original .avi file plays perfectly. Or if you have any other suggestions, I'd really appreciate it. Thanks!![]()
+ Reply to Thread
Results 1 to 30 of 30
-
-
Hmm.. sounds a bit like my prob. The audio won't sync with the video eh? But mine happens only after at least 30min of the movie...and that is if I've mux it using dvdlab. I don't get it... before this it was ok, but just recently it's proving to be troublesome. I'm making the avi into a dvd btw.. what about you?
-
extract the audio to a WAV (as you have done), then play around with the audio skew correction (found in audio > interleaving). This should allow you to add a delay, or make the sound start before the video, depending on what you need to do.
If in doubt, Google it. -
Hmm...but for that skewing thingy, what if only the back portion of the video is out of synch...by skewing that way u change the audio of the whole movie?
-
Originally Posted by Immortal25
A) Try to scan and find them using Virtualdub (see fix your file below).
B) Manually use Virtualdub to cut out the offending frames. (Look in the Edit section for a guide.)
C) Alternatively you can cut the file and make a skew adjustment only to the out-of-sync portion."Art is making something out of nothing and selling it." - Frank Zappa -
Actually I said it wrongly, I meant the audio was out of sync not the video... umm that's cos the audio comes later..about 1-2sec later than the video. So I guess this would mean the video is right on time while the audio is lagging?
But anyway, same solution? -
Originally Posted by Immortal25If in doubt, Google it.
-
Thanks for the feedback. Alright, rather than creating another thread, I now have some new questions regarding this whole prob.
This is what I get everytime I try to open the xvid/divx avi files in VirtualDub. I've attached the image...hopefully you guys can view it.
What does the warning message mean? And what should I do?
Edit: Bah I can't seem to post the image? Here's the link anyway.. I think it's alright to post? Correct me if I'm wrong. http://img.photobucket.com/albums/v623/Sandro25/virtualdub.jpg -
Here's something interesting. Btw, this is DVD-LAB which I use to author the dvd. Note the time for the video and audio at the bottom left of the screen. The audio seems to be longer than the video! Maybe that's why the audio is slower? It's always a sec or two after the video has shown?
Am I correct?
So, how do I rectify this?
http://img.photobucket.com/albums/v623/Sandro25/audioandvideotime.jpg -
Originally Posted by Immortal25
Originally Posted by Immortal25 -
Well the that message actually appeared before I started anything. But if you are asking whether the source audio is encoded in mp3... then yes. I think most divx/xvid files are in either mp3 or ac3 audio. But... what about it? Anyway what's the message trying to say?
As for the DVD-Lab thingy....umm maybe you're right. I haven't really noticed the time when it was running fine. Maybe now that I'm paranoid...I start noticing things lol
Darn... so I'm still left with the audio sync prob -
VBR MP3 audio is like a curse for any re-encoding. Typical behaviour is showing running times that are not correct, or in TMPGEnc, encoding the video and then sometimes hours of a blacks creen afterwards. That "error" message is just a warning, too
The universally-accepted way to overcome this is listed here. You save the audio out to a WAV file, then re-encode it to MP2 or AC3 using ffmpeggui or besweet, to name just two.If in doubt, Google it. -
Well Jim, that's the way I always do. It's part of the steps I take to create the dvd. Yet only recently it's giving sync probs. I always extract the audio and then in tempgenc use that audio as source and the video as it is...then encode it into m2v and mp2.
Then I use the m2v adn mp2 in dvd-lab to author the dvd.
Edit: In VirtualDub, what does Direct Stream Copy and Full Processing Mode mean anyway and what's the difference? -
You might try re-encoding the audio to MP2 in ffmpeggui or besweet instead, just to see if it is TMPGEnc that is causing your synch problems. It used to be the case that TMPGEnc's audio engine was not too flash, and it was recommended that you reconfigure TMPGEnc to use Lame for MP3, toolame for MP2 and SSRC as the resampler (you can change this under Option > Environmental setting > Audio Engine):
Originally Posted by Immortal25
Full processing mode re-encodes every single sample/frame.If in doubt, Google it. -
Originally Posted by jimmalenko"Art is making something out of nothing and selling it." - Frank Zappa
-
wow I'v ebeen like spending the whole day doing this darn thing. Encoding and then using dvd-lab to author and powerdvd to test if it's in sync or not. Sigh..
So far the results aren't good. What I've done is use Besweet to convert the wav(which I've extracted using VirtualDub) to mp2. Then I used TMPGenc to encode the video(which I use the mp2 as audio source...) and then dvd-lab to mux both the video(m2v) and mp2 audio.
Btw what stream type should I choose in TMPGenc? There's ES(Video Only), ES(Audio Only) and ES(V+A). Then there's System(V) and System (V+A).
Usually ES(V+A) would produce a m2v and mp2 which I would then use in dvd-lab. But now I already have the mp2. So I just need video right? Should I choose ES(V) or System(V)? OR still go on with the (V+A)...
This is what I don't understand and as far as I can tell, no guide mentioned anything about this.
Hmm but still concerning the sync thingy I doubt it's anything to do with stream type? So I still got a few more alternatives....then I'm really stuck.
If all else fails, what other encoding program do you guys recommend? Besides TMPGenc... but something easy to use would be preferable...
PS: Could it be the fault of DVD-Lab? Could it be that the muxing isn't right? I can't check before muxing it because according to my steps I separate the m2v and mp2.. so I need to mux them before I can check to see if they are in-sync.
Btw, Jim, I did as you said about the audio engine in TMPGenc. Thanks for the extra tip though so far nothing is helping...
PSS: As for the full processing and direct stream copy...yeah I did choose full once and wow... 40GB+ for a 1hour file... LOL -
Btw I've checked a thread which tells of bad frames of a video file but when I checked using VirtualDubMOD it says no errors.. so it's not bad frames causing the out of sync prob? Then what is?
Edit: Regarding the full processing thingy in VirtualDub... why must we choose Full Processing Mode when saving the wav? Why not direct stream copy? -
Originally Posted by Immortal25
You need to set full processing if you want a wav (uncompressed) audio file otherwise it saved as-is (MP3, AC3 etc.)."Art is making something out of nothing and selling it." - Frank Zappa -
Originally Posted by Immortal25
ES= elementary streams
System=.mpg"Art is making something out of nothing and selling it." - Frank Zappa -
Does motion fast capture have anything to do with this sync prob? Cos that's what I recently choose after reading that high quality encoding doesn't really show the difference. Which is true btw...
How do I see the bad frames???
Ahh, so this means I should choose ES(V) or the System(V) then? -
If you mean the motion search precision setting, then that does not affect the sync.
You will usually notice the video freeze for a second or go all blocky just when it goes out of sync. That's the part you need to cut out."Art is making something out of nothing and selling it." - Frank Zappa -
Hmm what do you guys think of Goldwave... thinking of trying Goldwave and not VirtualDub for once... just to continue troubleshooting this sync prob.
-
Yup just gave it a try and it's slower and more complex than VirtualDub...but more importantly it's still the same results. Not sync...
Alright nearing no alternatives already... umm what encoding prog do you guys recommend? Gonna try something else other than TMPGenc.. -
I figured out it was a bad frames problem. In virtualdub the problem was from frame 49953 to 50034. I tried fixing that frame using this guide: https://www.videohelp.com/forum/userguides/153907.php but when I previewed the avi the sound was about 2 seconds before the video just like it was after i encoded it. So right now I'm encoding the new avi I saved with the frames fixed and the audio wav file. Hopefully it will work. I didn't really understand that skewing audio stuff. Does it let you pick which frame to start pushing the audio ahead at?
EDIT/// No.. it didn't work. -
Well my prob is that the avi file is fine. Perfectly fine. It's just that after encoding it to be ready for dvd it goes out of sync...
-
Yes that was my problem too, the original avi was perfect.
What I did was just delete the entire bad frame sequence in virtualdub. Now I have it on dvd and it's perfect. -
You deleted the bad frame? But I tried that guide you linked and my avi didn't have any bad frames
Similar Threads
-
TMPGenc Audio Problem
By Iwan2learn in forum Authoring (DVD)Replies: 5Last Post: 13th May 2009, 09:27 -
Getting Audio before TMPGEnc?
By chronic777 in forum Authoring (DVD)Replies: 2Last Post: 5th Apr 2009, 07:52 -
TMPGEnc no audio
By jay_lubb in forum Video ConversionReplies: 4Last Post: 23rd Mar 2009, 11:16 -
No audio in TMPGEnc
By jay_lubb in forum Newbie / General discussionsReplies: 1Last Post: 19th Mar 2009, 02:26 -
TMPGenc and audio file
By JosieB in forum Video ConversionReplies: 10Last Post: 27th May 2007, 04:33