I trying to convert MKV files to AVI. Because MKV have more then one audio tract I have to demux it before open it in VirtualDub. But I do not know how to import AAC audio to VirtualDub using AVISynth. Although I've CoreAAC installed and AAC files are played properly in Media Player Classic. But I can't open them in AVISynth directly. I tried DirectShowSource("File.aac") but it returns could not open either video or audio, could not find proper codec combination.
As a temporal solution I "mux" aac to mka file and it opened in AVISynth properly, but I need extra time to pass throw one more muxing doing this way.
Could someone help me to open AAC files in AVISynth directly?
+ Reply to Thread
Results 1 to 14 of 14
-
-
Hi there.
I recommend "BassAudioSource()" for opening standalone compressed audio files:
http://forum.doom9.org/showthread.php?t=135855&highlight=bassaudio&page=2
You will also need the latest "Bass DLLs" from «un4seen.com».
HTH. -
No, unless there is a bug with that specific buildOriginally Posted by lovyagin
-
Oh, pam I doing something wrong? I took BassAudio.dll from 7z archive of https://www.videohelp.com/tools/BeHappy/old-versions#download and put to plugins directory of AVISynth. But it says no function named BassAudioSource()...
-
Sure, but this way it says could not load "BassAudio.dll"Originally Posted by poisondeathray
-
As I said, you will also need the files bass.dll AND bass_*.dll,
which should all be copied to a "PATHed" folder (usually the system32 directory). -
Am I need all of them, or bass_aac should be enough? I've copied it to a PATHed directory from plugins one, but it does not help...Originally Posted by El Heggunte
-
Thanks, I've just added Bass.DLL and everything works perfectlyOriginally Posted by Gavino
BassAudio.dll, Bass.dl,l Bass_aac.dll - all in PATHed or current directory, script
LoadPlugin("BassAudio.dll")
BassAudioSource("file.aac")
works finely, just strange clean gray video appears, this is weird, but not a problem.
Thanks you all again for help. -
BassAudioSource actually produces a video stream too (I think for diagnostic purposes). Usually you don't see this, since in most cases you would use the result with AudioDub and another video.Originally Posted by lovyagin
-
I use DirectShowSource("d:\file.mkv") to open mkv in virtualdub.
I think,therefore i am a hamster. -
Yep, sure, and there is KillVideo() at last...Originally Posted by Gavino
yep, I use it to encode video, but not audio, because it works fine if mkv has only one audio stream, but if contains two or more audio tracks demuxing is required. Just, well, probably I could use MKVToolnix (mmg, not mkvextract) to remux all them to mka files, not aac directly, and use DirectShowSource(), this is a way too, but I'll be more calm if I know how to open separate audio tracts in AVISynth too.Originally Posted by johns0
Similar Threads
-
How to open AVC and AAC in VirtualDub (AviSynth/DShowPlugin)?
By klischee in forum EditingReplies: 37Last Post: 8th Aug 2014, 03:38 -
Lost ability to use Avisynth script to open .flv file with virtualdub.
By DaneClark in forum Video ConversionReplies: 4Last Post: 20th Feb 2011, 12:33 -
How can I open iPhone 4 H264/AAC .MOV files in VirtualDub?
By Syclone0044 in forum EditingReplies: 1Last Post: 24th Nov 2010, 06:18 -
Error with Nero AAC encoder in XVID4PSP - "Could not open AAC encoder&
By TheViking in forum Video ConversionReplies: 2Last Post: 5th Nov 2009, 02:41 -
Avisynth script problem (aac to wav conversion)
By greggery in forum Video ConversionReplies: 0Last Post: 22nd Nov 2007, 12:59



Quote