FS#74044 - [python-pyglet] undefined symbol: av_frame_get_best_effort_timestamp
Attached to Project:
Community Packages
Opened by Michel (xantares) - Sunday, 06 March 2022, 20:36 GMT
Last edited by Toolybird (Toolybird) - Saturday, 01 April 2023, 21:51 GMT
Opened by Michel (xantares) - Sunday, 06 March 2022, 20:36 GMT
Last edited by Toolybird (Toolybird) - Saturday, 01 April 2023, 21:51 GMT
|
Details
pyglet does not support ffmpeg 5.x yet
it can be linked to ffmpeg 4 in the mean time by forcing ffmpeg4.4 libs: diff --git a/pyglet/media/codecs/ffmpeg_lib/libavcodec.py b/pyglet/media/codecs/ffmpeg_lib/libavcodec.py index 5f1cc5e0..9d011b55 100644 --- a/pyglet/media/codecs/ffmpeg_lib/libavcodec.py +++ b/pyglet/media/codecs/ffmpeg_lib/libavcodec.py @@ -45,7 +45,7 @@ import pyglet.lib from . import libavutil avcodec = pyglet.lib.load_library( - 'avcodec', + 'libavcodec.so.58', win32='avcodec-58', darwin='avcodec.58' ) diff --git a/pyglet/media/codecs/ffmpeg_lib/libavformat.py b/pyglet/media/codecs/ffmpeg_lib/libavformat.py index 2854b426..42453eda 100644 --- a/pyglet/media/codecs/ffmpeg_lib/libavformat.py +++ b/pyglet/media/codecs/ffmpeg_lib/libavformat.py @@ -46,7 +46,7 @@ from . import libavcodec from . import libavutil avformat = pyglet.lib.load_library( - 'avformat', + 'libavformat.so.58', win32='avformat-58', darwin='avformat.58' ) |
This task depends upon
Closed by Toolybird (Toolybird)
Saturday, 01 April 2023, 21:51 GMT
Reason for closing: Won't fix
Additional comments about closing: Pkg dropped to the AUR
Saturday, 01 April 2023, 21:51 GMT
Reason for closing: Won't fix
Additional comments about closing: Pkg dropped to the AUR
Comment by Michel (xantares) -
Tuesday, 29 March 2022, 08:43 GMT
seems the newest version 1.5.23 fixes this
Comment by Michel (xantares) -
Tuesday, 03 May 2022, 06:44 GMT
actually no, ffmpeg 5.x is only in the dev branch, we need to
stick to ffmpeg 4
Comment by Michel (xantares) -
Tuesday, 03 May 2022, 06:52 GMT
Comment by Michel (xantares) -
Tuesday, 03 May 2022, 06:57 GMT
updated patch
Comment by Michel (xantares) -
Tuesday, 03 May 2022, 07:30 GMT
Maybe this is better:
https://github.com/pyglet/pyglet/pull/604
ffmpeg4.patch
(2.3 KiB)