Log in

View Full Version : Audio Problem?


shorto
19th December 2007, 16:25
Hello all!

I just recorded something in MPEG TS format (off my IPTV PDTV source) and well I simply couldn't convert it since it somehow had mulitple sources. I finally found out which PID was the right one and I demuxed the .TS file with DGIndex. I got the m2v (video) & mpa (audio) files (also got d2v but thats not important rigth now ;))

Now if I open the m2v & the mpa files in TMPGEnc Xpress everything is ok. But since this is a school project I have to add some "subtitles" (just comments) and well I simply used AviSynth like a million times before. Now if I use "DirectShowSource" with my m2v file everything is fine but it only detects about 10mins of video but there's actually ~30mins of it in the file. I said what the heck and left my comments unchanged (the time-code that is), and when TMPGEnc finished the process the comments and everything was positioned correctly, but the problem is I can't cut out the commercials and the unneeded stuff, since if I cut anything out the audio and the comments are all messed up.

So I thought that perhaps it would be better if I joined the m2v and mpa into an mpg file. Once again I turned on my TMPGEnc Xpress and "Multiplexed" the two sources. I got an .mpg file. Everything is OK. If I try to encode the video without AviSynth there are no problems but since I need comments in the videos I tried AviSynth again. This time I get all the video time in TMPGEnc but the thing is the audio is out of sync.

What could be wrong here?

Here is my simple script:

DirectShowSource("C:\video.mpg")

LoadPlugin("VSFilter.dll")

TextSub ("notice.ass")

And here's a SS of GSpot, just in case;

The mpg file:
http://i154.photobucket.com/albums/s249/denis-in-mateja/mpg.jpg
The mv2 file:
http://i154.photobucket.com/albums/s249/denis-in-mateja/m2v.jpg

Please help!

sh0dan
19th December 2007, 17:18
Use "DGMPGDec" instead of DSS. Use MPASource to import your sound.

IanB
19th December 2007, 21:16
Also look at Project-X to extract and repair your streams. It is absolutly magic for getting the AV sync correct.

Google for "Project-X site:doom9.org" there is a whole section of help pages on how to use this confusing program.