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
I didn't know the events were broken. I'll look at it when I get a chance.Kairos, did you managed to get event data correctly (position in a PositionChangedEvent) with 1.0.x ?
It worked with libvlc 0.9, but with 1.0.x, i got bad values (currently, i got something like 2E-44, almost 0).
I modified event class according to changes in libvlc (i looked to changes in vlc's git reposititory).
With or without those changes, nothing works.
You could always change tracks, but now you can get the description for each track. For this reason I revamped how tracks are handled and gave each track (subtitle, title, chapter, audio, and video) a separate class to wrap track specific functions. I still need to iron out my own bugs like when to load descriptions, but the problem in vlc I was referring to was here viewtopic.php?f=32&t=62686. Also when testing the subtitle tracks, I noticed every video with a subtitle I tested would crash on loading. I've only tried 1.0.0 release. It may have been fixed I don't know.By the way, your last commit message says : "Finished implementing tracks, though not all work due to bugs in libvlc". What part exactly ? i'm using tracks for audio/video/subtitles, and everything is working fine.
An avi with an srt subtitle file works perfectly for me, i can switch all tracks (audio/video/subtitle) on/off without issue (thanks to my wrapper which use it the id or the index, depending on the function to call). But i noticed that vlc crashes if it's an ass subtitle file.Also when testing the subtitle tracks, I noticed every video with a subtitle I tested would crash on loading. I've only tried 1.0.0 release. It may have been fixed I don't know.
Code: Select all
[return:MarshalAs(UnmanagedType.AnsiBStr)]
internal static extern String libvlc_media_get_meta(.....);
Return to “Development around libVLC”
Users browsing this forum: No registered users and 20 guests