This commit is contained in:
Michael Johnson 2013-05-27 04:14:48 -07:00
commit 36e8b88cf0

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