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

Nicolas George george at nsup.org
Tue Aug 23 17:53:28 EEST 2016


Le septidi 7 fructidor, an CCXXIV, Stefano Sabatini a écrit :
> Bump.
> 
> So, basically, what are the features that you want to add?
> I can list a few:
> 
> - have multiple streams (with media type and optionally encoding,
>   assumes base64 by default) in a dedicated header
> 
> - specify codec parameters: this could be done serializing
>   AVCodecParameters. This is the part which would be less robust.
> 
> The important point to keep in mind is that this is meant to be an
> internal format, so it should be used internally (e.g. to mux data)
> coming from an external source, and we give no guarantee that the
> format will be robust to changes in libavformat/libavcodec (e.g. in
> case AVCodecParameter is extended).
> 
> My main objection to the ffprobe format is that it's not easily
> parseable, but I can reconsider it in case there is a strong request
> for that.

Sorry for the delay. Here is the patch; as you can see it is two and a half
years old. IIRC, it used to work with the output of "ffprobe -show_format
-show_streams -show_packets -show_data", provided the output was edited to
put the sections in the required order.

The benefit from using ffprobe instead of a custom format is to not have yet
another variant of text format.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-add-ffprobe-demuxer.patch
Type: text/x-diff
Size: 12133 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160823/f063763a/attachment.patch>
-------------- 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/20160823/f063763a/attachment.sig>


More information about the ffmpeg-devel mailing list