[FFmpeg-devel] [PATCH] lavf: add zip protocol

Nicolas George george at nsup.org
Fri Mar 27 15:49:39 CET 2015


Le septidi 7 germinal, an CCXXIII, Lukasz Marek a écrit :
> TODO: add doc, update doc/APIChanges, bump minor

This is interesting, but the use case must be considered very carefully,
there are tons of things that can be done with a zip file, even relevant to
FFmpeg:

- demux a bunch of images as a kind of image2 stream;

- present an archive of font files as attachments (with the patch I have not
  yet pushed to MPlayer, that means you could use them directly);

- read several files in parallel (with split audio and video for example;
  does the zip format allow interleaving);

- etc.

> +    {"file_index", "set file index", OFFSET(file_index), AV_OPT_TYPE_INT, {.i64 = 0}, -1, INT_MAX, D|E },

That is not very user-friendly.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list