Open ha5di opened 8 years ago
Did you build yourself? What distribution and version of gcc did you use?
Hi,
it is built myself successfuly on piCore-7.0 running on RPi2. Build looks OK including ffmpeg. However running
omxplayer -p -o hdmi video_file
in a ternimal I get the following error message:
terminate called after throwing an instance of 'Enforce_error' Video codec omx-h264 width 1280 height 692 profile 100 fps 24.000000 /usr/bin/omxplayer: line 67: 27660 Aborted LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" $OMXPLAYER_BIN "$@"
See: https://github.com/huceke/omxplayer/issues/71 Probably too old a version of gcc.
It is GCC 5.2.0, the latest. Will try in piCore-6 with GCC 4.9.2
Rebuilt with GCC 4.9.2 and a different glibc, result is exactly the same. What 'Enforce_error' means? I have never seen it before. I think something is not configured propery itself. Does omxplayer require a setting in config.txt or a kernel module?
This means there is an uncaught Enforce_error exception. Can you try wrapping the whole main function in a try-catch block and print the output of the exception what() function to see where in the code it was thrown?
@ha5di Are you already able to run omxplayer without the Enforce_error?
Build looks OK, but when I try to play a video it aborts with 'Enforce_error'. No other info displayed. I know it is not much input, but what can be wrong?
Thanks... Béla