[x264-devel] Re: size of output bitstream
L.Guo
leaveye.guo at gmail.com
Tue May 29 09:08:37 CEST 2007
There is a member named 'fps' in struct x264_ratecontrol_t.
According the coded frames count, the frequency and the total bits.
There may be a reasonable way to get the total bitrate.
------------------
L.Guo
2007-05-29
-------------------------------------------------------------
From: Hoda Roodaki
At: 2007-05-29 14:50:42
Subject: Re: [x264-devel] Re: size of output bitstream
Thanks for your help, but can we produce the total bit rate with the
help of this variable or not? Is there any distinct variable in the
code which contains the total bitrate of a sequence?
On 5/29/07, L.Guo <leaveye.guo at gmail.com> wrote:
> Hi,
>
> Notice this code at the end of function x264_slice_write():
>
> x264_nal_end( h );
>
> /* Compute misc bits */
> h->stat.frame.i_misc_bits = bs_pos( &h->out.bs )
> + NALU_OVERHEAD * 8
> - h->stat.frame.i_itex_bits
> - h->stat.frame.i_ptex_bits
> - h->stat.frame.i_hdr_bits;
>
> Wish it is helpful.
>
> ------------------
> L.Guo
> 2007-05-29
--
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html
More information about the x264-devel
mailing list