caprica / vlcj-javafx-demo

Sample application showing vlcj rendering video in a JavaFX scene.
113 stars 46 forks source link

native messages in VLCJ #52

Closed afarouk closed 1 year ago

afarouk commented 1 year ago

First of all, thank you for your efforts, vlcj project is much appreciated. I see lots of native messages but otherwise it works fine (vlcj 4, javafx 14, windows 10 64bit). Should we ignore this or am I doing something wrong? Can they be suppressed?

[000001a2fa15f730] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2edac8410] imem demux error: Invalid get/release function pointers [000001a2edac8410] imem demux error: Invalid get/release function pointers [000001a28bd85170] main vout display error: Failed to set on top [000001a28bd86910] main vout display error: Failed to set on top [000001a2f9c63040] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2f9c63040] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2f9c19640] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2f9c19640] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2edac8020] imem demux error: Invalid get/release function pointers [000001a2edac8020] imem demux error: Invalid get/release function pointers [000001a28bdcf290] main vout display error: Failed to set on top [000001a28bdceff0] main vout display error: Failed to set on top [000001a2f9c63040] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2f9c63040] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a28b543d60] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a28b543d60] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2edac7ed0] imem demux error: Invalid get/release function pointers [000001a2edac7ed0] imem demux error: Invalid get/release function pointers [000001a28b557870] main vout display error: Failed to set on top [000001a28b556370] main vout display error: Failed to set on top [000001a2f9c63040] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2f9c63040] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2fa159d60] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2fa159d60] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2edac8560] imem demux error: Invalid get/release function pointers [000001a2edac8560] imem demux error: Invalid get/release function pointers [000001a28b95f1a0] main vout display error: Failed to set on top [000001a28b95da00] main vout display error: Failed to set on top [000001a2f9c63040] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2f9c63040] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a28d1a3940] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a28d1a3940] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2edac8410] imem demux error: Invalid get/release function pointers [000001a2edac8410] imem demux error: Invalid get/release function pointers [000001a2fa15b7a0] main vout display error: Failed to set on top [000001a2fa15a540] main vout display error: Failed to set on top [000001a2f9c63040] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2f9c63040] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a28b535740] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a28b535740] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2edac8020] imem demux error: Invalid get/release function pointers [000001a2edac8020] imem demux error: Invalid get/release function pointers [000001a28d1a0e20] main vout display error: Failed to set on top [000001a28d1a0b80] main vout display error: Failed to set on top [000001a2f9c63040] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2f9c63040] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2fa217550] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2fa217550] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001a2edac8410] imem demux error: Invalid get/release function pointers [000001a2edac8410] imem demux error: Invalid get/release function pointers [000001a2fa4d4960] main vout

caprica commented 1 year ago

Generally you can ignore some messages.

These ones though IMO imply something is a bit wrong.

It is actually playing video back with these errors, in javafx?

afarouk commented 1 year ago

Yes, the videos are playing. Tested for hours with both long and short videos. Additional; we have a 'slideshow', so we have multiple vlcj instances, which are recycled. Only the mp4 is changed.

we are a small startup. would it be possible to hire you for a quick look at our code?

caprica commented 1 year ago

Email me at mark.lee@capricasoftware.co.uk for anything above raising questions here.

What you're doing sounds OK, and generally you can ignore those native messages if playback is OK. Sometimes the messages are transient.

You can maybe use https://github.com/caprica/native-streams to suppress/capture those messages.