Merge pull request #141 from nightexcessive/patch-1

Allow the use of the experimental AAC codec
This commit is contained in:
Clinton Hall 2013-05-27 05:09:31 -07:00
commit 3a253d4525

View file

@ -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')