vlc got my program stuck
Posted: 21 Jul 2016 09:46
Hello,
I am using vlc version 2.2.4 in vb.net (axvlcplugin2)
I making a small program that taking 4 videos and streaming them, the program replacing the videos every 30 second
I played the media via this code:
And stop the media via this code:
This is the code for all the vlc objects.
The problem is that after some time my program got stuck in the command: "AxVLCPlugin21.playlist.stop()" and it doesn't responding-and it cause a deadlock.
This problem can occur after a few hours (about 3 hours) ,I tried to reboot my computer and then it worked for about 23 hour but in the second run it worked as always (for about 4-3 hours)
I tried to find the cause for this problem –but I didn’t found any.
I searched in my windows resource and I found that the cpu is very high –about 80% ,can it be that the problem is because the cpu?
I hope you can help me and tell me if you know about this problem and what is the solution
Thanks in advance
I am using vlc version 2.2.4 in vb.net (axvlcplugin2)
I making a small program that taking 4 videos and streaming them, the program replacing the videos every 30 second
I played the media via this code:
Code: Select all
Dim uri = New Uri("C:\Users\xxx\Desktop\der\60\checkVlcnews\The Boys.mp4")
AxVLCPlugin21.playlist.add(uri.AbsoluteUri)
AxVLCPlugin21.playlist.play()
Code: Select all
If (AxVLCPlugin21.playlist.isPlaying = True) Then
AxVLCPlugin21.playlist.stop()
End If
AxVLCPlugin21.playlist.items.remove(0)
AxVLCPlugin21.playlist.items.clear()
The problem is that after some time my program got stuck in the command: "AxVLCPlugin21.playlist.stop()" and it doesn't responding-and it cause a deadlock.
This problem can occur after a few hours (about 3 hours) ,I tried to reboot my computer and then it worked for about 23 hour but in the second run it worked as always (for about 4-3 hours)
I tried to find the cause for this problem –but I didn’t found any.
I searched in my windows resource and I found that the cpu is very high –about 80% ,can it be that the problem is because the cpu?
I hope you can help me and tell me if you know about this problem and what is the solution
Thanks in advance