Problems building JVLC.DLL

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
ahmdprog
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Nov 2006 00:01

Postby ahmdprog » 08 Feb 2007 20:08

gentlemen,

I have asked these people for help when i was compiling in windows, but they didn't offer anything ... unfortunately.

Mr. Filippo filippo@carone.org
Mr. Philippe phmorin@free.fr

they claim that the JVLC is very easily compiling in Cross compilation. but actually, it is very very hard job to compile JVLC using cross compilation.
epically i am not professional at Linux.
i tried to write document describing how to build using Cross compilation with JVLC, but unfortunately is is very complex to build it from scratch.

when any one asked them( JVLC developer) about building in cross compiler they always saying go to http://phmorin.free.fr/jvlc/JVLC_cross_compilati.html
but this page have totally nothing to describe, even they have mistake in writing the binding switch.... they put
--enable-bindings-java insted of --enable-java-bindings :lol: :lol: :lol: :lol: so how this page is helpful !!!!!.

all of us we a ware of problems of JVLC that it is not stable, and actually i am concentrating to know why the JVM crashed sometimes.

recently, i have build JVLC with vlc-0.8.6a with the latest ffmpeg svn and even with AMR.

and i got pretty good and stable, but unfortunately for some criteria the JVM crashed, and now I am concentrating to solve the problem.

once I have confident one, I will reform the JVLC and try to build stable Jar file for all.

please, I am not much familiar with the structure C code of VLC, if there is any professional guy who know the C structure of VLC, please let me know, it will make building JNI very easier.

regards,
Ahmad.

AJ
New Cone
New Cone
Posts: 3
Joined: 16 Feb 2007 18:15

JVLC

Postby AJ » 27 Feb 2007 11:36

I run the example you mention above and it works but the main problem is when i run this example using netbean my computer getting slow and also i cann see the video just audio...i dont know why is it the jvlc.dll size is 13 mb and compiling jvlc through cygwin is nightmare l... any one has working example in which jvl used as dynamic not static as above mention.......

any one know any other open source libraries for playing mpg4 format for java as video lan is not reliable :(
please email me on m_amjad16@yahoo.co.uk


Thanks

ahmdprog
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Nov 2006 00:01

Postby ahmdprog » 01 Mar 2007 06:35

hi,

Video lan is reliable, and you need to understand that Multimedia in Java is not easy job, because the JVM is very slow in native processing, recently they developed better performance one, but I don't think that any success for implementing MP4 in pure java.

I have seen many H263 and H264 implementation in java purely, but it is not success at all.


so, what is required from you, is to try with JVLC, I know that it is not much scalable in windows, but I have tried Old VLC in Linux with Java and it is working excellent.

you need to be patient, since I think the JVLC are doing something good for us. :wink: hopefully

Regards,
Ahmad

AJ
New Cone
New Cone
Posts: 3
Joined: 16 Feb 2007 18:15

Postby AJ » 01 Mar 2007 19:05

Would you like to send me the stable jvlc if you have to my email address

m_amjad16@yahoo.co.uk


Thanks

littlejohn
Blank Cone
Blank Cone
Posts: 73
Joined: 04 May 2006 14:59

Postby littlejohn » 13 Mar 2007 23:35

Would you like to send me the stable jvlc if you have to my email address

m_amjad16@yahoo.co.uk


Thanks
Please take a look at the news windows release in the download section of the jvlc site an report any issues you find.

Cheers

AJ
New Cone
New Cone
Posts: 3
Joined: 16 Feb 2007 18:15

HI

Postby AJ » 21 Mar 2007 19:50

I have downloaded the new version but it does have any example and i cannot run it with previous example as i having different problem using VLCExample any body any idea how to use thanks below the error log

init:
deps-jar:
Compiling 1 source file to C:\Documents and Settings\Administrator\jvlcproject\build\classes
C:\Documents and Settings\Administrator\jvlcproject\src\VLCExample.java:97: cannot find symbol
symbol : method getChannel()
location: class org.videolan.jvlc.Audio
int currentChannel = jvlc.audio.getChannel();
C:\Documents and Settings\Administrator\jvlcproject\src\VLCExample.java:98: cannot find symbol
symbol : method getTrack()
location: class org.videolan.jvlc.Audio
System.out.println("Audio track number: " + jvlc.audio.getTrack());
C:\Documents and Settings\Administrator\jvlcproject\src\VLCExample.java:99: cannot find symbol
symbol : method getChannel()
location: class org.videolan.jvlc.Audio
System.out.println("Audio channel info: " + jvlc.audio.getChannel());
C:\Documents and Settings\Administrator\jvlcproject\src\VLCExample.java:101: cannot find symbol
symbol : method setChannel(int)
location: class org.videolan.jvlc.Audio
jvlc.audio.setChannel(AudioIntf.LEFT_CHANNEL);
C:\Documents and Settings\Administrator\jvlcproject\src\VLCExample.java:105: cannot find symbol
symbol : method setChannel(int)
location: class org.videolan.jvlc.Audio
jvlc.audio.setChannel(AudioIntf.RIGHT_CHANNEL);
C:\Documents and Settings\Administrator\jvlcproject\src\VLCExample.java:109: cannot find symbol
symbol : method setChannel(int)
location: class org.videolan.jvlc.Audio
jvlc.audio.setChannel(currentChannel);
6 errors
BUILD FAILED (total time: 0 seconds)

vdaburon
New Cone
New Cone
Posts: 9
Joined: 08 Feb 2007 14:46

Postby vdaburon » 30 Mar 2007 10:55

hello,

I have installed the jvlc-0.9.0-20070310-win32 on my Windows 2000 PC but i have error : ""Le point d'entrée de procédure freeaddrinfo est introuvable dans la bibliothèque de liaisons dynamique WS_32.DLL",

when i click on vlc.exe or when i try to launch the VLCExample
--------------------------------------
set JAVA_HOME=C:\j2sdk\jdk1.5.0_10
%JAVA_HOME%\bin\java -classpath . VLCExample
--------------------------------------

javascript:emoticon(':(')
Sad


Vincent.
Would you like to send me the stable jvlc if you have to my email address

m_amjad16@yahoo.co.uk


Thanks
Please take a look at the news windows release in the download section of the jvlc site an report any issues you find.

Cheers
:(

vdaburon
New Cone
New Cone
Posts: 9
Joined: 08 Feb 2007 14:46

Postby vdaburon » 02 Apr 2007 12:16

Hello,

I try on a Windows 2003 server, i have some problems but i can see the first image of my video.

I will try on my personal Windows XP at home.


Vincent
hello,

I have installed the jvlc-0.9.0-20070310-win32 on my Windows 2000 PC but i have error : ""Le point d'entrée de procédure freeaddrinfo est introuvable dans la bibliothèque de liaisons dynamique WS_32.DLL",

when i click on vlc.exe or when i try to launch the VLCExample
--------------------------------------
set JAVA_HOME=C:\j2sdk\jdk1.5.0_10
%JAVA_HOME%\bin\java -classpath . VLCExample
--------------------------------------

javascript:emoticon(':(')
Sad


Vincent.
Would you like to send me the stable jvlc if you have to my email address

m_amjad16@yahoo.co.uk


Thanks
Please take a look at the news windows release in the download section of the jvlc site an report any issues you find.

Cheers
:(

vdaburon
New Cone
New Cone
Posts: 9
Joined: 08 Feb 2007 14:46

Postby vdaburon » 02 Apr 2007 14:02

Hello,

I find informations about the freeaddrinfo function missing on Windows 2000.

http://msdn2.microsoft.com/en-us/library/ms737931.aspx
-------------------- extract -------------------------------------------
The freeaddrinfo function was added to the Ws2_32.dll on Windows XP and later. To execute an application using this function on earlier versions of Windows (Windows 2000, Windows NT, and Windows Me/98/95), then you must include the Ws2tcpip.h file and also include the Wspiapi.h file. When the Wspiapi.h include file is added, the freeaddrinfo function is defined to the WspiapiFreeAddrInfo inline function in the Wspiapi.h file.
-------------------------------------------------------------------------

I don't know if it's easy to compile with Ws2tcpip.h and Wspiapi.h files ?

I use Windows 2000 on my professional laptop.

Vincent
hello,

I have installed the jvlc-0.9.0-20070310-win32 on my Windows 2000 PC but i have error : ""Le point d'entrée de procédure freeaddrinfo est introuvable dans la bibliothèque de liaisons dynamique WS_32.DLL",

when i click on vlc.exe or when i try to launch the VLCExample
--------------------------------------
set JAVA_HOME=C:\j2sdk\jdk1.5.0_10
%JAVA_HOME%\bin\java -classpath . VLCExample
--------------------------------------

javascript:emoticon(':(')
Sad


Vincent.
Would you like to send me the stable jvlc if you have to my email address

m_amjad16@yahoo.co.uk


Thanks
Please take a look at the news windows release in the download section of the jvlc site an report any issues you find.

Cheers
:(

littlejohn
Blank Cone
Blank Cone
Posts: 73
Joined: 04 May 2006 14:59

Postby littlejohn » 02 Apr 2007 14:05

Hello,

I find informations about the freeaddrinfo function missing on Windows 2000.

http://msdn2.microsoft.com/en-us/library/ms737931.aspx
-------------------- extract -------------------------------------------
The freeaddrinfo function was added to the Ws2_32.dll on Windows XP and later. To execute an application using this function on earlier versions of Windows (Windows 2000, Windows NT, and Windows Me/98/95), then you must include the Ws2tcpip.h file and also include the Wspiapi.h file. When the Wspiapi.h include file is added, the freeaddrinfo function is defined to the WspiapiFreeAddrInfo inline function in the Wspiapi.h file.
-------------------------------------------------------------------------

I don't know if it's easy to compile with Ws2tcpip.h and Wspiapi.h files ?

I use Windows 2000 on my professional laptop.

Vincent
Hi Vincent,
thanks for the pointer. I don't know either how to integrate the missing functions support in jvlc, but I'll try to find a way to do it.

Of course, any windows developer help will be really appreciated.

Cheers,
lj

adanecito
Cone that earned his stripes
Cone that earned his stripes
Posts: 151
Joined: 06 Mar 2007 17:59

Postby adanecito » 03 Apr 2007 16:24

Hi littlejohn,

I was able to figure it out an I am running on Windows 2000 Professional.

What I did was find all the locations in the code where socket2.h is being referred to and added directly below it wstcpip.h. Do not ask me why I did not add wspiapi.h except I was getting tons of errors when compiling.

So, if littlejohn can get it to work repeatably by doing that it would be great.
Also, I had to add --CLASSPATH="./" as a javac parameter to the makefile in the bindings/java folder otherwise it the make did not build becuase it could not find the org/videolan/jvlc package.

Hopefully littlejohn at least can take care of the classpath issue in the builds.

There is at least 2 issues with 0.9.0 nightly builds for me:

1. Video window pops out of the jvlccanvas.
2. Video running way too fast and no audio.

Both are being looked at right now. Hopefully #2 gets resolved quickly and #1 if ANYBODY and I mean ANYBODY has it working under windows I would really like to know.

Regards,
-Tony

Regards,
-Tony

otrofox
New Cone
New Cone
Posts: 7
Joined: 25 Jan 2007 18:20

Postby otrofox » 07 May 2007 15:48

hi otrofox,

how you did setup for cross compiler, actually I am not much familiar of setup cross compiler, i tried to setup using Fedora core 6, but many errors and not success. which operating system you used and how you did setup for that.

many thanks,
I'm a completely newbie for linux and cross compiling (and C++) but I could make the project following the guides on the JVLC site.
I'm cross compiling from Windows XP SP2 using cygwin.
Of course, I had to change a loooooot of things to make it work. For example, the usleep function is not defined and thinks like that but I found, on the guides, tricks to solve those problems.

Good luck.

reluto
New Cone
New Cone
Posts: 1
Joined: 21 May 2007 20:08

Postby reluto » 21 May 2007 20:38

Would you like to send me the stable jvlc if you have to my email address
reluto@gmail.com


Thanks


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 34 guests