[FFmpeg-devel] utils.c, ffmpeg.h, ffmpeg.c : accurately track kbps in each non-seekable ost

Michael Smithng michael at transparentpixel.com
Tue Aug 14 04:16:53 CEST 2012


These patches are in reference to:

https://ffmpeg.org/trac/ffmpeg/ticket/1446

Initially determined that the output data for rtsp was inaccurate (and subsequently
non-existent). Further investigation led to the observation that the observed bitrate
derived from print_report was ending up being an average over a long duration. Given
I'm dealing with live streaming, this wasn't going to work.

This should accurately track the amount of data packaged up for each output stream.

Additions have been commented with CK for ease of locating. This is my first pass at
getting something submitted for review.

Thanks,

Michael Smithng


More information about the ffmpeg-devel mailing list