Search found 5 matches

Go to advanced search

by algrev
30 Jan 2019 21:13
Forum: Development around libVLC
Topic: Stream to memory with libvlc_video_set_callbacks, possible memory leak
Replies: 7
Views: 997

Re: Stream to memory with libvlc_video_set_callbacks, possible memory leak

Sorry I know this is a dumb question, but what kind of test and log info shall I post here to make the discussion productive? By "aborting the program while running", do you mean something like sending a kill -SIGABRT? Doing that on a mac will lead to a crash report generated. Will that be...
by algrev
29 Jan 2019 23:17
Forum: Development around libVLC
Topic: Stream to memory with libvlc_video_set_callbacks, possible memory leak
Replies: 7
Views: 997

Re: Stream to memory with libvlc_video_set_callbacks, possible memory leak

Alright, Sanitizer caught something. The following happens, but not always:

The log is too long to paste here. See https://pastebin.com/29Rv3Trh

Regardless of whether this happens, the memory issue still seems to be there.
by algrev
29 Jan 2019 20:21
Forum: Development around libVLC
Topic: Deadlock in libvlc_media_player_stop() | Ubuntu 16.04
Replies: 8
Views: 788

Re: Deadlock in libvlc_media_player_stop() | Ubuntu 16.04

Since you mentioned VLC 3.x, here is a possible way to install it: 1. Using VLC 3 under Ubuntu 16 or lower To do this, make use of PPA. sudo add-apt-repository ppa:jonathonf/vlc-3 sudo add-apt-repository ppa:jonathonf/ffmpeg-4 sudo add-apt-repository ppa:jonathonf/meson sudo apt-get update &&...
by algrev
29 Jan 2019 18:34
Forum: Development around libVLC
Topic: Stream to memory with libvlc_video_set_callbacks, possible memory leak
Replies: 7
Views: 997

Re: Stream to memory with libvlc_video_set_callbacks, possible memory leak

Just tested by adding -fsanitize=address to g++ compiler option on OSX. No leak is detected, but memory consumption still goes up to 1.5G after playing ~1000 frames. Refer to http://www.voidcn.com/article/p-ofvdtpnv-bgn.html or https://github.com/berak/facereco/blob/master/VlcCapture.cpp for an idea...
by algrev
28 Jan 2019 22:30
Forum: Development around libVLC
Topic: Stream to memory with libvlc_video_set_callbacks, possible memory leak
Replies: 7
Views: 997

Stream to memory with libvlc_video_set_callbacks, possible memory leak

I am testing a way to get RGB matrix from a RTSP stream with the Python (3.6) code at https://pastebin.com/CuVh2DgY Tested on several Environments: 1) OSX Mojave 10.14.1, VLC 3.0.4 2) Ubuntu 16.04/18.04, VLC 3.0.4 3) A docker container on the mac in 1), running Ubuntu 16.04 image In case 1) and 3), ...

Go to advanced search