[Libav-user] AC3 -> LPCM -> MPEG2 PES

Pavel Sokolov pavel at sokolov.me
Fri Feb 24 13:57:45 CET 2012


Hi All!

I need to get LPCM data from ac3, to add it later to MPEG2 PES packet.
I'm using "avcodec_decode_audio4" to decode ac3 packet.
In which format the resulting AVFrame structure stores data? Is it in 
LPCM format or something else format?

-- 

With best regards, Pavel A. Sokolov
mobile: +7(921)419-1819
skype: pavel_a_sokolov



More information about the Libav-user mailing list