polybiusproxy / hxCodec

Haxe library for native video playback on HaxeFlixel and OpenFL.
https://lib.haxe.org/p/hxCodec
Mozilla Public License 2.0
109 stars 71 forks source link

error with playing videos on ubuntu #293

Closed TheRealJake12 closed 8 months ago

TheRealJake12 commented 11 months ago

image whenever the video is about to play, the application crashes.

moxie-coder commented 11 months ago

according to what I found:

Segmentation faults in C or C++ is an error that occurs when a program attempts to access a memory location it does not have permission to access. Generally, this error occurs when memory access is violated and is a type of general protection fault. Segfaults are the abbreviation for segmentation faults.

hope this info helps, because I don't have ubuntu

Noobz4Life commented 10 months ago

For whatever reason, deleting /usr/lib/vlc/lua seems to fix the issue, along with downgrading VLC to an older version (3.0.9 works for example)

Both of these workarounds are very far from being ideal, but might help narrow it down a bit.

I also experimented deleting every folder in /usr/lib/vlc/lua to see if there was a specific one causing it, but it seems like every folder causes it, so it's probably VLC failing to load lua plugins if I had to guess.

Debugging this issue is also very difficult due to VLC providing no crash logs whatsoever from what I can tell.

JonnycatMeow commented 9 months ago

i have made a lib-fetch and it has the dynamic-libs but i don't know how to setup the libvlc.so and the libvlccore.so

TheRealJake12 commented 9 months ago

i have made a lib-fetch and it has the dynamic-libs but i don't know how to setup the libvlc.so and the libvlccore.so

what do I do with these? (I'm new to linux kinda)

Noobz4Life commented 9 months ago

Ok, sorry for my previous comment being somewhat a mislead, but I found that this issue only occurs on the develop branch as well.

JonnycatMeow commented 9 months ago

well its because the path for the libs is wrong and im kinda to lazy to fix it