[FFmpeg-soc] [soc]: r2021 - in eac3: ac3dec.h ac3dec_data.c ac3dec_data.h eac3dec.c

Michael Niedermayer michaelni at gmx.at
Tue Mar 18 03:23:35 CET 2008


On Tue, Mar 18, 2008 at 12:14:19AM +0100, Bartlomiej Wolowiec wrote:
> Currently, I'm trying to make changes which allow opening files with more 
> channels than 5.1. Now the decoder is written in a way, which allows 
> ac3_decode_frame to decode one frame, but additional channels in E-AC3 are 
> sent in separate frames. Due to this,  I have a question, how to solve it:
> - ac3_decode_frame function should decode many frames to get complete 
> information about outstream, or
> - ac3_decode_frame function should return outstream data when it is called for 
> the first frame from the next data package? 

The (E)AC-3 AVParser should split the (E)AC-3 stream so that the chunks of
data send to the decoder (ac3_decode_frame) are complete and contain all
channels.
So ac3_decode_frame() would receive as input several "ac3 frames" if some
channels are stored in future frames.

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20080318/69331fc5/attachment.pgp>


More information about the FFmpeg-soc mailing list