[vlc-devel] building with java bindings
Diego Sanchez Gallo
dsgallo at larc.usp.br
Wed Nov 7 11:48:48 CET 2007
Hi Victor,
Thanks for the reply.
I was using that format for the output cause in the javadoc they say the
output parameter is "the output MRL (the parameter to the "sout"
variable)"... So I tried to use that (from VLC client) in many formats, but
never only the address:port.... I tried that (hoping that it will work) but
got the same error message :-(
Anyway it is good to know that it worked for you using that format... Just
one question, what version of jVLC are you using on linux? and are you using
the release from the vlc site (for linux 64bits) or did you compile vlc with
java bindings by yourself?
If you or anyone else has any other guess, please help ;-p
Regards,
Diego
On 11/6/07, Victor Fuertes Zanon <vicfueza at teleco.upv.es> wrote:
>
> Hi Diego,
>
> I'm working on a videoconference application using JVLC. I'm using Linux,
> so my
> environment is a little different from yours.
>
> I used a code similar to the code you show and I got an error too. Try to
> change
> the line:
>
> jvlc.vlm.addBroadcast("Test
> channel","E:\\video.mpg","#duplicate{dst=std{access=rtp,mux=ts,dst=
> 224.123.111.120:1234}}",null,true,false);
>
> by the lines:
>
> jvlc.vlm.addBroadcast("Test
> channel","E:\\video.mpg","rtp://127.0.0.1:1234",null,true,false);
> jvlc.vlc.playMedia("Test channel");
>
> where 127.0.0.1 is the destination address and 1234 is the destination
> port.
>
> I'm not an expert so, if my solution doesn't work, I'm so sorry...
>
> Cheers, Víctor
>
> Mensaje citado por Diego Sanchez Gallo <dsgallo at larc.usp.br>:
>
> > Hi Tony,
> >
> > since you work with jvlc on windows, maybe you can help me with my
> issue...
> > I'm trying to use the VLM part of jVLC, to do a simple video
> streaming...
> > and I got stuck in the following problem...
> >
> > I'm trying this:
> >
> > JVLC jvlc = new JVLC(options);
> > try {
> > jvlc.vlm.addBroadcast("Test channel", "E:\\video.mpg",
> > "#duplicate{dst=std{access=rtp,mux=ts,dst=224.123.111.120:1234}}", null,
> > true, false);
> > } catch (VLCException e) {
> > e.printStackTrace();
> > }
> >
> > and I'm getting the following exception:
> >
> > org.videolan.jvlc.VLCException: Media Test channel creation failed
> > at org.videolan.jvlc.VLM._addBroadcast(Native Method)
> > at org.videolan.jvlc.VLM.addBroadcast(VLM.java:39)
> > at test.Test.main(Test.java:19)
> >
> > I tried to identify what is this issue and what to do to fix it but I
> > couldn't find a solution... neither on the list nor trying to debug the
> > aplication and looking inside the C code... So I would like to know if
> you
> > have any idea in what could be the reason for this error... The video
> file
> > is there and I already tried to use other formats (like
> file://E:/video.mpg)
> > with no success... I've also tried to stream through unicast instead of
> > multicast but got the same error...
> >
> > Any help would be greatly appreciated.
> >
> > Thanks in advance,
> > Diego
> >
> > On 11/6/07, Tony Anecito <adanecito at yahoo.com> wrote:
> > >
> > > Hi Alexander,
> > > I am working with the windows cygwin build so I can
> > > not help. At least one of the jvlc developers is on
> > > vacation so not sure when they might get to you but it
> > > might be soon.
> > > I do not have problems with the dlls for windows
> > > except for an issue with input not found error when
> > > doing a java reparent() after the creation of a vlc
> > > instance. The jvlc developers are going to fix that
> > > soon and add more to the java bindings interface (I
> > > think). After that hopefully the windows bindings will
> > > be working again.
> > > Considering Sun just announced a Java Media Control is
> > > in the works I am hoping it will have a positive
> > > effect on the java bindings group.
> > >
> > > Regards,
> > > -Tony
> > >
> > > --- Alexander Bethke <abethke at oamk.fi> wrote:
> > >
> > > > Hi again,
> > > >
> > > > still trying to build a vlc that has working
> > > > java-bindings, flv-muxing
> > > > and latest ffmpeg (nellymoser decoding), that can
> > > > serve as a extension
> > > > for Red5.
> > > > I took the vlc revision from 01.06.2007, guessing
> > > > from svn commit
> > > > messages that the java bindings are still working by
> > > > then (before change
> > > > to media instance). But the latest ffmpeg is not
> > > > compatible with this
> > > > vlc revision it seems. Producing following error on
> > > > vlc startup:
> > > >
> > > > cannot load module
> > > > `/usr/local/lib/vlc/codec/libffmpeg_plugin.so'
> > > > (/usr/local/lib/vlc/codec/libffmpeg_plugin.so:
> > > > undefined symbol:
> > > > IF2block_size)
> > > >
> > > > Is the 01.06. revision a good guess or can I also
> > > > take a later one for
> > > > the bindings to work. Anybody any hints? Littlejohn
> > > > perhaps?
> > > > Otherwise I might just have to sadly say goodbye to
> > > > the java bindings in
> > > > my project and connect Red5 and vlc's video stream
> > > > per http and remote
> > > > control like via vlm telnet interface(?). Or does
> > > > somebody have a better
> > > > idea?
> > > >
> > > > @j-b: RTMP support in vlc would be the best thing.
> > > > :) But I think this
> > > > is out of the scope for me now.
> > > >
> > > > By the way is anybody investigating on that
> > > > flv-muxing bug at the moment?
> > > >
> > > >
> > > > I am kind of lost with this one,
> > > >
> > > > Thanks for your help, Alex
> > > >
> > > >
> > > > _______________________________________________
> > > > vlc-devel mailing list
> > > > To unsubscribe or modify your subscription options:
> > > > http://mailman.videolan.org/listinfo/vlc-devel
> > > >
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam protection around
> > > http://mail.yahoo.com
> > > _______________________________________________
> > > vlc-devel mailing list
> > > To unsubscribe or modify your subscription options:
> > > http://mailman.videolan.org/listinfo/vlc-devel
> > >
> >
>
>
> --
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20071107/8d0d038f/attachment.html>
More information about the vlc-devel
mailing list