Search found 8 matches

Go to advanced search

by ibrewster
11 Dec 2022 23:41
Forum: Development around libVLC
Topic: Can't play RTSP stream since Ubuntu 21.04 update?
Replies: 4
Views: 9968

Re: Can't play RTSP stream since Ubuntu 21.04 update?

The configure flag is --enable-live555.
Thanks. I was able to get a VLC build completed, and RTSP is now working again in my application.
by ibrewster
10 Dec 2022 19:59
Forum: Development around libVLC
Topic: Can't play RTSP stream since Ubuntu 21.04 update?
Replies: 4
Views: 9968

Re: Can't play RTSP stream since Ubuntu 21.04 update?

...install the Snap version or build VLC with RTSP suppoet yourself.
So if I install the snap version, how do I use libVNC in my app? If I build myself, how do I make sure it includes RTSP - is that a configure flag?
by ibrewster
09 Dec 2022 17:59
Forum: Development around libVLC
Topic: Can't play RTSP stream since Ubuntu 21.04 update?
Replies: 4
Views: 9968

Can't play RTSP stream since Ubuntu 21.04 update?

I am using libvlc with Qt 6.4 under Ubuntu to play a RTSP stream. Until recently, it was working, but apparently when I updated Ubuntu to 21.04, something broke. Now attempts to play the same RTSP stream give me a "access_realrtsp stream error: rtsp session can not be established" error. T...
by ibrewster
13 Jul 2021 18:07
Forum: Development around libVLC
Topic: Proper/best LibVLC lifecycle?
Replies: 6
Views: 3866

Re: Proper/best LibVLC lifecycle?

To update this discussion: the above cycle of create/release seems to work properly the first few times, but after several cycles over 24 hours or so, VLC starts locking up for extended periods of time on various commands, such as libvlc_media_player_stop(). This makes me think I'm doing *something*...
by ibrewster
07 Jul 2021 18:19
Forum: Development around libVLC
Topic: Proper/best LibVLC lifecycle?
Replies: 6
Views: 3866

Re: Proper/best LibVLC lifecycle?

Checking the LibVLC docs for the functions you use is probably a good practice https://videolan.videolan.me/vlc/group__libvlc__media.html#gaffccede262624a361e20c3e887fa9b42 Agreed, and I have done that. Unfortunately the documentation doesn't really address the issues I asked here. For example, loo...
by ibrewster
07 Jul 2021 00:35
Forum: Development around libVLC
Topic: Proper/best LibVLC lifecycle?
Replies: 6
Views: 3866

Re: Proper/best LibVLC lifecycle?

My apologies, it appears I was unclear in my question. Clearly if you eventually release everything you allocated, then there is no memory leak. That's pretty much the definition of avoiding memory leaks. My question though is more specific to this situation: given what I am allocating, is the clean...
by ibrewster
06 Jul 2021 17:31
Forum: Development around libVLC
Topic: Proper/best LibVLC lifecycle?
Replies: 6
Views: 3866

Proper/best LibVLC lifecycle?

I am using LibVLC (pulled from VLC version 3.0.9) in a Qt/C++ app I am running under xUbuntu Linux on an old (circa 2009 I think) MacBook Pro. The workflow I have is that, upon being triggered by external events VLC will be initialized using the code below, play for several seconds, then stop. This ...
by ibrewster
06 Jul 2021 17:20
Forum: Development around libVLC
Topic: LibVLC errors on initialization?
Replies: 0
Views: 2731

LibVLC errors on initialization?

I am using LibVLC (pulled from VLC version 3.0.9) in a Qt/C++ app I am running under xUbuntu Linux on an old (circa 2009 I think) MacBook Pro. Whenever I initialize the player (using a remote RTSP feed), I get the following string of errors. Note that the video *does* play, so clearly these errors a...

Go to advanced search