View Full Version : Problem Converting xXx AVI


nick718
15th December 2002, 07:18
Ok I have had no luck with any other programs so I came back to TMPEG. The following is what I did exactly.
Opened Virtual Dub
Set Direct Strem Copy for Audio and Video
Open AVI 1 of xXx
File>Apend AVI and selected AVI 2 of xXx
Named resulting Avi as xXx.avi
Opened TMPEG
As per suggestio of a guide I read opened Environmental Settings and brought up priority of DirectShow Multimedia
Also changed Layer -2 Encoder under External tab to tooLame encoder
Opened Wizzard
Chose NTSC DVD
Selected .avi file for video, automatically put itself in for audio and I left it.
Non-Interlace, 1:1 VGA
On next screen, in advanced options changed to Full Screen (Keep Aspect Ratio)
Hit Next, left bitrate at 3000
Hit Next again, and then hit ok to begin encoding.

THats is, now the problem is... the resulting mpeg file is out of sync. The audio is a second or so out of sync with the video. This has happened time after time, no atter what I try and change. To those who dont know this Divx3, AC3 aduio, NTSC.
Any help wold be great, I can't figure this out, and this is happening with most movies I try to do.
Thanks again all

Suzahara
15th December 2002, 08:43
I would figure the problem is with the ac3 audio. If you can, convert it yourself and then do it separately from the video and the mux them together. You might also check to make sure that the DirectStreamed AVI's are in sync. If you are trying to connect two AC3/AVI files together, this might pose a big problem, so like I said, do the videos and audio separately.

E.G.:
1) DirectStream the AVI's together with audio processing disabled.
2) Demux audio for both and convert separately in BeSweet to WAV and then concatanate with copy (DOS) or use a lst file in BeSweet (or Batch Mode to single MP2).
3) Use the DirectStreamed AVI's and convert them to MPEG2
4) Mux Audio and Video together with the MPEG Tools under the File Menu in TMPG.

nick718
15th December 2002, 09:14
Ok, I'm gonna try what you said. To you're question earlier when I direct stream copy the avis the sound stays in sync in the final avi.
I do have one question about one step in there.
"2) Demux audio for both and convert separately in BeSweet to WAV and then concatanate with copy (DOS) or use a lst file in BeSweet (or Batch Mode to single MP2). "
I know how to demux, I havent used Besweet but I figure convering the files to WAV after Dmuxing won't be too difficult..... its just I dont know what you mean by "concatanate with copy (DOS) or use a lst file in BeSweet (or Batch Mode to single MP2)" if you could be a bit more specific about that thatd be great.
Thanks

Suzahara
15th December 2002, 19:09
Just ignore the first two, those are the last resorts, use the one in ()'s. Just hit the batch mode button, selecting mp2 as your output in the main window first, and drag the two input files (could be the ac3's if you don't want to do wav's first) and hit Besweet's List -> Single MP2.

nick718
15th December 2002, 23:39
Ok, I ran into another problem. I made the Mpeg without the sound out of the merged AVIs. Now I'm trying to Demux the orignial 2 Avis like you said, but how do I do this? When I try using MPEG tools it won't let me do it, it only allows for MPEG input for Simple Demux and Demux.

Suzahara
16th December 2002, 01:05
Originally posted by nick718
Ok, I ran into another problem. I made the Mpeg without the sound out of the merged AVIs. Now I'm trying to Demux the orignial 2 Avis like you said, but how do I do this? When I try using MPEG tools it won't let me do it, it only allows for MPEG input for Simple Demux and Demux.

You can also demux the audio with virtualdubmod easily (and into the original format type IIRC). You can also demux regularly with vdub if you put the audio to directstream copy and then save wav, but this adds a wav header (which you can remove with besplit IIRC). Or, BeSweet does allow avi input now, try this one first and then the other two options if it fails.

nick718
16th December 2002, 01:39
Ok, now i Have a .AC3 file for each avi, so 2 .AC3 files. Now can you explain to me exactly how to merge them using the Besweet GUI or any other method into something I can use as an audio input on TMPEG?
Thanks

Suzahara
16th December 2002, 03:21
Select MP2 as the output in the main window, and hit batch mode. Drag both ac3's onto the window that pops up and hit Besweet's List -> Single MP2. Ta-da, 1 merged mp2.

nick718
16th December 2002, 05:09
Did exactyl that, when I click that last button Single MP2 absolutely nothing happens. Sorry to be such a bother but I am somewhat new at this.

Suzahara
16th December 2002, 06:08
Are you using the latest versions?

nick718
16th December 2002, 06:39
Yeah, latest version of both GUI and BeSweet. This thing is just strange, is there any way to completely reset the GUI so I can start fresh with your instructions. Also, is there any other program that will merge either AC3 or MP2?

nick718
16th December 2002, 06:47
I should add that when I click that button a DOS window also pops up, but its way to quick to see what it says. It also created a ~temp.lst file int he Besweet Directory... its contents are :
-core( -input "C:\My Files\xXxcd1.ac3" )
-core( -input "C:\My Files\xXxcd2.ac3" )

Suzahara
16th December 2002, 23:12
Have it log to the BeSweet.log file and have it pop that up when it's done. Other than BeSweet's Batch Mode, all you can do is convert both to separate wav files and start up a cmd prompt and type in copy /b file1.wav+file2.wav /b file3.wav this will merge file1 and file2 into file3. Then use this to make your mp2. There might be a bug in batch mode.