[Libav-user] Is there a way to encoding PCM to AAC?

Funta lkm9125 at gmail.com
Mon Feb 24 15:33:02 CET 2014


Problem solved
I had to guess channel layout if there is no channel layout value

if(in_acodec->channels > 0 && in_acodec->channel_layout == 0)
	in_acodec->channel_layout =
av_get_default_channel_layout(in_acodec->channels);
else if(in_acodec->channels == 0 && in_acodec->channel_layout > 0)
	in_acodec->channels =
av_get_channel_layout_nb_channels(in_acodec->channel_layout);

The output has well transcoded
But, I'm wondering pcm channels how to be plenty
My expectating channels are mono(1) or stereo(2)
Is there PCM 3 channels or more(e.g. 5, 7.1) possible exist?



--
View this message in context: http://libav-users.943685.n4.nabble.com/Is-there-a-way-to-encoding-PCM-to-AAC-tp4659145p4659311.html
Sent from the libav-users mailing list archive at Nabble.com.


More information about the Libav-user mailing list