From 9d491c14b0102a7b727ad8360c0faa356261e1ba Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Mon, 27 May 2013 08:14:09 -0300 Subject: [PATCH] Enable the use of the experimental AAC codec --- autoProcess/Transcoder.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoProcess/Transcoder.py b/autoProcess/Transcoder.py index 66cc3beb..5dd1dc95 100644 --- a/autoProcess/Transcoder.py +++ b/autoProcess/Transcoder.py @@ -92,6 +92,9 @@ def Transcode_directory(dirName): if len(outputAudioCodec) > 0: command.append('-c:a') command.append(outputAudioCodec) + if outputAudioCodec == 'aac': # Allow users to use the experimental AAC codec that's built into recent versions of ffmpeg + command.append('-strict') + command.append('-2') else: command.append('-c:a') command.append('copy')