Thanks for your comments Martin - > > 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. >
The existing info log in hap_init() will print eg "6 chunks requested but 1 used." as is already done when the user's choice is overridden to divide frames evenly. Is that sufficient or do you think a reason should be displayed? 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). > As Snappy is disabled by default, I think it would be a mistake to have the default configuration of ffmpeg encode Hap without Snappy. Skipping the Snappy compression stage is not generally desirable and it should not be the default behaviour. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel