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
+ Reply to Thread
Results 1 to 6 of 6
-
-
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 -
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. -
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 -
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\*.* )
.\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
-
If cameras add ten pounds, why would people want to eat them?
Similar Threads
-
MKV AAC GUI Converter with Nero AAC Codec
By prijatelj.v in forum AudioReplies: 4Last Post: 26th Mar 2012, 08:41 -
ffdshow codec in VirtualDub
By funky honky in forum EditingReplies: 2Last Post: 23rd Jun 2010, 11:53 -
FFDshow GUI working slowly
By Digiface in forum Software PlayingReplies: 0Last Post: 23rd May 2009, 14:35 -
AC3 on m4v not working, 48KHz AAC not working, 44.1KHz does?!?!
By dmjerbear in forum AudioReplies: 14Last Post: 11th May 2008, 18:23 -
ffdshow S/PDIF not working
By AuroEdge in forum Software PlayingReplies: 0Last Post: 22nd Jan 2008, 21:20