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:
And here's a SS of GSpot, just in case;
The mpg file:
The mv2 file:
Please help!
(Posted the same post on Doom9 forums since I need this resolved urgently)
+ Reply to Thread
Results 1 to 5 of 5
-
-
Why don't you want to go the standard way with d2v ('save project' mode)?
LoadPlugin("..\DGDecode.dll")
MPEG2Source("...\video.d2v")
In you experiments the problem can be with DirectShow configuration on PC, also you don't use fps/convertfps parameters in DirectShowSource that might be necessary etc. In any case MPEG2Source is a more reliable thing.
P.S. added the missing " " to video.d2v -
Script error: there is no function named "MPEG2Source"
This is the error I get now...
I got my DGDecode.dll from dgmpgdec is there anything wrong with that? Could that be the problem?
The script:
Is there anything wrong with the script? -
You first 'opened' the file, then loaded the decoder plugin DGDecode providing the MPEG2Source function, load it in the first line.
Similar Threads
-
How to append mpeg files in avisynth?
By dylz in forum EditingReplies: 3Last Post: 19th Mar 2011, 19:20 -
Using Avisynth with MPEG Video Wizard DVD
By robjv1 in forum Newbie / General discussionsReplies: 2Last Post: 9th Jul 2010, 20:18 -
DGIndexed MPEG or AVI wrapped MPEG best for AVISynth?
By flywitness in forum EditingReplies: 1Last Post: 12th Sep 2008, 09:08 -
AVI to MPEG with HCEnc and Avisynth help!!
By michcio in forum Video ConversionReplies: 127Last Post: 18th Jul 2008, 18:54 -
Lossless editing of .m2t (MPEG-2 TS) in Avisynth
By Tigon in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 2Last Post: 8th May 2007, 08:23