Search found 6 matches

Go to advanced search

by A13x
18 Apr 2022 13:53
Forum: Development around libVLC
Topic: Use libvlc_video_set_output_callbacks() to work around high CPU usage
Replies: 18
Views: 3258

Re: Use libvlc_video_set_output_callbacks() to work around high CPU usage

Thank you. I integrated VLC4 using discussed callbacks into my application. It works almost as expected. But now I have a different issue: sometimes the application crashes when I try to stop playback with libvlc_media_player_stop_async which is called from Qt's slot on button clicked. There is some...
by A13x
21 Mar 2022 12:12
Forum: Development around libVLC
Topic: Use libvlc_video_set_output_callbacks() to work around high CPU usage
Replies: 18
Views: 3258

Re: Use libvlc_video_set_output_callbacks() to work around high CPU usage

On which EGL implementation are you trying to do that? It should work correctly on Linux MESA and ANGLE/Native Windows implementations. Qt currently **requires** this behaviour to load its own API, so there shouldn't be an issue with this, and the correct entrypoint seems to be returned. However, w...
by A13x
16 Mar 2022 15:15
Forum: Development around libVLC
Topic: Use libvlc_video_set_output_callbacks() to work around high CPU usage
Replies: 18
Views: 3258

Re: Use libvlc_video_set_output_callbacks() to work around high CPU usage

Thank you.
I got it.
Now I need to figure out how to make it working...
by A13x
16 Mar 2022 15:02
Forum: Development around libVLC
Topic: Use libvlc_video_set_output_callbacks() to work around high CPU usage
Replies: 18
Views: 3258

Re: Use libvlc_video_set_output_callbacks() to work around high CPU usage

I agree. Garbage value is not allowed. This is not my code. It is from Vlc's git, please check a link: https://code.videolan.org/videolan/vlc/-/blob/master/doc/libvlc/QtGL/qtvlcwidget.cpp#L158 "eglQueryString" pointer is provided by getProcAddress method of the instance of QOpenGLContext c...
by A13x
16 Mar 2022 14:02
Forum: Development around libVLC
Topic: Use libvlc_video_set_output_callbacks() to work around high CPU usage
Replies: 18
Views: 3258

Re: Use libvlc_video_set_output_callbacks() to work around high CPU usage

Means you've returned garbage from GetProcAddress No. I was debugging a bit. There (vlc/modules/video_output/opengl/interop_vaapi.c): priv->egl.queryString = vlc_gl_GetProcAddress(interop->gl, "eglQueryString"); if (priv->egl.queryString == NULL) goto error; /* EGL_EXT_image_dma_buf_impor...
by A13x
16 Mar 2022 10:40
Forum: Development around libVLC
Topic: Use libvlc_video_set_output_callbacks() to work around high CPU usage
Replies: 18
Views: 3258

Re: Use libvlc_video_set_output_callbacks() to work around high CPU usage

1. Is this the correct path to follow? That is, will libvlc_video_set_output_callbacks() from VLCv4.0 potentially solve our problem? Yes. 2. If correct, where can we find examples of how to use libvlc_video_set_output_callbacks()? https://code.videolan.org/videolan/vlc/-/blob/master/doc/libvlc/QtGL...

Go to advanced search