Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFMpeg core failing to launch, missing libavcodec.so.56 #159

Open
yajaru opened this issue Jul 14, 2020 · 1 comment
Open

FFMpeg core failing to launch, missing libavcodec.so.56 #159

yajaru opened this issue Jul 14, 2020 · 1 comment

Comments

@yajaru
Copy link

yajaru commented Jul 14, 2020

FFMpeg core is failing to load on libavcodec.so.56. I am not sure if this is a bug in flathub packaging or if the core itself should provide the library. In any case, we can probably add it via a dependency while/if ffmpeg core is missing it.

[ERROR] Failed to open libretro core: "/home/foo/.var/app/org.libretro.RetroArch/config/retroarch/cores/ffmpeg_libretro.so"
[ERROR] Error(s): libavcodec-ffmpeg.so.56: cannot open shared object file: No such file or directory

@yajaru
Copy link
Author

yajaru commented Jul 14, 2020

I tried adding libavcodec built from the ffmpeg source to the image but, the ffmpeg core did not see it despite my best efforts. libretro has a special version of the ffmpeg library that they use for the core and I suspect that the changes they have made to it have rendered it incompatible with the standard ffmpeg libraries. I'm not an expert on how library linking works though, so don't quote me on that.

In any case, fixing that should probably be handled on the libretro side as they are likely more familiar with the core and it's dependencies. They also seem to be aware of the issue from what I've seen in their issue tracker.

There is an alternative for the core though; Retroarch's default build has an alternative version of ffmpeg "baked-in", so if a user tries to play videos, it should use that version by default. It'll be confusing for people who see the ffmpeg core but, it does mean that video will work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant