Search found 6 matches

Go to advanced search

by hvz
17 Oct 2018 15:59
Forum: Development around libVLC
Topic: Stream to memory not working in VLC 3.0
Replies: 10
Views: 6034

Re: Stream to memory not working in VLC 3.0

So then the tutorials on the site are wrong?
https://wiki.videolan.org/Stream_to_mem ... _tutorial/

This one clearly tells you to give a bunch of parameters to libvlc_new.
by hvz
21 Sep 2015 23:26
Forum: Development around libVLC
Topic: Handling crashes when using libVLC to decode a stream
Replies: 5
Views: 377

Re: Handling crashes when using libVLC to decode a stream

Well, sure. But the thing is: If I could call VLC instead of having VLC call me, it would work (at least under Windows). The way things are now I'm going to have to search for a different solution; only a very small percentage of people who use my software use the VLC integration, but the majority o...
by hvz
18 Sep 2015 13:16
Forum: Development around libVLC
Topic: Handling crashes when using libVLC to decode a stream
Replies: 5
Views: 377

Re: Handling crashes when using libVLC to decode a stream

That's the only way to be 100% safe, but my experience is that you can catch almost any crash and at least shut down gracefully (or restart) and write some logging using try/catch. So that's what I would like to do here as well.
by hvz
18 Sep 2015 12:00
Forum: Development around libVLC
Topic: Handling crashes when using libVLC to decode a stream
Replies: 5
Views: 377

Handling crashes when using libVLC to decode a stream

I've made a program that uses libVLC to receive and decode audio streams. Sometimes - depending on the stream format - libVLC crashes, usually when for example some packages have been losts. This only happens for certain codecs. My problem is that - because libVLC is calling my code, and not the oth...
by hvz
01 Jun 2014 22:04
Forum: Development around libVLC
Topic: How to detect and handle output errors
Replies: 1
Views: 622

How to detect and handle output errors

I'm adding VLC output audio streaming (to a Shoutcast server for example) to my software. I'm already using VLC to receive input streams and that works fine. Output streaming works fine as well, except when something goes wrong. I've subscribed to libvlc_MediaPlayerEncounteredError events using libv...
by hvz
30 May 2014 10:40
Forum: Development around libVLC
Topic: libvlc_media_player_stop deadlock
Replies: 12
Views: 7117

Re: libvlc_media_player_stop deadlock

I found something that might be useful for other people who run into this issue. If you're feeding VLC with audio through IMEM, and you call libvlc_media_player_stop, it will NOT return unless you return some data via IMEM. If (as would be logical) you just reply that you have 0 bytes of data availa...

Go to advanced search