Permalink
Browse files

Add line to allow testing of AAC encoding via libfaac.

Using native aac support will require converting audio to floats,
so put in a comment letting users enable AAC encoding for now if
they want to test AAC.

libfaac seems to work fine for generating streams playable on my iOS
devices and Roku player.
  • Loading branch information...
1 parent 0a6818f commit 76ed2bc95e6993a06f86bac08890b83c6542a2c5 @cpinkham cpinkham committed May 17, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 mythtv/programs/mythtranscode/transcode.cpp
@@ -1110,6 +1110,7 @@ int Transcode::TranscodeFile(const QString &inputname,
avfw2->SetContainer("mpegts");
avfw2->SetAudioCodec("libmp3lame");
+ //avfw2->SetAudioCodec("libfaac"); // --enable-libfaac to use this
avfw2->SetAudioBitrate(audioOnlyBitrate);
avfw2->SetAudioChannels(arb->m_channels);
avfw2->SetAudioBits(16);
@@ -1120,7 +1121,7 @@ int Transcode::TranscodeFile(const QString &inputname,
avfw->SetContainer("mpegts");
avfw->SetVideoCodec("libx264");
avfw->SetAudioCodec("libmp3lame");
- //avfw->SetAudioCodec("libfaac");
+ //avfw->SetAudioCodec("libfaac"); // --enable-libfaac to use this
if (hlsStreamID == -1)
hls = new HTTPLiveStream(inputname, newWidth, newHeight,

0 comments on commit 76ed2bc

Please sign in to comment.