[FFmpeg-devel] Adding a new output device

Nicolas George george at nsup.org
Thu Mar 1 01:12:21 EET 2018

Philip Prindeville (2018-02-28):
> I’m working on network test and measurement and I’ve been tasked to
> write a test suite for streaming video performance.
> This will run inside headless embedded devices (i.e. routers, probes,
> etc) so has no hardware to render to.  It’s the streaming itself and
> the end-to-end network transport that I’m interested in, observing
> jitter, stalls, etc.
> To that end, I wanted to write an output device that I can select as
> the output driver to which the stream will be parsed and synchronized
> to the appropriate frame rate, collect statistics for CBR/VBR/ABR,
> etc. but which doesn’t actually do any rendering.
> Whatever I write I’ll upstream, but it seems like it might be
> generically useful.
> I’m a network head and I’ve hacked DVB-S, so I’m vaguely familiar with
> MPEG-4 AVC stream format.  I want to inspect enough of the stream to
> be able to ensure synchronization with the frame rate, correctness of
> the stream, etc. but not the expensive/unnecessary parts.
> Any guidance for someone jumping into this for the first time?

Quick answer: look if "ffmpeg -i ... -f framecrc -" could be a good base
for your project; and look at -f null for the wrapped-frame
optimization. If you work at the muxer level, you do not need to know
anything about the bitstream format.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180301/a61b311a/attachment.sig>

More information about the ffmpeg-devel mailing list