about JVLC

About encoding, codec settings, muxers and filter usage
tahany
New Cone
New Cone
Posts: 4
Joined: 14 Aug 2007 16:14

about JVLC

Postby tahany » 14 Aug 2007 17:02

I had playing JVLC and it working so smooth but Problem occurred when it comes to use VLM of JVLC, can u help me to solve it .

this is the code which i used

String streamName = [streamName];
String location = [file URI];
String output="#std{access=udp,mux=ts,dst=127.0.0.1:1234}";
jvlc.vlm.addBroadcast(streamName, location, output, new String[0], true, false);
jvlc.vlm.setOutput(streamName, output);
jvlc.vlm.playMedia(streamName);

but this excepyion had appeared

org.videolan.jvlc.VLCException: Media [streamName] creation failed
at org.videolan.jvlc.VLM._addBroadcast(Native Method)
at org.videolan.jvlc.VLM.addBroadcast(VLM.java:39)

i will be happy if u can help if u have time to help me

thanks

shereen ahmed
New Cone
New Cone
Posts: 7
Joined: 27 Aug 2007 10:20

Re: about JVLC

Postby shereen ahmed » 27 Aug 2007 10:29

Dear tahany


I have the same problem , I don't know how to make stream with jvlc , can anyone help us in this topics

thanks
Shereen

developprograms
Blank Cone
Blank Cone
Posts: 16
Joined: 27 Jun 2007 01:43

Re: about JVLC

Postby developprograms » 27 Aug 2007 22:59

Could you post more of your code in what you are doing. There isn't enough there for me to recreate what I would like to do to see if I can get the same error.

Try to post a small useable code and we can go from there. I have had success using the jvlc, but not in streaming it, and I think you are onto something working, but I would like to test your code against what I am trying to do, as I get different errors.

thanks

shereen ahmed
New Cone
New Cone
Posts: 7
Joined: 27 Aug 2007 10:20

Re: about JVLC

Postby shereen ahmed » 28 Aug 2007 10:12

my code is the same above

String streamName = [streamName];
String location = [file URI];
String output="#std{access=udp,mux=ts,dst=127.0.0.1:1234}";
jvlc.vlm.addBroadcast(streamName, location, output, new String[0], true, false);
jvlc.vlm.setOutput(streamName, output);
jvlc.vlm.playMedia(streamName);


but this excepyion had appeared

org.videolan.jvlc.VLCException: Media [streamName] creation failed
at org.videolan.jvlc.VLM._addBroadcast(Native Method)
at org.videolan.jvlc.VLM.addBroadcast(VLM.java:39)

developprograms
Blank Cone
Blank Cone
Posts: 16
Joined: 27 Jun 2007 01:43

Re: about JVLC

Postby developprograms » 29 Aug 2007 04:09

shereen

what i meant was could you post more of your code so that i can replicate your problem to try and come to a solution. for instance, where are you getting information for the [streamname] from. if possible post your whole class that way I can replicate your issue, from this code I am not able to get anything going.

thanks


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 16 guests