[FFmpeg-devel] [RFC] ac3enc: how do I force ac3 encodertooutput frames with the same size?
Michael Niedermayer
michaelni at gmx.at
Tue Dec 25 20:04:07 CET 2012
On Tue, Dec 25, 2012 at 06:41:03PM +0100, Piotr Bandurski wrote:
> Hi,
>
> > if you want 280 then you need 16078.125 bits per second
> >
> > you could try
> > 16078
>
> coded_frame_size: 279
>
> [ac3 @ 018ecb98] hdr.bitstream_id: 10
> [ac3 @ 018ecb98] hdr.frame_size: 278
> [ac3 @ 018ecb98] hdr.bitstream_id: 10
> [ac3 @ 018ecb98] hdr.frame_size: 280
> [ac3 @ 018ecb98] hdr.bitstream_id: 10
> [ac3 @ 018ecb98] hdr.frame_size: 280
> [ac3 @ 018ecb98] hdr.bitstream_id: 10
> [ac3 @ 018ecb98] hdr.frame_size: 280
>
> > 16079
>
> coded_frame_size: 280
>
> [ac3 @ 018ecb98] hdr.bitstream_id: 10
> [ac3 @ 018ecb98] hdr.frame_size: 278
> [ac3 @ 018ecb98] hdr.bitstream_id: 10
> [ac3 @ 018ecb98] hdr.frame_size: 280
> [ac3 @ 018ecb98] hdr.bitstream_id: 10
> [ac3 @ 018ecb98] hdr.frame_size: 280
> [ac3 @ 018ecb98] hdr.bitstream_id: 10
> [ac3 @ 018ecb98] hdr.frame_size: 280
>
> > 18375
>
> coded_frame_size: 320
>
> [ac3 @ 018ecb98] hdr.bitstream_id: 10
> [ac3 @ 018ecb98] hdr.frame_size: 348
> [ac3 @ 018ecb98] hdr.bitstream_id: 10
> [ac3 @ 018ecb98] hdr.frame_size: 348
> [ac3 @ 018ecb98] hdr.bitstream_id: 10
> [ac3 @ 018ecb98] hdr.frame_size: 348
> [ac3 @ 018ecb98] hdr.bitstream_id: 10
> [ac3 @ 018ecb98] hdr.frame_size: 348
i assume none of these plays with the real decoder ?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121225/dc1d8660/attachment.asc>
More information about the ffmpeg-devel
mailing list