Re: xine-lib fails to build against ffmpeg 4.5

Xavier Bachelot <[email protected]> Thu, 20 Jan 2022 22:19:43 +0100
Newsgroups gmane.comp.video.xine.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------oNUuHE0zhqWkyHAwEg4J3r0m
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Le 20/01/2022 à 21:19, Petri Hintukainen a écrit :
> ti, 2022-01-18 kello 21:58 +0100, Xavier Bachelot kirjoitti:
>> Hi,
>>
>> Le 18/11/2021 à 17:17, Xavier Bachelot a écrit :
>>> Hi,
>>>
>>> xine-lib (both 1.2.11 and a current snapshot) fails to build
>>> against a
>>> snapshot of ffmpeg that will become ffmeg 4.5.
>>>
>>
>> I see progress has been made toward ffmpeg 5 compatibility, as xine-
>> lib
>> now compiles against it and does so since a long time, can you share
>> a
>> status on the state of the vaapi output ?
> 
> I tested vaapi with X11, and it seems to work just well. It just needs
> real X11, XWayland doesn't work.
> 
> I haven't tested vaapi with ffmpeg 5 yet.
> 
> There are some issues with video_out_vaapi optional OpenGL mode. With
> vaglx image is badly disorted, and with GLX pixmaps image is completely
> white. Disorted image could be driver issue. For white image I have no
> idea (I don't know when / with what HW it has been last tested).
> 
> Anyway, I don't know if it makes much sense to maintain this mode;
> there are already two other opengl video output plugins. Ideally, vaapi
> and vdpau could be used with the existing opengl2 plugin.
> 
> Recently I've been moving vaapi stuff to separate sub-module so that it
> can be plugged to ~ any video out module. It works quite well with
> opengl2 + egl (both X11 and Wayland), but needs still some minor
> cleanup...
> 
>> Also, it's been a long time since last xine-lib release, a lot of
>> good
>> stuff has been accumulating, and ffmpeg 5 compatibility, which has
>> been
>> released yesterday, seems a good opportunity to spread all this
>> goodness
>> to the world.
> 
> Agreed, it's over year since last release.
> 
Thanks for the answer, I'm going to give latest code a try.
Here's a patch to fix 'make dist' as my first finding.

Regards,
Xavier

--------------oNUuHE0zhqWkyHAwEg4J3r0m
Content-Type: text/x-patch; charset=UTF-8; name="xine-lib-fix_make_dist.patch"
Content-Disposition: attachment; filename="xine-lib-fix_make_dist.patch"
Content-Transfer-Encoding: base64

IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIFhhdmllciBCYWNoZWxvdCA8eGF2aWVyQGJh
Y2hlbG90Lm9yZz4KIyBEYXRlIDE2NDI3MTMyMDggLTM2MDAKIyAgICAgIFRodSBKYW4gMjAg
MjI6MTM6MjggMjAyMiArMDEwMAojIE5vZGUgSUQgZTE2YTNkNDM5ZmI1MGJhYzJlYTI1ZWI1
ZGE3NWFjMGNkMjg3MGMyMAojIFBhcmVudCAgODBlOWJhNzhmMDA3NjQzZTA1NTEwYjlmMWRk
NGExZDFhODNiMmE2YQpGaXggbWFrZSBkaXN0CgpkaWZmIC1yIDgwZTliYTc4ZjAwNyAtciBl
MTZhM2Q0MzlmYjUgc3JjL3ZpZGVvX2RlYy9NYWtlZmlsZS5hbQotLS0gYS9zcmMvdmlkZW9f
ZGVjL01ha2VmaWxlLmFtCVRodSBKYW4gMjAgMjI6MjA6MzYgMjAyMiArMDIwMAorKysgYi9z
cmMvdmlkZW9fZGVjL01ha2VmaWxlLmFtCVRodSBKYW4gMjAgMjI6MTM6MjggMjAyMiArMDEw
MApAQCAtMTAzLDcgKzEwMyw2IEBACiAJbGlidmRwYXUvdmRlY19od19oMjY0LmggXAogCWxp
YnZkcGF1L3ZkZWNfaHdfaDI2NC5jIFwKIAlsaWJ2ZHBhdS9hbHRlcmgyNjRfZGVjb2RlLmMg
XAotCWxpYnZkcGF1L2FsdGVyaDI2NF9kZWNvZGUuaCBcCiAJbGlidmRwYXUvYml0c19yZWFk
ZXIuaCBcCiAJbGlidmRwYXUvdmRwYXVfaDI2NC5jIFwKIAlsaWJ2ZHBhdS92ZHBhdV9tcGVn
MTIuYyBcCg==
--------------oNUuHE0zhqWkyHAwEg4J3r0m
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--------------oNUuHE0zhqWkyHAwEg4J3r0m
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
xine-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-devel

--------------oNUuHE0zhqWkyHAwEg4J3r0m--