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

Nicolas George george at nsup.org
Tue Jun 28 11:42:42 CEST 2016

Le decadi 10 messidor, an CCXXIV, Stefano Sabatini a écrit :
> +The fftextdata bytestream consists of a sequence of packets. Each
> +packet starts with a timestamps expressed in a format recognized by
> +FFmpeg (see
> + at ref{time duration syntax,,the Time duration section in the ffmpeg-utils(1) manual,ffmpeg-utils})
> +followed by a sequence of spaces and the base64 encoded data for the
> +packet, terminated by ";". The data representation may contain
> +interleaved space characters (a space, a tab, or a newline) which are
> +ignored.
> +
> +At the moment a single stream can be represented by an fftextdata
> +bytestream.

I like the idea very much, but I feel the format is not very sympathetic to
future extensions.

I had implemented a similar feature in the past, but I did not go to the
end. My idea was to use the default output format of ffprobe (thus,
hexadecimal rather than base64). The parser works, but I was stuck with the
problem that ffprobe outputs -show_format after -show_packets. I can post
the old patch on the list if you want.


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

More information about the ffmpeg-devel mailing list