C# need help

This forum is about all development around libVLC.
PSI497
New Cone
New Cone
Posts: 2
Joined: 27 Oct 2013 02:18

C# need help

Postby PSI497 » 27 Oct 2013 02:20

I'm very beginner, can someone help me why this is not working?

Code: Select all

string[] Options = new string[] { ":sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:http{dst=:8080/asd.mp3} :sout-keep" }; vlc.addTarget("file:///" + @"H:\musics\music.mp3", Options, AXVLC.VLCPlaylistMode.VLCPlayListReplaceAndGo, 0); vlc.play();

PSI497
New Cone
New Cone
Posts: 2
Joined: 27 Oct 2013 02:18

Re: C# need help

Postby PSI497 » 27 Oct 2013 14:25

I used the activex plugin, i can't set any option. Can somebody tell me what should I do now? Thank you!

mangokm40
Cone that earned his stripes
Cone that earned his stripes
Posts: 130
Joined: 20 May 2010 20:00

Re: C# need help

Postby mangokm40 » 28 Oct 2013 12:58

I hope I'm not wasting your time, but....doesn't that string need double slash (h:\\musics\\music.mp3) ?

sherington
Cone that earned his stripes
Cone that earned his stripes
Posts: 491
Joined: 10 Sep 2008 11:57
VLC version: master
Operating System: Linux

Re: C# need help

Postby sherington » 28 Oct 2013 13:23

I think that ":sout-keep" should be a separate string in the array.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 2 guests