[FFmpeg-devel] [PATCH] lavf: add textdata virtual demuxer and demuxer

Stefano Sabatini stefasab at gmail.com
Thu May 19 18:50:17 CEST 2016


On date Thursday 2016-05-19 18:45:22 +0200, Stefano Sabatini encoded:
> This format is useful to inject custom user data into streams.
> ---
>  doc/demuxers.texi           |  40 +++++++++
>  doc/muxers.texi             |  31 +++++++
>  libavformat/Makefile        |   2 +
>  libavformat/allformats.c    |   1 +
>  libavformat/fftextdatadec.c | 212 ++++++++++++++++++++++++++++++++++++++++++++
>  libavformat/fftextdataenc.c | 103 +++++++++++++++++++++
>  6 files changed, 389 insertions(+)
>  create mode 100644 libavformat/fftextdatadec.c
>  create mode 100644 libavformat/fftextdataenc.c

Short explanation: I needed some way to inject serialized data packets
through stream-copy, so I implemented this format. The other patches
are related (since I needed to inject timed ID3 data).

I'm fine with extending it with other options, or to use an
alternative solution (if exists).
-- 
FFmpeg = Fast and Fast Most Patchable Enlightened Geek


More information about the ffmpeg-devel mailing list