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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to