I'm trying to play a stream through this wrapper using the following
if I pass the actual stream URL, the stream plays. ie the following works:Code: Select all
VlcMedia desc = Vlc.NewMedia(filename); VlcPlayer.Load(desc); desc.Dispose(); VlcPlayer.Play();
but if I pass a playlist file the stream doesn't play. The same is true for winamp m3u files.Code: Select all
string filename = "mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio1/radio1_bb_live_eq1_sl0?BBC-UID=945a3082dec341e5dda25cfd113eaa3e1c94c2be00d0e1f4a42fa936cf8ec007&SSO2-UID="
Both links play in a normal VLC instance.Code: Select all
string filename=http://www.bbc.co.uk/radio1/wm_asx/aod/radio1.asx
What do I need to prepare the stream for playback?
Cheers
use 1.0.0RC3 instead, and the BSOD will be goneHiii guys,I don't know how many of u have got around this issue.
In ym case
I have a tabcontrol
the main tab/front window has a windowsformshost with a child as panel.the second tabitem is a list of items that i can use to playt things from.
In the constructor of my windows ,i set the handle of vlcmediaplayer class before vlcmediaplayer class is used inside another library to load and then play songs.
Now the issue,
when i play the video first time from second tab item ,its going cool.if i switch to the list of videos on second tab item again after seeing video and play any item,
I get a blue screen of death.
I handled a HadnleDestroyed even also with a debug.assert statement to see if its destroyed but i think its not as its not called.
FYI,Between any succesive calls i have set almost 800 millisecnds time explictily.
Also,
I keep things like windowsformshost,videopanel,VideoLanClient instance and VlcMediaPlayer instance within GC.KeepAlive() to prevent premature cleanup of these.
I have used VideoLanClient as VideoLanClient vlc=new VideoLanClient();
I am using plugins fro vlc 0.9.9.
Any idea whats causing that BSOD.Plz help me. .Its now occuring faster .earlier it was occuring after 10-12 video plays..
But u can say thats my problem..
Although,I haven't tried,ut i think it BSOD won't be there in Windows forms.
windowsformshost has something to do probably..Just my brain...
Whatever u feel,plz say,it might solve my problem.
Strange. For me, it doesn't work at all. Which version of 1.0 are you using?A few month ago, I made a player to watch tv from my internet provider, but it can also be used to watch any stream or file. It's full WPF (.Net 3.5), use libvlc through kairos' wrapper.
I updated it to reflect changes between libvlc 0.9 and 1.0. Everything i use is working fine. It works on XP, Vista, and Win7 without issues.
That's possible, when you play an MP3 what initialization steps do you do?I use the official release. But it also worked with 1.0.0 rc3 and rc4 (after modifying the wrapper to reflect changes in libvlc).
Maybe it's just that the tutorials that you used are outdated.
if I pass the actual stream URL, the stream plays. ie the following works:
Code: Select all
string filename = "mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio1/radio1_bb_live_eq1_sl0?BBC-UID=945a3082dec341e5dda25cfd113eaa3e1c94c2be00d0e1f4a42fa936cf8ec007&SSO2-UID="
but if I pass a playlist file the stream doesn't play. The same is true for winamp m3u files.
Code: Select all
string filename=http://www.bbc.co.uk/radio1/wm_asx/aod/radio1.asx
Both links play in a normal VLC instance.
What do I need to prepare the stream for playback?
Cheers
have anyone manage to solve this problem yet? I like this wrapper alot and it also works on 1.0.0
The only thing thatis bugging me is the inability to play online playlist
i don't use them, but maybe the functions named libvlc_media_list_* can do it. Try the VlcMediaList class, maybe it works (i didn't try them)Hi,
As i undestand Vlc APi can't read playlist Stream. Is there a way to extract a list of Stream from a playlist with the API.
Thanks in advance.
I was having the same problem where vlc would crash in the first few seconds of playing any file. Although I don't understand why, removing the plugin-path worked for me.try to remove "--plugin-path", i noticed that since 1.0, libvlc crash with that option. just let the plugin folder with libvlc (the same way they are in vlc)
I'll try it this evening.I was having the same problem where vlc would crash in the first few seconds of playing any file. Although I don't understand why, removing the plugin-path worked for me.try to remove "--plugin-path", i noticed that since 1.0, libvlc crash with that option. just let the plugin folder with libvlc (the same way they are in vlc)
I built a wrapper using MFC (I can here the howling already!) and it's not crashing on WinXP or Vista 64-bit. I haven't tried Win7 yet. I'm planning on posting a sample somewhere soon.I just wrote a simple 100% native player using one of the tutorials in the wiki and even that one crashes after the first frame. Can anyone confirm that libvlc is actually working right now? I'm using Windows 7 64bit, but I also tried this in a virtual machine with Windows XP 32 with the same result. The normal VLC player works fine.
The issue with the crashes has been resolved already. Adding the "plugin-path" option to libvlc makes it really unstable. Removing it is the way to go.I built a wrapper using MFC (I can here the howling already!) and it's not crashing on WinXP or Vista 64-bit. I haven't tried Win7 yet. I'm planning on posting a sample somewhere soon.I just wrote a simple 100% native player using one of the tutorials in the wiki and even that one crashes after the first frame. Can anyone confirm that libvlc is actually working right now? I'm using Windows 7 64bit, but I also tried this in a virtual machine with Windows XP 32 with the same result. The normal VLC player works fine.
I created a lib file from libvlc.dll then created a wrapper.
ed
Return to “Development around libVLC”
Users browsing this forum: No registered users and 4 guests