VideoHelp Forum




+ Reply to Thread
Results 1 to 14 of 14
  1. Member
    Join Date
    Oct 2008
    Location
    Russian Federation
    Search Comp PM
    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?
    Quote Quote  
  2. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    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.
    Quote Quote  
  3. Member
    Join Date
    Oct 2008
    Location
    Russian Federation
    Search Comp PM
    Originally Posted by El Heggunte
    Hi there.
    I recommend "BassAudioSource()" for opening standalone compressed audio files
    Thanks for suggestion, I'll try it, but

    Originally Posted by El Heggunte
    You will also need the latest "Bass DLLs" from «un4seen.com».
    I suppose that BassAudioSource will use NOT a CoreAAC or FFDShow to decode audio? Doesn't it mean risk of lower quality result?
    Quote Quote  
  4. Originally Posted by lovyagin
    Doesn't it mean risk of lower quality result?
    No, unless there is a bug with that specific build
    Quote Quote  
  5. Member
    Join Date
    Oct 2008
    Location
    Russian Federation
    Search Comp PM
    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()...
    Quote Quote  
  6. Is that the error message?

    Did you try LoadPlugin("...\BassAudio.dll")
    Quote Quote  
  7. Member
    Join Date
    Oct 2008
    Location
    Russian Federation
    Search Comp PM
    Originally Posted by poisondeathray
    Is that the error message?

    Did you try LoadPlugin()
    Sure, but this way it says could not load "BassAudio.dll"
    Quote Quote  
  8. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    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).
    Quote Quote  
  9. Member
    Join Date
    Oct 2008
    Location
    Russian Federation
    Search Comp PM
    Originally Posted by El Heggunte
    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...
    Quote Quote  
  10. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    You need at least bass.dll as well as bass_aac.dll.
    Quote Quote  
  11. Member
    Join Date
    Oct 2008
    Location
    Russian Federation
    Search Comp PM
    Originally Posted by Gavino
    You need at least bass.dll as well as bass_aac.dll.
    Thanks, I've just added Bass.DLL and everything works perfectly

    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.
    Quote Quote  
  12. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by lovyagin
    works finely, just strange clean gray video appears, this is weird, but not a problem.
    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.
    Quote Quote  
  13. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    I use DirectShowSource("d:\file.mkv") to open mkv in virtualdub.
    I think,therefore i am a hamster.
    Quote Quote  
  14. Member
    Join Date
    Oct 2008
    Location
    Russian Federation
    Search Comp PM
    Originally Posted by Gavino
    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.
    Yep, sure, and there is KillVideo() at last...

    Originally Posted by johns0
    I use DirectShowSource("d:\file.mkv") to open mkv in virtualdub.
    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.
    Quote Quote  



Similar Threads

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