VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Member
    Join Date
    Feb 2011
    Location
    Croatia
    Search Comp PM
    I recorded a .ts from DVB-T with DVBViewer and I want to encode this .ts to x264/AAC .mkv
    I use MeGUI for the encode So I go to file indexer, and I index this .ts. I get a .d2v file, and a .mp2 file. The .mp2 file is called 02-04_20-16-03_RTL 2_Chuck PID 7f0 L2 2ch 48 192 DELAY -232ms.mp2 So the delay is -232 ms and I wrote this script :

    Code:
    LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
    DGDecode_mpeg2source("E:\Snimanje\New folder (103)\02-04_20-16-03_RTL 2_Chuck.d2v")
    Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI\tools\yadif\yadif.dll")
    DelayAudio(-0.232)
    Trim(8,54)+Trim(450,514)+Trim(854,1251)
    Yadif(order=1)
    #crop
    Spline36Resize(624,352) # Spline36 (Neutral)
    #denoise
    But I don't get the expected result Could you help me ?
    Quote Quote  
  2. You haven't loaded the audio, only the video


    LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
    Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI\tools\yadif\yadif.dll")
    vid=DGDecode_mpeg2source("E:\Snimanje\New folder (103)\02-04_20-16-03_RTL 2_Chuck.d2v")
    aud=FFAudioSource("02-04_20-16-03_RTL 2_Chuck PID 7f0 L2 2ch 48 192 DELAY -232ms.mp2")
    AudioDub(vid,aud)
    DelayAudio(-0.232)
    Trim(8,54)+Trim(450,514)+Trim(854,1251)
    Yadif(order=1)
    #crop
    Spline36Resize(624,352) # Spline36 (Neutral)
    #denoise

    For FFAudioSource you need
    http://code.google.com/p/ffmpegsource/

    Or you can use another source filter to load the mp2 audio like NicMPG123Source() using nicaudio
    Quote Quote  
  3. Member
    Join Date
    Feb 2011
    Location
    Croatia
    Search Comp PM
    Thank you for the help, but the the result is the same

    This is the current script :

    Code:
    LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
    Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI\tools\yadif\yadif.dll")
    LoadPlugin("C:\Users\Downloading\Desktop\FFAudioSource\ffms2.dll")
    vid=DGDecode_mpeg2source("E:\Snimanje\New folder (103)\02-04_20-16-03_RTL 2_Chuck.d2v")
    aud=FFAudioSource("E:\Snimanje\New folder (103)\02-04_20-16-03_RTL 2_Chuck PID 7f0 L2 2ch 48 192 DELAY -232ms.mp2")
    AudioDub(vid,aud)
    DelayAudio(-0.232)
    Trim(8,54)+Trim(450,514)+Trim(854,1251)
    Yadif(order=1)
    #crop
    Spline36Resize(624,352) # Spline36 (Neutral)
    #denoise
    The problem is that the video is trimmed like it should be, but the audio isn't. The commercial adds are trimed ok, but the sound of them is still there... What do I need to change in the script to trim the video AND audio ?
    Quote Quote  
  4. the script does specify trim to audio & video

    are you loading the .avs script as input into the megui audio section ? or the audio file ?

    preview the .avs script in mpc
    Quote Quote  
  5. Member
    Join Date
    Feb 2011
    Location
    Croatia
    Search Comp PM
    When I load the .avs as audio input into the MeGUI audio section, then the everything is ok, including the audio. But if the input is the audio file(which MeGUI automatically puts there when I index the .ts) then the audio isn't trimmed like it is trimmed when the the audio input is the .avs How can I make it so that MeGUI automatically uses the .avs as audio input instead of the audio file ?
    Quote Quote  
  6. The cuts are specified in the script, so you have to load the .avs script for the cuts to take effect. Does that make sense?

    If you load the audio natively, there are no cuts applied

    I'm not sure how to "automatically" do it. But it takes a few seconds to load the .avs script into the audio section. Surely it's not that inconvenient ?

    I think another way is to use the avs cutter and the audio cutter in the tools menu. Then you would enter the cuts file (clt) into the audio section. I think the other way is easier
    Quote Quote  
  7. Member
    Join Date
    Feb 2011
    Location
    Croatia
    Search Comp PM
    Yeah, of course that it makes sense And of course that it is not a big problem Thank you very much for your help
    Quote Quote  



Similar Threads

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