Bug#803822: gst-libav1.0: FTBFS with FFmpeg 2.9

Sebastian Dröge slomo at coaxion.net
Tue Jan 19 07:45:14 UTC 2016


On Di, 2016-01-19 at 00:14 +0100, Andreas Cadhalpun wrote:
> 
> > This now works with 2.8 and ffmpeg git master just fine without
> > possibly breaking with either version. Let me know if you still see
> > anything problematic.
> 
> I cherry-picked these four patches onto 1.6.2-1 (in sid) and it
> built fine with ffmpeg git master.
> 
> However, I don't understand your reasoning for not applying the patch
> removing use of FF_API_EMU_EDGE.
> It's only used in ffmpeg for backwards compatibility and thus
> removing this from gst-libav1.0 now should work fine.
> Or did you encounter any problems?

snowenc.c is still using it in some way, look for FF_API_EMU_EDGE in
the code. I didn't look closer though, maybe it can be removed, maybe
not.

> It would be nice to apply this patch now, as it seems to be the only
> API still used by gst-libav1.0, which is going to be removed on the
> next soversion bump.

In version.h
#define FF_API_EMU_EDGE          (LIBAVCODEC_VERSION_MAJOR < 58)

master is still at 57 so it probably will be after 2.9 (or will it be
called 3.0?) that this happens. In any case, once that is removed it's
also trivial to make gst-libav build again.

> For the bump after the next one, there are some more deprecated APIs
> to deal with:
>  * FF_API_MPV_OPT
>  * FF_API_QUANT_BIAS
>  * FF_API_RC_STRATEGY
>  * FF_API_CODED_FRAME

done

>  * FF_API_MOTION_EST
>  * FF_API_AVPICTURE

done

>  * FF_API_AVPACKET_OLD_API

done

> Just mentioning it, in case you get bored again. ;)

The others can get done once it's time, it's mostly a matter of
removing some lines of code in those cases. Unless you feel like
providing patches :)

> What remains is to get a fixed gst-libav1.0 version into sid.
> Can you give an estimate, when this will happen?

We're going to release 1.6.3 some time this week, when I upload that to
sid I'll include the patches. Why so impatient? ffmpeg 2.9/3.0 is not
even released yet, no snapshot is in experimental, nothing :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-gstreamer-maintainers/attachments/20160119/23c8394b/attachment.sig>


More information about the pkg-gstreamer-maintainers mailing list