On 07/05/14 00:37, Alessandro Ghedini wrote:
> Hi,
>
> I've been working on merging the GIF encoder from ffmpeg, since libav's
> doesn't
> seem to work very well (in my tests anyway), and my initial approach has been
> to
> simply copy/paste lavc/gif.{c,h} and lavf/gif.c, make them compile and see how
> it goes (I'm using libav.git).
>
> While I've been able to compile the whole thing (with a little bit of work,
> due
> to missing av_copy_packet() and ff_alloc_packet2()),
av_copy_packet in a muxer sounds strange, in libav we do not have such
function since avpackets are refcounted.
ff_alloc_packet2 from what I can recall keeps 1 packet cache in
avcodeccontext, but then if you always copy/duplicate the avpacket
produced it gets a little pointless having it, even worse if you have mt
encoders.
> I'm still having problems apparently related to pixel formats.
Today I'll be traveling so I might look at it when flying to Berlin,
thanks a lot for your effort =)
lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel