Search found 13 matches

Go to advanced search

by avsuper
06 Jan 2019 03:41
Forum: Development around libVLC
Topic: WHY? WHY? Why nobody can solve the problem of libvlc_media_player_stop hang up problem?
Replies: 8
Views: 1137

Re: WHY? WHY? Why nobody can solve the problem of libvlc_media_player_stop hang up problem?

stop deaklock not occurs everytime, almost 1/20 maybe, randomly.
Use thread instead of timer has no use...
by avsuper
06 Jan 2019 03:36
Forum: Development around libVLC
Topic: WHY? WHY? Why nobody can solve the problem of libvlc_media_player_stop hang up problem?
Replies: 8
Views: 1137

Re: WHY? WHY? Why nobody can solve the problem of libvlc_media_player_stop hang up problem?

My code: procedure TForm1.Timer1Timer(Sender: TObject); var s: string; begin s := 'rtsp://192.168.0.100'; //stop Memo1.Lines.Add(TimeToStr(Now) + ' stop'); if (p_mi[index] <> NIL) then begin libvlc_media_player_stop(p_mi[index]); end; Memo1.Lines.Add(TimeToStr(Now) + ' stop OK'); //play Memo1.Lines....
by avsuper
06 Jan 2019 03:32
Forum: Development around libVLC
Topic: WHY? WHY? Why nobody can solve the problem of libvlc_media_player_stop hang up problem?
Replies: 8
Views: 1137

Re: WHY? WHY? Why nobody can solve the problem of libvlc_media_player_stop hang up problem?

Hi, Rémi, thanks for reply! You mean the deadlock is because application? But we have tried many methods, even if the application has only several lines of code, the deadlock still exists... For example, I used a timer to call libvlc_media_player_stop and then call libvlc_media_player_play to play a...
by avsuper
05 Jan 2019 16:41
Forum: Development around libVLC
Topic: WHY? WHY? Why nobody can solve the problem of libvlc_media_player_stop hang up problem?
Replies: 8
Views: 1137

WHY? WHY? Why nobody can solve the problem of libvlc_media_player_stop hang up problem?

It has been years since we found the problem of calling libvlc_media_player_stop. This function uses WaitForSingleObject with a parameter of INFINITE which can cause hang up of program. We have tried many methods including calling it from thread,destroying window before stop, but no method can work ...
by avsuper
10 Sep 2018 16:05
Forum: VLC media player for Windows Troubleshooting
Topic: VLC 3.0.4 not working for multicast PS stream, while 2.2.7 works
Replies: 5
Views: 1761

Re: VLC 3.0.4 not working for multicast PS stream, while 2.2.7 works

Anybody knows what changed from v2.2.7 to v3.0+ for udp multicast
by avsuper
08 Sep 2018 10:16
Forum: VLC media player for Windows Troubleshooting
Topic: VLC 3.0.4 not working for multicast PS stream, while 2.2.7 works
Replies: 5
Views: 1761

VLC 3.0.4 not working for multicast PS stream, while 2.2.7 works

Using udp://@x.x.x.x:xxx to receive multicast stream (ps format), vlc 2.2.7 can display video correctly, but vlc 3.0.1/2/3/4 version is always loading.... Maybe this is bug of version 3+? log for v2.2.7: ================================================ core debug: adding item `udp://238.93.4.101:400...
by avsuper
13 May 2018 07:08
Forum: Development around libVLC
Topic: How to change media url while playing dynamically
Replies: 1
Views: 445

How to change media url while playing dynamically

While playing URL media, is it possible to change the media without stopping? Regular method is to call media_player_stop and then set new media and then call media_player_play, this would lead to a black screen when switching medias. Can I call set_media while playing and make it have effect immedi...
by avsuper
28 Apr 2018 04:40
Forum: Development around libVLC
Topic: Is it possible to switch playing URLs without black screen?
Replies: 3
Views: 297

Re: Is it possible to switch playing URLs without black screen?

Anybody can give a clue? Is there any parameters or options that can be set to keep screen not cleaned when playing? Thanks!
by avsuper
03 Apr 2018 17:21
Forum: Development around libVLC
Topic: win32 compile error!!! 5 days....
Replies: 4
Views: 727

Re: win32 compile error!!! 5 days....

Thanks for reply. I need to compile vlc because I want to add a recorder function into it.
And also I want to remove the black screen shen switching from one URL to another.
(v2.2.x has no this problem, only v3.0.x)
by avsuper
03 Apr 2018 17:18
Forum: Development around libVLC
Topic: Is it possible to switch playing URLs without black screen?
Replies: 3
Views: 297

Re: Is it possible to switch playing URLs without black screen?

1 second is OK. I mean if it is possible to keep the last frame when switching to next URL?
I found that when using v2.2.x, switch from one url to another will not show a black screen, only v3.0.x has this problem...
wield...
Do you know what has been changed?
by avsuper
01 Apr 2018 14:43
Forum: Development around libVLC
Topic: win32 compile error!!! 5 days....
Replies: 4
Views: 727

win32 compile error!!! 5 days....

OMG!!!! It has been 5 days since I try to compile vlc win32 version on ubuntu 16.40.... fail and fail and fail and fail and fail....... I've install everything according to the instructions. And now I use this instead of configiure: ../extras/package/win32/configure.sh --host=i686-w64-mingw32 Then I...
by avsuper
01 Apr 2018 04:33
Forum: Development around libVLC
Topic: Is it possible to switch playing URLs without black screen?
Replies: 3
Views: 297

Is it possible to switch playing URLs without black screen?

Trying to play several URLs using libvlc_media_list_player_play_item_at_index, but each time there is always a black screen when switching. For example, the playlist is rtsp://192.168.0.101, rtsp://rtsp://192.168.0.102, rtsp://192.168.0.103 calling libvlc_media_list_player_play_item_at_index(p_listP...

Go to advanced search