ofGStreamer error message

I recently discovered ofGStreamer by @arturo and it saved us a lot of time on a project. I notice though these error messages even when I run a simple example. It is caused by all my movie files irrespective of file format (mkv, avi, mp4), but not with mov. I am not doing anything fancy. Simply loading a file and playing it.

Any help appreciated!

Here’s error 1

0:00:00.223180000 e[333m59996e[00m    0x1020dc630 e[31;01mERROR  e[00m e[00m          audio-info audio-info.c:294:gboolean gst_audio_info_from_caps(GstAudioInfo *, const GstCaps *):e[00m no rate property given
0:00:00.225446000 e[333m59996e[00m    0x1020dc630 e[31;01mERROR  e[00m e[00m               libav :0::e[00m element type mismatch 1 != 0
0:00:00.376652000 e[333m59996e[00m    0x1020dc630 e[31;01mERROR  e[00m e[00m               libav :0::e[00m element type mismatch 1 != 0
0:00:00.377397000 e[333m59996e[00m    0x1020dc630 e[31;01mERROR  e[00m e[00m               libav :0::e[00m element type mismatch 1 != 0
0:00:00.377651000 e[333m59996e[00m    0x1020dc630 e[31;01mERROR  e[00m e[00m               libav :0::e[00m element type mismatch 1 != 0
0:00:00.377845000 e[333m59996e[00m    0x1020dc630 e[31;01mERROR  e[00m e[00m               libav :0::e[00m element type mismatch 1 != 0
0:00:00.378039000 e[333m59996e[00m    0x1020dc630 e[31;01mERROR  e[00m e[00m               libav :0::e[00m element type mismatch 1 != 0
0:00:00.378244000 e[333m59996e[00m    0x1020dc630 e[31;01mERROR  e[00m e[00m               libav :0::e[00m element type mismatch 1 != 0
0:00:00.378388000 e[333m59996e[00m    0x1020dc630 e[31;01mERROR  e[00m e[00m               libav :0::e[00m element type mismatch 1 != 0
2019-05-28 19:41:26.278714+0100 simpleGStreamerExampleDebug[59996:3814932] SecTaskLoadEntitlements failed error=22 cs_flags=20, pid=59996
2019-05-28 19:41:26.278832+0100 simpleGStreamerExampleDebug[59996:3814932] SecTaskCopyDebugDescription: simpleGStreamerE[59996]/0#-1 LF=0

Here’s error 2

0:00:00.227958000 e[336m60065e[00m    0x1030b94a0 e[31;01mERROR  e[00m e[00m          audio-info audio-info.c:294:gboolean gst_audio_info_from_caps(GstAudioInfo *, const GstCaps *):e[00m no rate property given
2019-05-28 19:45:36.751596+0100 simpleGStreamerExampleDebug[60065:3817091] SecTaskLoadEntitlements failed error=22 cs_flags=20, pid=60065
2019-05-28 19:45:36.751730+0100 simpleGStreamerExampleDebug[60065:3817091] SecTaskCopyDebugDescription: simpleGStreamerE[60065]/0#-1 LF=0

The result of these errors is that sometimes it says it can not seek when I ask it to and other times the files just don’t play.

Theo

Update: The most serious error which I believe causes the application to freeze and eventually quit is this:

0:01:26.511258000 e[334m65859e[00m    0x10291e8a0 e[31;01mERROR  e[00m e[00m               libav :0::e[00m 
Context scratch buffers could not be allocated due to unknown size.

Does anyone have a clue? All I do is load videos, seek at a random location and play from there.