[Libav-user] Detecting bit rate from live stream

Taha Ansari mtaha.ansari at gmail.com
Wed Jan 16 08:48:49 CET 2013


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...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130116/a3f6e6e9/attachment.html>

More information about the Libav-user mailing list