hi, I've recently found this post
https://forum.videohelp.com/threads/339481-How-do-I-trim-audio-with-AVIsynth#post2110741
where is suggested to use the AudioDub command.
my script is like this:
then I've set up MeGUI to output an mkv instead of a RAWAVC, but I can't find any audio track into it,Code:LoadPlugin("C:\MeGUI-2913-64\tools\ffms\ffms2.dll") Video=FFVideoSource("C:\h264, 1080p24.mkv", fpsnum=24000, fpsden=1001, threads=1).AssumeFPS(25,1) Audio=FFAudioSource("C:\English, 5.1 channels, 24 bits, 48kHz.dtsma_25fps.ac3") AudioDub(Video,Audio) Loop(0,12508,13634).Loop(0,14726,15444).Loop(0,15263,15631).Loop(0,16170,16742).Loop(0,16975,17153).Loop(0,17274,18366).Loop(0,17973,18226).Loop(0,18715,18984).Loop(0,19917,20399).Loop(0,20747,20800) Loop(0,21924,22243).Loop(0,22774,22959).Loop(0,23370,23521).Loop(0,23544,23877).Loop(0,26480,26754).Loop(0,27066,27165).Loop(0,29177,29277).Loop(0,29250,29262).Loop(0,30385,31237).Loop(0,32616,33174) Loop(0,40060,41734).Loop(0,43962,45403).Loop(0,66659,66659).Loop(0,135095,136355).Loop(0,137125,137544).Loop(0,138105,138460).Loop(0,138652,138889) Prefetch(7)
I just wanna edit the audio according to the Loops, so I can extract it and use it.
But I'm not sure I've understood well how to use the "audiodub" command.
can I have some help please?
edit: sry nevermind, I got it now. I didn't noticed that the script also appears in the MeGUI "Audio Encoding - Track 1" Tab.
So, I don't even have to encode the video, I just set up the correct bitrate in the "Encoder settings" Config and
then I press the "Audio Encoding Queue" button, so MeGUI works on the audio track only, cutting it according to the loops.
it works. thx to poisondeathray.
The only doubt I have left is whether it is better to convert the audio to 25fps and then cut it,
or cut it at 23.976 and then convert it to 25fps.
+ Reply to Thread
Results 1 to 1 of 1
-
Last edited by maudit; 17th Feb 2022 at 10:02.