[FFmpeg-devel] [PATCH 2/2] fftools/ffmpeg: add an option for writing pre-muxing stats

Devin Heitmueller devin.heitmueller at ltnglobal.com
Wed Feb 8 17:59:43 EET 2023

On Wed, Feb 8, 2023 at 8:54 AM Anton Khirnov <anton at khirnov.net> wrote:
> Muxers are fundamentally consume-only, I don't see what stats could
> possibly be printed after muxing, even conceptually.

I can offer some examples, in particular because I generate lots of
such statistics after muxing in my private tree.

- Decklink output statistics - late arrival and drop counts for audio
and video packets, pipeline latency (time between submission to the
hardware and the callback indicating frame was played out), FIFO
levels within the module, video frames actually played out in last
second, audio samples played out in last second.

- SRT output - various SRT related statistics (lost packets,
retransmits, connection RTT, etc)

- HLS output - counters for various HTTP recoverable events (HTTP
redirects, resends, etc), packets written


Devin Heitmueller, Senior Software Engineer
LTN Global Communications
o: +1 (301) 363-1001
w: https://ltnglobal.com  e: devin.heitmueller at ltnglobal.com

More information about the ffmpeg-devel mailing list