I'm having trouble with the SDL + libvlc sample code found here.
The issue is very similar to this forum post but it wasn't answered.
I'm trying to compile the example for the raspberry pi 4b. The libvlc only example works fine and so do SDL2 examples on their own. Compiling the SDL2 + libvlc example works, but gives this error when trying to play the same video that I played using the libvlc only example:
Code: Select all
VLC_PLUGIN_PATH=(null)
[00fbc488] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[b0315740] mmal_avcodec decoder: Looking for HEVC decoder 'hevc'
[89d183c0] chain filter error: Too high level of recursion (3)
[89d17e98] main filter error: Failed to create video converter
[89d183c0] chain filter error: Too high level of recursion (3)
[89d17e98] main filter error: Failed to create video converter
[89d183c0] chain filter error: Too high level of recursion (3)
[89d17e98] main filter error: Failed to create video converter
[89d183c0] chain filter error: Too high level of recursion (3)
[89d17e98] main filter error: Failed to create video converter
[89d183c0] chain filter error: Too high level of recursion (3)
[89d17e98] main filter error: Failed to create video converter
mmal: mmal_vc_port_info_set: failed to set port info (3:0): EINVAL
mmal: mmal_vc_port_set_format: mmal_vc_port_info_set failed 0x89d04430 (EINVAL)
[89d023b8] mmal_codec filter error: Failed to commit format for output port vc.ril.hvs:out:0(Y10C) (status=3 EINVAL)
Segmentation fault
This is the output from the vlc only example:
Code: Select all
[b4ea0928] mmal_avcodec decoder: Looking for HEVC decoder 'hevc'
[8e724d20] gles2 generic error: parent window not available
[8e724610] mmal_xsplitter vout display error: Failed to open Xsplitter:opengles2 module
[8e724d20] xcb generic error: window not available
[8e724610] mmal_xsplitter vout display error: Failed to open Xsplitter:xcb_x11 module
[00e4d7b0] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1567 ms)
[hevc @ 0xb4ebfcd0] Could not find ref with POC 42
[hevc @ 0xb4ebfcd0] Could not find ref with POC 40
[hevc @ 0xb4ebfcd0] Could not find ref with POC 38
[hevc @ 0xb4ebfcd0] Could not find ref with POC 34
[hevc @ 0xb4ebfcd0] Could not find ref with POC 44
What would be causing the too high level of recursion error in one example but not the other?
Thanks,
Sava