View Full Version : Autoload audio into avisynth script
kostek00
17th July 2015, 20:21
Hello, I'm wondering is there a way to setup avisynth profile in MeGui to make it load automaticly audio into avisynth script after indexing.
For example this is what is in configuration:
<input>
<deinterlace>
<crop>
<resize>
<denoise>
"<input>" stands for autoload video into script. Is there a way to do that with audio?
hello_hello
18th July 2015, 17:12
I don't think there'd be any way to do it because the input is dependant on the indexer being used and it's different for audio. For instance LWLibavVideoSource is used for video and LWLibavAudioSource is used for audio when L-Smash is indexing.
However for any file format where MeGUI can't extract the audio, it creates a script to encode it instead (if you include the audio in the indexing job). For ffms2 and L-Smash that'd be any container that isn't MKV. Once MeGUI creates the script for encoding the audio you could always copy and paste the required part, although you'd probably still need to modify the script properly so Avisynth outputs both.
Maybe you could try AviSynthesizer (http://forum.doom9.org/showthread.php?t=166820). It adds an option to the Explorer right click SendTo menu for creating scripts and you can create your own script templates. After right clicking on a file and selecting SendTo/Avisynthesizer a little window opens containing the list of templates. Pick the desired one, and it creates the script for you. If you use a method for opening a script that requires indexing (ffms2 and L-Smash), it'll be indexed the first time you open it.
kostek00
18th July 2015, 19:08
Thanks, I will try it.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.