TheImperator
Posts: 5
Joined: Wed Feb 06, 2019 8:16 pm

ENOSPC error when using VLCJ

Wed Feb 06, 2019 8:24 pm

Hey there!

I'm using in my Java application the VLCJ library (version 3.12.1 = latest version) to play a MJPG stream from a network camera ("http://so.me.ip.addr/video.mjpg"). When I want to start playing I get the following error messages:

Code: Select all

[00d3aba0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[00b108a8] mmal_codec decoder error: MMAL error 2 "ENOSPC"
[00b108a8] mmal_codec decoder error: MMAL error reported by ctrl
[00b108a8] main decoder error: buffer deadlock prevented
[00bdc730] mmal_codec decoder error: MMAL error 2 "ENOSPC"
[00bdc730] main decoder error: buffer deadlock prevented
I don't care about sound output, because there is no sound.
But I can't play the video stream.

Hopefully you can find a solution for my issue.

/dev/root filesystem has 9.1 GB free space
RAM has about 250 MB free space.
I use a Raspberry Pi B+ board.

TheImperator
Posts: 5
Joined: Wed Feb 06, 2019 8:16 pm

Re: ENOSPC error when using VLCJ

Thu Feb 07, 2019 7:21 am

UPDATE:

I set GPU memory from 64MB to 128MB and now the ENOSPC error is gone.
Now I get only the following errors:

Code: Select all

vlcpulse audio output error: PulseAudio server connection failure: Connection refused
main decoder error: buffer deadlock prevented
But it looks like it's doing something, because CPU usage is 100%.

Return to “Java”