[FFmpeg-devel] [PATCH] avcodec[/format]/webpenc: use WebPAnimEncoder API to generate animated WebP

Michael Niedermayer michaelni at gmx.at
Fri Mar 27 18:07:37 CET 2015


On Fri, Mar 27, 2015 at 01:54:31PM -0300, James Almer wrote:
> On 27/03/15 1:50 PM, Michael Niedermayer wrote:
> > On Fri, Mar 27, 2015 at 05:01:58PM +0100, Pascal Massimino wrote:
> >> Michael,
> >>
> >> On Fri, Mar 27, 2015 at 1:37 PM, Michael Niedermayer <michaelni at gmx.at>
> >> wrote:
> >>
> >>> On Fri, Mar 27, 2015 at 11:02:09AM +0100, Pascal Massimino wrote:
> >>>> Hi,
> >>>>
> >>>> $subject
> >>>>
> >>>> $attached says:
> >>>> ------------------------------------------------------------------------
> >>>> This API is available at head (MUX_ABI_VERSION >= 0x0104), is stable,
> >>>>  and will be made official in future release.
> >>>> For compatibility, the previous code is left as fallback.
> >>>>
> >>>> Dont' forget to use --enable-libwebp as ./configure option.
> >>>>
> >>>> This new code handles video, so that something like
> >>>>    ffmpeg -i video.mp4 -y anim.webp
> >>>> should just work.
> >>>>
> >>>> -loop option is also supported.
> >>>> ------------------------------------------------------------------------
> >>>>
> >>>> Comments welcome!
> >>>> skal/
> >>>
> >>> breaks build if libwebp* is unavailable
> >>> make
> >>> CC      libavformat/webpenc.o
> >>> /home/michael/ffmpeg-git/ffmpeg/libavformat/webpenc.c:27:25: fatal error:
> >>> webp/encode.h: No such file or directory
> >>>
> >>
> >> oh indeed. What would you recommend as #ifdef protection? Do we need a new
> >> #define?
> > 
> > yes
> > see configure HEADERS_LIST and check_header
> 
> CONFIG_LIBWEBP should be enough, it guarantees webp/encode.h exists. No need for a new header.

yes indeed

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150327/140cb2cc/attachment.asc>


More information about the ffmpeg-devel mailing list