Page 8 of 8

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 10 Jan 2010 22:55
by SteveRicketts
Nicely done wrapper! I just downloaded the wrapper and built it into a .dll using VS 2008 on 64 bit Vista Business. I'm using 1.0.3 and passing the wrapper an http url stream, it works very well. Events kick up nicely and really no problem at all... except copying the .dll's and plugin's everywhere.

My question is (and I'm sure I'll find out at some point when I try to run this on another computer), will the wrapper find the installed files rather than having them with the .dll (or .exe)? I tried :

VlcFolder = @"c:\program files (x86)\VideoLAN\VLC";
Vlc = new VideoLanClient(VlcFolder);

But it didn't seem to work. All I had was a black screen. So, I put the VLC dll's and plugin directory into the debug folder, pointed VideoLanClient to that folder, and it worked fine. What will happen if I just install my software and the VideoLan.Interop.dll?

Thanks,

Steve

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 15 Jan 2010 09:25
by rikki233752
hi

when i am running the sample of videolan.interop i am getting this error

: Unable to find an entry point named 'libvlc_media_list_new' in DLL 'libvlc'.


please help

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 25 Jan 2010 07:34
by rarao
What is the command to change the subtitle track using libvlc. I am using the C# wrapper.

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 24 Mar 2010 07:53
by socialjazz
Is there anymore update on development of this wrapper?
This is a very nice wrapper, easy to use and it will be a waste if this is no longer maintained

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 14 Jul 2010 10:49
by drixs
hi all,

how to make a broadcast sender and receiver over http using this wrapper??
please help..

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 15 Jul 2010 09:18
by garlantinapple
Getting vlc to render in wpf is my primary goal. The project I work on, MeediOS, is 99% WPF. The 1% is a WinFormsHost with a panel that we use to render vlc on.

Re: VideoLan.Interop a .Net libvlc 1.0.x wrapper

Posted: 19 Aug 2010 12:48
by mickysailing
Hi,
I was using VLC version 1.0.x with C# wrapper VideoLan.Interop.dll by kairos (version 1.0.0).

My project run correctly on Windows and, in general, on linux using mono 2.6.7 in ubuntu 10.04, but when I "launch" an "embeded vlc" it's video is displayed in a separate "XVideo" window.

Does anyone know how to solve this problem?

many thanks!

Michele

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 23 Aug 2010 10:30
by socialjazz
Does the developer plan to port this source to the new 1.1.x version of VLC?

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 29 Oct 2010 23:34
by reynolds87
Hi
I'm very new to vlc.
I downloaded vlc wrapper 1.0 and I can't start it
give me this error
"Unable to find an entry point named 'libvlc_exception_init' in DLL 'libvlc'."
same problem with 0.9
what can be the problem ?

Thanks!

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 30 Oct 2010 19:43
by reynolds87
can help me with http audio streaming ?

I have this code :

Code: Select all

Vlc = new VideoLanClient(".", Options); VlcPlayer = Vlc.NewMediaPlayer(VideoPanel.Handle); string fileName = "C:\\www\\sound.mp3"; VlcMedia desc1 = Vlc.NewMedia(fileName); desc1.AddOption(@":no-video"); desc1.AddOption(@":sout=#transcode{acodec=mp3,ab=128}"); desc1.AddOption(@":std{access=http,mux=dummy,dst=:4567/stream.mp3}"); VlcPlayer.Load(desc1); VlcPlayer.Play();
I tryed all the ways but don't start streaming.
What is the solution?

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 30 Oct 2010 20:11
by reynolds87
I also tryed this settings for VideoLanClient without succes

Code: Select all

string[] Options = new string[]{ @"--no-video", @"--sout-transcode-acodec=mp3", @"--sout-transcode-ab=128", @"--sout-standard-access=http", @"--sout-standard-mux=dummy", @"--sout-standard-dst=:4567/stream.mp3"};

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 31 Oct 2010 00:46
by faheemnadeem
hi,
You have to put the plugins folder and libvlc.dll files to the runtime directory. You can also change the demo application to take the default vlc folder installation path to acquire the plugins.
Hope it helps!!!
Bye

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 31 Oct 2010 21:57
by reynolds87
can you share to me a functional streaming application
I've put plugins but don't work
this is my project which don't work

http://hotfile.com/dl/79620143/8629c68/ ... m.zip.html

Thanks !

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 02 Nov 2010 13:52
by XilasZ
I can't take a look at your project right now, but did you manage to play a stream or any media with your project ? (see if libvlc and the plugins load or not).

And which version of libvlc do you use ?
Because wrapper 0.9 works with libvlc 0.9, wrapper 1.0 works with libvlc 1.0, and both doesn't work with the latest version of libvlc (1.1.x), where libvlc_exception_init have been removed.

Edit:
i just checked your project, you use libvlc 1.0 and an example player, i guess it works for playing a media.
By the way, you tried ":sout=..." and "--sout=...", but did you tried "sout=..." ?

i use this, and it works perfectly :

Code: Select all

AddOption("sout=#duplicate{dst=display,dst=std{access=file,mux=ts,dst=\"recording.ts\"}}")

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 02 Nov 2010 17:36
by reynolds87
Solved !

Code: Select all

Options = new string[]{ //audio mp3 @"--no-sout-video", @"--sout=#transcode{acodec=mp3,ab=128}:standard{access=http,mux=dummy,dst=:" + Port + "}"};
Thanks for help!

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 03 Nov 2010 11:30
by XilasZ
So what was the issue ?

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 05 Nov 2010 18:31
by reynolds87
wrong command line argumets

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 04 Jan 2012 18:22
by LJ_Ingo
Hi!

Thanks for the lib!
Is there a problem with thread safety if I use multiple threads with each one controlling only an own player? Should work, shouldn't it?

Ingo

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 04 Jan 2012 21:07
by RĂ©mi Denis-Courmont
It should work.

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 05 Jan 2012 16:39
by LJ_Ingo
Okay thanks.

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Posted: 12 Apr 2012 23:51
by ernie-c
Hi, I'm trying to do livehttp from the lib, but I'm always getting the timeout right after the play. (tested ok with another transcode )
Maybe livehttp is not supported ? Anyone ? Thx

Code: Select all

string playerOutputConfig = @":sout=#transcode{vcodec=h264,acodec=mp3,vb=2000,scale=0.5,ab=48}:standard{access=livehttp{seglen=10,delsegs=true,numsegs=5,index=c:\temp\stream.m3u8,index-url=stream-########.ts},mux=ts,dst=c:\temp\stream-########.ts}"; VlcMediaLibraryFactory factory = CreateVlcMediaLibraryFactory(); VlcSinglePlayer playerStream = (VlcSinglePlayer)factory.CreatePlayer(new PlayerOutput(playerOutputConfig)); try { playerStream.SetMediaInput(new MediaInput(MediaInputType.File, file)); playerStream.Play(); ...