VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. Does anyone know how to get the AAC codec in ffdshow to work?

    I've tried it with 2/3/6 channels and I read soemone else tried 7 channels
    None of them seem to work.

    I'm using MPC and have tried internal/external settings but dont fully understand them
    so maybe I'm doing something wrong - but I know others have trouble with AAC

    cheers
    Quote Quote  
  2. what is the file? what container? use mediainfo if you don't know

    If you enable aac in the ffdshow audio configuration, it should work, but you may need a splitter installed depending on the file type e.g. haali media splitter
    Quote Quote  
  3. Hi - thanks

    The file container doesnt seem to matter - .ts MKV etc. But the reason I'm trying to do this
    is to play my PVR files from a Humax TV box on my laptop via MPC and the box only creates AAC with various channels.
    The problem apparently is the faad codec doesn't seem to work
    I am using the haali splitter
    all variations of enabled and not have been tried (I spent hours fiddling as I have a lot of new hardware I'm trying
    to set up and make compatible.)

    Various bitrates and channels have been seen to fail and I've never managed to get any AAC file to play.

    Reading the ffdshow bug list similar reports have been made but nothing ever seems to be done or reported back.
    Quote Quote  
  4. one variation of AAC that some boxes use is LATM/LOAS AAC. It's not supported by ffdshow. Use mediainfo to determine if this is what you have

    You can try LAV splitter and audio decoder, but you would have to configure you directshow filters & set merits. I think newest versions of VLC should be able to play it
    Quote Quote  
  5. Member
    Join Date
    Nov 2009
    Location
    United States
    Search Comp PM
    Well here is my suggestion...use FFMpeg to convert the audio stream over to PCM\WAV then convert it over to AAC using NeroAAC...then build a new video container with the new audio stream and the old video stream.

    FFMpeg.exe -y -i "C:\Video.avi" -c:a:0 pcm_s16le "C:\Audio.wav"
    NeroAacEnc.exe" -ignorelength -lc -q 40 -if "C:\Audio.wav" -of "C:\Audio.mp4"
    FFMpeg.exe -y -i "C:\Video.avi" -c:v:0 copy -i "C:\Audio.mp4" -c:a:0 copy "C:\Video.mkv"
    Del "C:\Video.avi"
    Del "C:\Audio.wav"
    Del "C:\Audio.mp4"

    The resulting file should be playable in MPC.

    If you got several of these to convert you could probably put together a AutoIt\Batch\JavaScript\PowerShell script to automate this.

    Example Batch Script
    Code:
    @Echo Off
    
    If Not Exist ".\Temp\" MKDir ".\Temp\"
    If Not Exist ".\Videos New\" MKDir ".\Videos New\"
    
    CD ".\Videos Old\"
    For %%i in (*.avi) Do (
    Start /Wait ..\FFMpeg\Bin\ffmpeg.exe -i ".\%%~ni.avi" -c:a:0 pcm_s16le -f wav - | "..\Nero AAC\neroAacEnc.exe" -ignorelength -lc -q 40 -if - -of ..\Temp\Audio.mp4
    Start /Wait ..\FFMpeg\Bin\ffmpeg.exe -y -i ".\%%~ni.avi" -c:v:0 copy -i ..\Temp\Audio.mp4 -c:a:0 copy "..\Videos New\%%~ni.mkv"
    Del ..\Temp\*.*
    )
    Folder structure should be like so:
    .\MyBatchScript.bat
    .\FFMpeg\Bin\FFmpeg.exe
    .\Nero AAC\neroAacEnc.exe
    .\Temp\
    .\Videos Old\
    .\Videos New\

    Original videos go in ".\Videos Old\" and the resulting ones will be placed in ".\Videos New\"

    I haven't ran this script but it "should" work.
    Last edited by Nologic; 13th Oct 2011 at 21:48. Reason: Added Batch Script Example
    Quote Quote  
  6. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    Stupid question, perhaps, but just to be safe - are you using the 32-bit version of ffdshow alongside Haali and MPC? (Unless you're using MPC-HC, in which case, you'd have to be using the 32-bit version of that as well...)
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  



Similar Threads

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