[FFmpeg-devel] [PATCH 2/2] avcodec/hap: add "compressor" option to Hap encoder to disable secondary compression

Martin Vignali martin.vignali at gmail.com
Tue Nov 8 22:38:24 EET 2016


> > Adds "none" or "snappy" as options for "compressor". Selecting "none"
> disregards
> > "chunks" option: chunking is only of benefit decompressing Snappy.
> > ---


Maybe can be useful, to have a log,
if chunk_count != 1 and compression is none, to show to the user, that the
chunk count option will be override by 1.

Relative to this patch, with the none ( / snappy) parameter, libsnappy is
not require for the entire encoder now,
only when we set compression to snappy.
Maybe can be useful to have something like in the tiffenc.c, where Zlib, is
required for only deflate compression).

Martin


More information about the ffmpeg-devel mailing list