VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. 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:

    The mv2 file:


    Please help!

    (Posted the same post on Doom9 forums since I need this resolved urgently)
    Quote Quote  
  2. Member Alex_ander's Avatar
    Join Date
    Oct 2006
    Location
    Russian Federation
    Search Comp PM
    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
    Quote Quote  
  3. didn't know i could use that ;( tnx i'll try it
    Quote Quote  
  4. 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:
    MPEG2Source("C:\SAKE.d2v")

    LoadPlugin("VSFilter.dll")
    LoadPlugin("DGDecode.dll")

    TextSub ("notice.ass")
    Is there anything wrong with the script?
    Quote Quote  
  5. Member Alex_ander's Avatar
    Join Date
    Oct 2006
    Location
    Russian Federation
    Search Comp PM
    You first 'opened' the file, then loaded the decoder plugin DGDecode providing the MPEG2Source function, load it in the first line.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!