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 encodeSo 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 :
But I don't get the expected resultCode: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) #denoiseCould you help me ?
![]()
+ Reply to Thread
Results 1 to 7 of 7
-
-
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 -
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
-
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 ?
-
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 -
Yeah, of course that it makes sense
And of course that it is not a big problem
Thank you very much for your help
Similar Threads
-
Audio delay reported in MKV and what to do with it when adding new audio
By pascal in forum AudioReplies: 14Last Post: 30th Dec 2011, 11:07 -
Adding audio stream converted from one with delay in MKV
By pascal in forum EditingReplies: 1Last Post: 19th Dec 2011, 14:45 -
Convert mkv to mpeg 2 audio delay.
By Mastertreetop in forum Video ConversionReplies: 1Last Post: 4th Jul 2011, 16:04 -
Video scattering , audio sync variable delay in MKV files
By prabhakarlad in forum Software PlayingReplies: 13Last Post: 22nd Apr 2011, 14:55 -
VOB to H264 MKV (AVI Synth and audio delay help)
By PsyCLown in forum Video ConversionReplies: 1Last Post: 20th Feb 2009, 01:52