[Libav-user] Detecting bit rate from live stream
mtaha.ansari at gmail.com
Tue Jan 22 05:37:11 CET 2013
I've been looking deeper into this, unfortunately so far I could not find a
way to detect live stream's bit rate, or any way I could some how 'stuff'
custom data (which would be bit rate in my case) with the encoder, and
extract that on the network decoding end.
Kindly, could anyone guide me how can I achieve this? Also any hints are
Thanks for your time...
On Wed, Jan 16, 2013 at 12:48 PM, Taha Ansari <mtaha.ansari at gmail.com>wrote:
> I am using h264 encoding to transmit video to destination network address
> using udp protocol. I also want to detect bit rate of the encoded frame on
> receiver end. In the pFormatCtx->bit_rate, and pCodecCtx->bit_rate, I see
> on receiver end, they are all zero. I understand since it is live streaming
> bit rate isn't stuffed there, but I would like to know if there is any way
> I could retrieve actual bit rate frame was transmitted on, on client side
> (i.e. decoder side decoding video over network).
> Can anyone kindly provide some guidance or tips on how to do this?
> Thanks for your time!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user