[vlc-devel] building with java bindings
abethke at oamk.fi
Wed Nov 14 10:08:09 CET 2007
Ok, just wanted to report back to where I got now.
The problem I had with the missing IF2block_size was related to AMR
support in ffmpeg.
So I just dropped AMR for now and it builds, have to get back to that later.
So my build, combination of a recent ffmpeg revision (2007-11-02), vlc
revision from 2007-06-01 and x264 from 2007-11-02 seems to work.
Flv-muxing is working (with it's little flaws). Even the java bindings
seem to do their job, at least for the stuff I need it for (vlm-control).
some notes on my build process (this is not a step-by-step howto, just
info on my config and things I had to do apart from the normal procedure):
./configure --enable-gpl --enable-pp \
--enable-pthreads --enable-libmp3lame \
.configure --enable-pic --enable-shared
--> those options to fix problem with 64bit systems
build$ ../configure \
--enable-snapshot --enable-debug \
--enable-shared-libvlc --enable-java-bindings \
--with-ffmpeg-mp3lame --with-ffmpeg-faac \
--enable-x264 --with-x264-tree=../extras/x264 \
--enable-shout --enable-taglib \
--enable-dc1394 --enable-dv \
--enable-dvb --enable-dvdread \
--enable-libdvbpsi --enable-a52 \
--enable-svg --enable-speex \
--enable-real --enable-realrtsp \
--enable-caca --disable-qt4 \
I had to copy the java source code of the java bindings from the contrib
to the build folder as they would not compile otherwise
JAVA_HOME has to be set to something like
To run jvlc gui stuff I needed to add the folder with the libmawt.so to
my ld path
Java Media Control sounds to me like a new approach finally, of course
it would be wonderful if they would also support encoding and that kind
of stuff, but as far as I know they seem to at least now concentrate on
the decoding side. Let's see, when and if something like that comes.
For now I am using a unix named pipe to get the data stream from vlc
output into my java app.
Comments and questions welcome,
Tony Anecito 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.
> --- 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
>> undefined symbol:
>> 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
>> 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
>> @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:
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel