I'm using Ubuntu 7.10, and the (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2).
I've updated the build-essentials package and now it works!.
I get the libfobs4jmf.so library.
I am testing with:
$ java -cp fobs4jmf.jar:jmf.jar JMStudio "http://nasa.ibiblio.org/video/NASAKidsScienceNews/mpeg4/NASAKSN-HowDoSpaceShuttlesBlastOff.mp4"
great!! Yup, you need to have the build-essentials package (commented in the INSTALL file). I should put a "gcc" check to avoid this situations.
About the file not playing, take into account that is an online file. Try with a local one, which should load faster. Apparently there seems to be a racing condition between Fobs4JMF threads which sometimes produces deadlocks. I'm working on solving that now.
Cheers,
Jose San Pedro
PD: Sí señor, español soy. ¿Y tú?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Jeje siii, también soy español :) qué suerte!! me cuesta escribir en inglés, jeje.
Si, respecto al gcc tienes toda la razón, está en el fichero INSTALL, pero se me olvidó hacer el "$ sudo apt-get update", por lo que no detectaba nuevas actualizaciones al hacer el install build-essentials... fallo mío.
Ok, ya he averiguado qué ocurría. Resulta que tuve que ejecutar buildFobs.sh con sudo, porque sin sudo me daba errores de Permiso Denegado. Y luego al testearlo con el JMStudio, no me lo reproducía por el mismo motivo, haciendo sudo sí funciona.
Así que cambiaré los permisos de lectura de las librerías para que funcione en cualquier caso.
Genial!!, voy a dejar testeándolo en varios ordenadores durante estos días a ver qué tal va, porque las anteriores versiones me daban problemas de memoria (OutOfMemoryException).
Gracias por tu rápida ayuda!, si pudiera ayudar en algo, aquí estoy. :)
Un abrazo!
Daniel.
PD: Me he animado a registrarme, para que no salga lo de anónimo todo el rato...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
please, let's try keep the conversation in English so the problems and solutions described are readable by the largest number of people.
About the OutOfMemoryException, I've been trying to debug memory leaks but didn't have too much time. There were some leaks in the seek functionality. I'll try to work on this too. Send me any feedback that you consider might be interesting.
Cheers,
Jose San Pedro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think I know what's going on. Fobs cannot use the source package of ffmpeg anymore. Instead, you have to configure ffmpeg compilation with the "--prefix=/path/you/want --disable-shared "command and run "make&&make install". The use this path with the Fobs script:
./buildFobs.sh FFMPEG_HOME=/path/you/want
Basically, the fobs script searches for the directories:
$FFMPEG_HOME/lib
$FFMPEG_HOME/lib/pkgconfig <- this is the one not being found in your case
$FFMPEG_HOME/include
The "--disable-shared" seems to be mandatory so the lib/pkgconfig files are correctly generated, stating all the dependencies that ffmpeg was configured to use (e.g. --enable-libxvid, etc).
Getting compatibility with MinGW has been a huge pain in the ass, so it's understandable that issues will arise. Please provide any feedback so the rest of the community can benefit.
Cheers,
Jose San Pedro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I never expect anything to be easy with MINGW, but I did eventually get it working (!)
There seem to be a few separate issues:
1) As you said, it was not finding the pkgconfig files. In fact I had already done a "make install", and when I pointed FFMPEG_HOME to the right place it finds the package files. Although I did not specify "--disable-shared", I think this often happens anyway under MINGW because of the inherent problems making DLLs work under Windows.
2) The line of code in SConstruct that starts "env_ffmpeg[i]=[os.path.abspath..." is actually a problem for me, so I removed it. It makes all of the paths relative to the MSYS root, which in my case is wrong. All of my files are installed outside the MSYS tree.
3) The SConstruct and source files assume that the headers for the various libraries are in their own subdirectories (eg. ".../include/libavformat/avformat.h"). In my installation of FFMPEG (done using just "make install" after building from the CVS tree) all of the header files are in ".../include/ffmpeg" so the paths in the #include statements are all broken. Perhaps this be configured somehow in FFMPEG, or maybe they've recently reorganised the library structure...
After fixing all of this stuff it did build OK. Qualitatively, the new version seems to be quicker creating players and seems also to be free of memory leaks during seeking, so this is a big improvement for me.
Thanks very much for all of the hard work you've done on this. Let me know if I can help with anything.
Cheers,
Stewart
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks for the great feedback. I think your comments will be really helpful for other people in the forum!!
About the points you make:
1) The --disable-shared is mandatory in all platforms. This gave quite some headaches because I was using --enable-shared=no, which didn't help at all.
2) Paths are the main problem with MinGW. You can use two different paths, relative to "/", the mingw root, of to "/C/" (the classic windows c:\ root). Because all the dependencies assume to be in a unix path environment, I decided to make this assumption too for Fobs. I thought that would make things easier for everyone, but apparently not. I'm glad you were able to sort this out. It's a real pain.
3) I think is quite recent that they started using include/libavcodec, include/libavformat, etc. folders. But if you get the latest snapshot you'll see that is the case. They keep changing things, which does not help compatibility. For that reason, I only guarantee Fobs works with the ffmpeg package that I include in the sources ;)
Again, thanks!
Jose San Pedro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I updated and rebuilt ffmpeg under MINGW from the current sources, and the installed structure matches what is expected by FOBS. Two things to note:
1) ffmpeg will not rebuild with the version of make that comes with MSYS (GNU Make version 3.79.1). You must use the version that comes with MINGW32 (for me, GNU Make 3.81). To do this use "mingw32-make" rather than "make". If you don't do this, it will fail to find some of the rules required to handle the library targets.
2) libswscale is not installed by default with a "make install". You need to do a separate "make install" from the ffmpeg/libswscale directory.
For me, I just have to comment out line 30 of SConstruct "env_ffmpeg[i]=[os.path.abspath..." to make it work (fiddly to comment out because of python's stupid indenting rules). I also had to copy the files avi.h, riff.h and swscale.h, as instructed by the build script.
Hope this helps.
Cheers,
Stewart
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thansk again for the detailed report. About make version, this is also documented in the "INSTALL" file, section 4.7, but it's good to be redundant about it. I think I'm gonna update the doc files to make this explicit in every section dealing with ffmpeg compilation. By the way, this is also an issue for users of Mac OSX 10.4 Tiger. The latest version of XCode for Tiger (2.5) comes with make 3.80, while make >=3.81 is required by ffmpeg.
Cheers,
Jose San Pedro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm also trying to compile FOBS with MINGW, and I've some problems... After having solved the problems you were describing, I get the following errors:
g++ -D_JNI_IMPLEMENTATION_ -Wl,--kill-at -g -O3 -shared -o dist\jmf\fobs4jmf.dll jmf\decoder.o jmf\stand_alone_codec.o -Ldist\lib "-LC:\Program Files\Java\jdk1.5.0_12\lib" -lfobscore -Wl,--out-implib,dist\jmf\libfobs4jmf.a -Wl,--output-def,dist\jmf\fobs4jmf.def
jmf\stand_alone_codec.o: In function `Z10getCodecIdPc':
C:/fobs-0.4.2/jmf/stand_alone_codec.cpp:114: undefined reference to `codec_bmp_tags'
C:/fobs-0.4.2/jmf/stand_alone_codec.cpp:114: undefined reference to `codec_get_id'
C:/fobs-0.4.2/jmf/stand_alone_codec.cpp:116: undefined reference to `codec_get_id'
C:/fobs-0.4.2/jmf/stand_alone_codec.cpp:118: undefined reference to `codec_get_id'
C:/fobs-0.4.2/jmf/stand_alone_codec.cpp:121: undefined reference to `codec_wav_tags'
C:/fobs-0.4.2/jmf/stand_alone_codec.cpp:121: undefined reference to `codec_get_id'
C:/fobs-0.4.2/jmf/stand_alone_codec.cpp:123: undefined reference to `codec_get_id'
C:/fobs-0.4.2/jmf/stand_alone_codec.cpp:125: undefined reference to `codec_get_id
...
C:/fobs-0.4.2/core/PacketBuffer.cpp:43: undefined reference to `av_dup_packet'
C:/fobs-0.4.2/core/PacketBuffer.cpp:43: undefined reference to `av_dup_packet'
collect2: ld returned 1 exit status
scons: *** [dist\jmf\fobs4jmf.dll] Error 1
scons: building terminated because of errors.
arg !
any ideas?
regards,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've been testing it in JMStudio, but it fails after playing 10 times the same video (Sample.mov, 5 seconds of duration).
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb4b1961d, pid=7191, tid=3027508112
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode, sharing linux-x86)
# Problematic frame:
# C [libfobs4jmf.so+0x12261d]
#
# An error report file with more information is saved as:
# /home/weox/fobs-0.4.2/dist/jmf/hs_err_pid7191.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
In jmf.log file doesn't appear any error:
$$ Profile: instantiation: 0 ms
## Player created: com.sun.media.content.unknown.Handler@1372656
## using DataSource: com.omnividea.media.protocol.file.DataSource@fdb00d
$$ Profile: parsing: 0 ms
## Building flow graph for: file:/home/weox/contenidos/Sample.mov
## Building Track: 0
## Input: FFMPEG_VIDEO, 192x242, FrameRate=30.0, Length=46464 0 extra bytes
## Here's the completed flow graph:
com.omnividea.media.parser.video.Parser@9d6065
connects to: com.omnividea.media.codec.video.NativeDecoder@238a47
format: FFMPEG_VIDEO, 192x242, FrameRate=30.0, Length=46464 0 extra bytes
com.omnividea.media.codec.video.NativeDecoder@238a47
connects to: com.omnividea.media.renderer.video.Java2DRenderer[Fobs Java2DRenderer,0,0,0x0,invalid,layout=java.awt.FlowLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=java.awt.Dimension[width=192,height=242]]
format: RGB, 192x242, FrameRate=30.0, Length=46464, 32-bit, Masks=16711680:65280:255, LineStride=192, class [I
$$ Profile: graph building: 8 ms
$$ Profile: realize, post graph building: 1 ms
$$ Profile: prefetch: 22 ms
## Computed latency for video: 134 ms
And the hs_err_pid7191.log file:
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb4b1961d, pid=7191, tid=3027508112
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode, sharing linux-x86)
# Problematic frame:
# C [libfobs4jmf.so+0x12261d]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x0839e800): JavaThread "Loop thread: com.omnividea.media.parser.video.VideoTrack@19616c7" [_thread_in_native, id=7215, stack(0xb46f1000,0xb4742000)]
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 960K, used 254K [0x8c060000, 0x8c160000, 0x8c540000)
eden space 896K, 28% used [0x8c060000, 0x8c09efa8, 0x8c140000)
from space 64K, 4% used [0x8c140000, 0x8c140a70, 0x8c150000)
to space 64K, 0% used [0x8c150000, 0x8c150000, 0x8c160000)
tenured generation total 4096K, used 1315K [0x8c540000, 0x8c940000, 0x90060000)
the space 4096K, 32% used [0x8c540000, 0x8c688db8, 0x8c688e00, 0x8c940000)
compacting perm gen total 12288K, used 1816K [0x90060000, 0x90c60000, 0x94060000)
the space 12288K, 14% used [0x90060000, 0x90226290, 0x90226400, 0x90c60000)
ro space 8192K, 73% used [0x94060000, 0x94643310, 0x94643400, 0x94860000)
rw space 12288K, 58% used [0x94860000, 0x94f58570, 0x94f58600, 0x95460000)
vm_info: Java HotSpot(TM) Client VM (10.0-b19) for linux-x86 JRE (1.6.0_04-b12), built on Dec 14 2007 01:09:47 by "java_re" with gcc 3.2.1-7a (J2SE release)
time: Tue Jun 17 17:28:08 2008
elapsed time: 51 seconds
What can I do?
Cheers,
Daniel.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I needed 3GPP support, so I built ffmpeg with libamr. I believe means that I can't redistribute the binaries without a license [1]. If I get time, I'll try to build a redistributable version, but it would be better if we could have an official binary release.
guys sorry for the delays. I've got so many deadlines in the next few weeks that I need to write them in paper in order to remember. I'll try to post win32 binaries asap. Again, apologies for the delay!
Cheers,
Jose
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
See news section:
https://sourceforge.net/forum/forum.php?forum_id=836399
Hello!!, first, thanks a lot for your hard work!!!!!
But I have a problem compiling Fobs.
In the last step, I get some errors, and I don't see the libfobs4jmf.so file anywhere.
$ sudo ./buildFobs.sh FFMPEG_HOME=#external FOBS4JMF=yes OPTIMIZATION=yes DEBUG_SYMBOLS=no
scons: `.' is up to date.
scons: Reading SConscript files ...
Checking for C++ header file stdint.h... (cached) yes
Checking for C header file libavcodec/avcodec.h... (cached) yes
Checking for C header file libavformat/avformat.h... (cached) yes
Checking for C header file libavformat/avi.h... (cached) yes
Checking for C header file libavformat/riff.h... (cached) yes
Checking for C header file libswscale/swscale.h... (cached) yes
Checking for C header file inttypes.h... (cached) yes
Checking for C type int64_t... (cached) yes
Java found in: /usr/jdk1.6.0_04
scons: done reading SConscript files.
scons: Building targets ...
o core/Decoder.o -c -pthread -O3 -D__STDC_CONSTANT_MACROS= -Dattribute_deprecated= -Iexternal/include -Idist/include -I/usr/jdk1.6.0_04/include -I/usr/jdk1.6.0_04/include/linux core/Decoder.cpp
sh: o: not found
o core/Encoder.o -c -pthread -O3 -D__STDC_CONSTANT_MACROS= -Dattribute_deprecated= -Iexternal/include -Idist/include -I/usr/jdk1.6.0_04/include -I/usr/jdk1.6.0_04/include/linux core/Encoder.cpp
sh: o: not found
o core/Error.o -c -pthread -O3 -D__STDC_CONSTANT_MACROS= -Dattribute_deprecated= -Iexternal/include -Idist/include -I/usr/jdk1.6.0_04/include -I/usr/jdk1.6.0_04/include/linux core/Error.cpp
sh: o: not found
o core/PacketBuffer.o -c -pthread -O3 -D__STDC_CONSTANT_MACROS= -Dattribute_deprecated= -Iexternal/include -Idist/include -I/usr/jdk1.6.0_04/include -I/usr/jdk1.6.0_04/include/linux core/PacketBuffer.cpp
sh: o: not found
o core/Transcoder.o -c -pthread -O3 -D__STDC_CONSTANT_MACROS= -Dattribute_deprecated= -Iexternal/include -Idist/include -I/usr/jdk1.6.0_04/include -I/usr/jdk1.6.0_04/include/linux core/Transcoder.cpp
sh: o: not found
Install file: "core/Decoder.h" as "dist/include/Decoder.h"
Install file: "core/Encoder.h" as "dist/include/Encoder.h"
Install file: "core/Error.h" as "dist/include/Error.h"
Install file: "core/PacketBuffer.h" as "dist/include/PacketBuffer.h"
Install file: "core/Transcoder.h" as "dist/include/Transcoder.h"
Install file: "core/common.h" as "dist/include/common.h"
javac -target 1.4.2 -source 1.4 -classpath resources/jmf.jar:resources/jogl.jar:resources/junit.jar -d dist/jmf/classes -sourcepath jmf/com jmf/com/omnividea/FobsConfiguration.java jmf/com/omnividea/media/renderer/video/Java2DRenderer.java jmf/com/omnividea/media/renderer/video/OpenGLRenderer.java jmf/com/omnividea/media/renderer/video/opengl/FlatRenderer.java jmf/com/omnividea/media/renderer/video/opengl/RenderEventListener.java jmf/com/omnividea/media/codec/audio/JavaDecoder.java jmf/com/omnividea/media/codec/audio/NativeDecoder.java jmf/com/omnividea/media/codec/video/JavaDecoder.java jmf/com/omnividea/media/codec/video/NativeDecoder.java jmf/com/omnividea/media/content/unknown/Handler.java jmf/com/omnividea/media/parser/video/AudioTrack.java jmf/com/omnividea/media/parser/video/Parser.java jmf/com/omnividea/media/parser/video/VideoTrack.java jmf/com/omnividea/media/protocol/DataSource.java jmf/com/omnividea/media/protocol/http/DataSource.java jmf/com/omnividea/media/protocol/file/DataSource.java jmf/com/neon/media/codec/video/mp4v/DePacketizer.java jmf/com/neon/util/RTP.java jmf/com/moesol/bindings/FindAsResource.java jmf/com/moesol/bindings/FindInSameDirectory.java jmf/com/moesol/bindings/FindInSameDirectoryTest.java jmf/com/moesol/bindings/FindInSameDirectoryUsingJarBaseName.java jmf/com/moesol/bindings/FindInSameDirectoryUsingJarBaseNameTest.java jmf/com/moesol/bindings/NativeLibraryFinder.java jmf/com/moesol/bindings/NativeLibraryFinderStrategy.java jmf/com/moesol/bindings/NativeLibraryFinderTest.java
jar cf dist/jmf/fobs4jmf.jar -C dist/jmf/classes .
Install file: "resources/jmf.jar" as "dist/jmf/jmf.jar"
Install file: "resources/jmf.properties" as "dist/jmf/jmf.properties"
Install file: "resources/jogl.jar" as "dist/jmf/jogl.jar"
Install file: "resources/junit.jar" as "dist/jmf/junit.jar"
o jmf/decoder.os -c -pthread -O3 -fPIC -D__STDC_CONSTANT_MACROS= -Dattribute_deprecated= -Iexternal/include -Idist/include -I/usr/jdk1.6.0_04/include -I/usr/jdk1.6.0_04/include/linux jmf/decoder.cpp
sh: o: not found
o jmf/stand_alone_codec.os -c -pthread -O3 -fPIC -D__STDC_CONSTANT_MACROS= -Dattribute_deprecated= -Iexternal/include -Idist/include -I/usr/jdk1.6.0_04/include -I/usr/jdk1.6.0_04/include/linux jmf/stand_alone_codec.cpp
sh: o: not found
ar rc dist/lib/libfobscore.a core/PacketBuffer.o core/Decoder.o core/Encoder.o core/Transcoder.o core/Error.o
ar: core/PacketBuffer.o: No such file or directory
scons: *** [dist/lib/libfobscore.a] Error 1
scons: building terminated because of errors.
Thanks in advance. :)
Hi,
that's strange. It seems "scons" is detecting your default C compiler to be "o", which doesn't make too much sense (should be gcc).
Things to try:
- run gcc in the command line, to verify it is installed in your system
- run the build script without sudo
If you could, in addition, provide more details about the system you're using...
Cheers,
Jose San Pedro
Thanks for your response, I did it!
I'm using Ubuntu 7.10, and the (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2).
I've updated the build-essentials package and now it works!.
I get the libfobs4jmf.so library.
I am testing with:
$ java -cp fobs4jmf.jar:jmf.jar JMStudio "http://nasa.ibiblio.org/video/NASAKidsScienceNews/mpeg4/NASAKSN-HowDoSpaceShuttlesBlastOff.mp4"
But it doesn't play the video and the log show:
Fobs4JMF - Native shared library found
Audio codec unsupported!
102.135First Position: 0, 33 Duration: 102135
Frame Rate: 29.97
Audio codec unsupported!
Opening Thread[JMF thread: com.sun.media.PlaybackEngine@723d7c[ com.sun.media.PlaybackEngine@723d7c ] ( configureThread),9,system]
Fobs Java2DRenderer: setInputFormat
Fobs Java2DRenderer: setInputFormat
Still trying...
Cheers,
Daniel
PD: Are you Spanish? :)
Hi,
great!! Yup, you need to have the build-essentials package (commented in the INSTALL file). I should put a "gcc" check to avoid this situations.
About the file not playing, take into account that is an online file. Try with a local one, which should load faster. Apparently there seems to be a racing condition between Fobs4JMF threads which sometimes produces deadlocks. I'm working on solving that now.
Cheers,
Jose San Pedro
PD: Sí señor, español soy. ¿Y tú?
Jeje siii, también soy español :) qué suerte!! me cuesta escribir en inglés, jeje.
Si, respecto al gcc tienes toda la razón, está en el fichero INSTALL, pero se me olvidó hacer el "$ sudo apt-get update", por lo que no detectaba nuevas actualizaciones al hacer el install build-essentials... fallo mío.
Ok, ya he averiguado qué ocurría. Resulta que tuve que ejecutar buildFobs.sh con sudo, porque sin sudo me daba errores de Permiso Denegado. Y luego al testearlo con el JMStudio, no me lo reproducía por el mismo motivo, haciendo sudo sí funciona.
Así que cambiaré los permisos de lectura de las librerías para que funcione en cualquier caso.
Genial!!, voy a dejar testeándolo en varios ordenadores durante estos días a ver qué tal va, porque las anteriores versiones me daban problemas de memoria (OutOfMemoryException).
Gracias por tu rápida ayuda!, si pudiera ayudar en algo, aquí estoy. :)
Un abrazo!
Daniel.
PD: Me he animado a registrarme, para que no salga lo de anónimo todo el rato...
Daniel,
please, let's try keep the conversation in English so the problems and solutions described are readable by the largest number of people.
About the OutOfMemoryException, I've been trying to debug memory leaks but didn't have too much time. There were some leaks in the seek functionality. I'll try to work on this too. Send me any feedback that you consider might be interesting.
Cheers,
Jose San Pedro
Hi,
I'm trying to build FOBS under MSYS/MINGW, but get this error. I'm trying to use an existing version of FFMPEG built from CVS.
Any idea what's wrong here?
Cheers,
Stewart
$ ./buildFobs.sh FFMPEG_HOME=s:/stewart/home/cvs/ffmpeg3
scons: `.' is up to date.
scons: Reading SConscript files ...
KeyError: 'Libs':
File "S:\stewart\local\src\fobs-0.4.2\SConstruct", line 30:
env_ffmpeg.MergeFlags(res.get_output())
File "S:\stewart\local\src\fobs-0.4.2/scripts\fobscons.py", line 61:
return self['Libs']+" "+self['Cflags']
Stewart,
I think I know what's going on. Fobs cannot use the source package of ffmpeg anymore. Instead, you have to configure ffmpeg compilation with the "--prefix=/path/you/want --disable-shared "command and run "make&&make install". The use this path with the Fobs script:
./buildFobs.sh FFMPEG_HOME=/path/you/want
Basically, the fobs script searches for the directories:
$FFMPEG_HOME/lib
$FFMPEG_HOME/lib/pkgconfig <- this is the one not being found in your case
$FFMPEG_HOME/include
The "--disable-shared" seems to be mandatory so the lib/pkgconfig files are correctly generated, stating all the dependencies that ffmpeg was configured to use (e.g. --enable-libxvid, etc).
Getting compatibility with MinGW has been a huge pain in the ass, so it's understandable that issues will arise. Please provide any feedback so the rest of the community can benefit.
Cheers,
Jose San Pedro
Hi Jose,
I never expect anything to be easy with MINGW, but I did eventually get it working (!)
There seem to be a few separate issues:
1) As you said, it was not finding the pkgconfig files. In fact I had already done a "make install", and when I pointed FFMPEG_HOME to the right place it finds the package files. Although I did not specify "--disable-shared", I think this often happens anyway under MINGW because of the inherent problems making DLLs work under Windows.
2) The line of code in SConstruct that starts "env_ffmpeg[i]=[os.path.abspath..." is actually a problem for me, so I removed it. It makes all of the paths relative to the MSYS root, which in my case is wrong. All of my files are installed outside the MSYS tree.
3) The SConstruct and source files assume that the headers for the various libraries are in their own subdirectories (eg. ".../include/libavformat/avformat.h"). In my installation of FFMPEG (done using just "make install" after building from the CVS tree) all of the header files are in ".../include/ffmpeg" so the paths in the #include statements are all broken. Perhaps this be configured somehow in FFMPEG, or maybe they've recently reorganised the library structure...
After fixing all of this stuff it did build OK. Qualitatively, the new version seems to be quicker creating players and seems also to be free of memory leaks during seeking, so this is a big improvement for me.
Thanks very much for all of the hard work you've done on this. Let me know if I can help with anything.
Cheers,
Stewart
Stewart,
thanks for the great feedback. I think your comments will be really helpful for other people in the forum!!
About the points you make:
1) The --disable-shared is mandatory in all platforms. This gave quite some headaches because I was using --enable-shared=no, which didn't help at all.
2) Paths are the main problem with MinGW. You can use two different paths, relative to "/", the mingw root, of to "/C/" (the classic windows c:\ root). Because all the dependencies assume to be in a unix path environment, I decided to make this assumption too for Fobs. I thought that would make things easier for everyone, but apparently not. I'm glad you were able to sort this out. It's a real pain.
3) I think is quite recent that they started using include/libavcodec, include/libavformat, etc. folders. But if you get the latest snapshot you'll see that is the case. They keep changing things, which does not help compatibility. For that reason, I only guarantee Fobs works with the ffmpeg package that I include in the sources ;)
Again, thanks!
Jose San Pedro
Just an update to my earlier report...
I updated and rebuilt ffmpeg under MINGW from the current sources, and the installed structure matches what is expected by FOBS. Two things to note:
1) ffmpeg will not rebuild with the version of make that comes with MSYS (GNU Make version 3.79.1). You must use the version that comes with MINGW32 (for me, GNU Make 3.81). To do this use "mingw32-make" rather than "make". If you don't do this, it will fail to find some of the rules required to handle the library targets.
2) libswscale is not installed by default with a "make install". You need to do a separate "make install" from the ffmpeg/libswscale directory.
For me, I just have to comment out line 30 of SConstruct "env_ffmpeg[i]=[os.path.abspath..." to make it work (fiddly to comment out because of python's stupid indenting rules). I also had to copy the files avi.h, riff.h and swscale.h, as instructed by the build script.
Hope this helps.
Cheers,
Stewart
Hi,
thansk again for the detailed report. About make version, this is also documented in the "INSTALL" file, section 4.7, but it's good to be redundant about it. I think I'm gonna update the doc files to make this explicit in every section dealing with ffmpeg compilation. By the way, this is also an issue for users of Mac OSX 10.4 Tiger. The latest version of XCode for Tiger (2.5) comes with make 3.80, while make >=3.81 is required by ffmpeg.
Cheers,
Jose San Pedro
Hi,
I'm also trying to compile FOBS with MINGW, and I've some problems... After having solved the problems you were describing, I get the following errors:
g++ -D_JNI_IMPLEMENTATION_ -Wl,--kill-at -g -O3 -shared -o dist\jmf\fobs4jmf.dll jmf\decoder.o jmf\stand_alone_codec.o -Ldist\lib "-LC:\Program Files\Java\jdk1.5.0_12\lib" -lfobscore -Wl,--out-implib,dist\jmf\libfobs4jmf.a -Wl,--output-def,dist\jmf\fobs4jmf.def
jmf\stand_alone_codec.o: In function `Z10getCodecIdPc':
C:/fobs-0.4.2/jmf/stand_alone_codec.cpp:114: undefined reference to `codec_bmp_tags'
C:/fobs-0.4.2/jmf/stand_alone_codec.cpp:114: undefined reference to `codec_get_id'
C:/fobs-0.4.2/jmf/stand_alone_codec.cpp:116: undefined reference to `codec_get_id'
C:/fobs-0.4.2/jmf/stand_alone_codec.cpp:118: undefined reference to `codec_get_id'
C:/fobs-0.4.2/jmf/stand_alone_codec.cpp:121: undefined reference to `codec_wav_tags'
C:/fobs-0.4.2/jmf/stand_alone_codec.cpp:121: undefined reference to `codec_get_id'
C:/fobs-0.4.2/jmf/stand_alone_codec.cpp:123: undefined reference to `codec_get_id'
C:/fobs-0.4.2/jmf/stand_alone_codec.cpp:125: undefined reference to `codec_get_id
...
C:/fobs-0.4.2/core/PacketBuffer.cpp:43: undefined reference to `av_dup_packet'
C:/fobs-0.4.2/core/PacketBuffer.cpp:43: undefined reference to `av_dup_packet'
collect2: ld returned 1 exit status
scons: *** [dist\jmf\fobs4jmf.dll] Error 1
scons: building terminated because of errors.
arg !
any ideas?
regards,
Ok, sorry, you're right :)
I've been testing it in JMStudio, but it fails after playing 10 times the same video (Sample.mov, 5 seconds of duration).
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb4b1961d, pid=7191, tid=3027508112
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode, sharing linux-x86)
# Problematic frame:
# C [libfobs4jmf.so+0x12261d]
#
# An error report file with more information is saved as:
# /home/weox/fobs-0.4.2/dist/jmf/hs_err_pid7191.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
In jmf.log file doesn't appear any error:
$$ Profile: instantiation: 0 ms
## Player created: com.sun.media.content.unknown.Handler@1372656
## using DataSource: com.omnividea.media.protocol.file.DataSource@fdb00d
$$ Profile: parsing: 0 ms
## Building flow graph for: file:/home/weox/contenidos/Sample.mov
## Building Track: 0
## Input: FFMPEG_VIDEO, 192x242, FrameRate=30.0, Length=46464 0 extra bytes
## Here's the completed flow graph:
com.omnividea.media.parser.video.Parser@9d6065
connects to: com.omnividea.media.codec.video.NativeDecoder@238a47
format: FFMPEG_VIDEO, 192x242, FrameRate=30.0, Length=46464 0 extra bytes
com.omnividea.media.codec.video.NativeDecoder@238a47
connects to: com.omnividea.media.renderer.video.Java2DRenderer[Fobs Java2DRenderer,0,0,0x0,invalid,layout=java.awt.FlowLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=java.awt.Dimension[width=192,height=242]]
format: RGB, 192x242, FrameRate=30.0, Length=46464, 32-bit, Masks=16711680:65280:255, LineStride=192, class [I
$$ Profile: graph building: 8 ms
$$ Profile: realize, post graph building: 1 ms
$$ Profile: prefetch: 22 ms
## Computed latency for video: 134 ms
And the hs_err_pid7191.log file:
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb4b1961d, pid=7191, tid=3027508112
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode, sharing linux-x86)
# Problematic frame:
# C [libfobs4jmf.so+0x12261d]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x0839e800): JavaThread "Loop thread: com.omnividea.media.parser.video.VideoTrack@19616c7" [_thread_in_native, id=7215, stack(0xb46f1000,0xb4742000)]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=128 (), si_addr=0x00000000
Registers:
EAX=0x0834ce87, EBX=0xb4740408, ECX=0xb4740408, EDX=0x0834c947
ESP=0xb47403cc, EBP=0x00000008, ESI=0x000000e0, EDI=0x000000e0
EIP=0xb4b1961d, CR2=0xb7fa3100, EFLAGS=0x00210206
Top of Stack: (sp=0xb47403cc)
0xb47403cc: 08124d88 00000000 00000002 fffff4a8
0xb47403dc: afafb1b1 afaeadad 083e6dbc 00000000
0xb47403ec: 083e5fa0 000000e0 b4b19e0b 000000e0
0xb47403fc: 00000008 000000e0 00000008 155c15dc
0xb474040c: 1542151c 1831181d 08353c58 b4740468
0xb474041c: 000000e0 b4b103f9 000000e0 00000010
0xb474042c: 08353c50 b4740460 000000e0 083d6100
0xb474043c: b4b1cd6f 000000e0 b4740460 083cff80
Instructions: (pc=0xb4b1961d)
0xb4b1960d: d5 35 10 65 e6 b4 66 0f fd c5 01 f0 66 0f fd f0
0xb4b1961d: 66 0f 7f 31 66 0f 6f f3 f3 0f 7e 00 66 0f fd f4
Stack: [0xb46f1000,0xb4742000], sp=0xb47403cc, free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libfobs4jmf.so+0x12261d]
[error occurred during error reporting (printing native stack), id 0xb]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J com.omnividea.media.parser.video.Parser.avProcess(JLjava/lang/Object;JJZI)Z
J com.omnividea.media.parser.video.Parser.getNextFrame(Ljava/lang/Object;JJ)Z
v ~BufferBlob::Interpreter
J com.sun.media.SourceThread.process()Z
v ~BufferBlob::Interpreter
v ~BufferBlob::StubRoutines (1)
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
=>0x0839e800 JavaThread "Loop thread: com.omnividea.media.parser.video.VideoTrack@19616c7" [_thread_in_native, id=7215, stack(0xb46f1000,0xb4742000)]
0x0839d400 JavaThread "Loop thread: com.omnividea.media.renderer.video.Java2DRenderer[Fobs Java2DRenderer,0,0,0x0,invalid,layout=java.awt.FlowLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=java.awt.Dimension[width=192,height=242]]" [_thread_blocked, id=7214, stack(0xb4742000,0xb4793000)]
0x08399c00 JavaThread "Progress Slider thread" [_thread_blocked, id=7211, stack(0xb4886000,0xb48d7000)]
0x0836c800 JavaThread "Loop thread" [_thread_blocked, id=7210, stack(0xb47e4000,0xb4835000)]
0x08058800 JavaThread "DestroyJavaVM" [_thread_blocked, id=7192, stack(0xb7db0000,0xb7e01000)]
0x082e0c00 JavaThread "JMF thread: SendEventQueue: com.sun.media.PlaybackEngine" [_thread_blocked, id=7206, stack(0xb5124000,0xb5175000)]
0xb552a000 JavaThread "JMF thread: SendEventQueue: com.sun.media.content.unknown.Handler" [_thread_blocked, id=7205, stack(0xb5188000,0xb51d9000)]
0xb553e000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=7203, stack(0xb523e000,0xb528f000)]
0xb553a400 JavaThread "AWT-Shutdown" [_thread_blocked, id=7202, stack(0xb528f000,0xb52e0000)]
0xb5533c00 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=7201, stack(0xb52e0000,0xb5331000)]
0xb5527c00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=7200, stack(0xb5331000,0xb5382000)]
0x08096800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=7198, stack(0xb5985000,0xb59d6000)]
0x0808bc00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=7197, stack(0xb59d6000,0xb5a57000)]
0x0808a800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7196, stack(0xb5a57000,0xb5aa8000)]
0x08081800 JavaThread "Finalizer" daemon [_thread_blocked, id=7195, stack(0xb5aee000,0xb5b3f000)]
0x08080400 JavaThread "Reference Handler" daemon [_thread_blocked, id=7194, stack(0xb5b3f000,0xb5b90000)]
Other Threads:
0x0807f000 VMThread [stack: 0xb5b90000,0xb5c11000] [id=7193]
0x08097c00 WatcherThread [stack: 0xb5904000,0xb5985000] [id=7199]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 960K, used 254K [0x8c060000, 0x8c160000, 0x8c540000)
eden space 896K, 28% used [0x8c060000, 0x8c09efa8, 0x8c140000)
from space 64K, 4% used [0x8c140000, 0x8c140a70, 0x8c150000)
to space 64K, 0% used [0x8c150000, 0x8c150000, 0x8c160000)
tenured generation total 4096K, used 1315K [0x8c540000, 0x8c940000, 0x90060000)
the space 4096K, 32% used [0x8c540000, 0x8c688db8, 0x8c688e00, 0x8c940000)
compacting perm gen total 12288K, used 1816K [0x90060000, 0x90c60000, 0x94060000)
the space 12288K, 14% used [0x90060000, 0x90226290, 0x90226400, 0x90c60000)
ro space 8192K, 73% used [0x94060000, 0x94643310, 0x94643400, 0x94860000)
rw space 12288K, 58% used [0x94860000, 0x94f58570, 0x94f58600, 0x95460000)
Dynamic libraries:
06000000-0641a000 r-xp 00000000 08:02 4375053 /usr/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
0641a000-06434000 rwxp 0041a000 08:02 4375053 /usr/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
06434000-06854000 rwxp 06434000 00:00 0
08048000-08052000 r-xp 00000000 08:02 4375022 /usr/jdk1.6.0_04/jre/bin/java
08052000-08053000 rwxp 00009000 08:02 4375022 /usr/jdk1.6.0_04/jre/bin/java
08053000-08483000 rwxp 08053000 00:00 0 [heap]
8c060000-8c160000 rwxp 8c060000 00:00 0
8c160000-8c540000 rwxp 8c160000 00:00 0
8c540000-8c940000 rwxp 8c540000 00:00 0
8c940000-90060000 rwxp 8c940000 00:00 0
90060000-90c60000 rwxp 90060000 00:00 0
90c60000-94060000 rwxp 90c60000 00:00 0
94060000-94644000 r-xs 00001000 08:02 4375129 /usr/jdk1.6.0_04/jre/lib/i386/client/classes.jsa
94644000-94860000 rwxp 94644000 00:00 0
94860000-94f59000 rwxp 005e5000 08:02 4375129 /usr/jdk1.6.0_04/jre/lib/i386/client/classes.jsa
94f59000-95460000 rwxp 94f59000 00:00 0
95460000-95539000 rwxp 00cde000 08:02 4375129 /usr/jdk1.6.0_04/jre/lib/i386/client/classes.jsa
95539000-95860000 rwxp 95539000 00:00 0
95860000-95864000 r-xs 00db7000 08:02 4375129 /usr/jdk1.6.0_04/jre/lib/i386/client/classes.jsa
95864000-95c60000 rwxp 95864000 00:00 0
b45f2000-b4620000 rwxs 00000000 00:09 2129929 /SYSV00000000 (deleted)
b4620000-b4623000 rwxp b4620000 00:00 0
b4623000-b4671000 rwxp b4623000 00:00 0
b4671000-b4674000 rwxp b4671000 00:00 0
b4674000-b46f1000 rwxp b4674000 00:00 0
b46f1000-b46f4000 ---p b46f1000 00:00 0
b46f4000-b4742000 rwxp b46f4000 00:00 0
b4742000-b4745000 ---p b4742000 00:00 0
b4745000-b4793000 rwxp b4745000 00:00 0
b4793000-b4796000 rwxp b4793000 00:00 0
b4796000-b47e4000 rwxp b4796000 00:00 0
b47e4000-b47e7000 ---p b47e4000 00:00 0
b47e7000-b4835000 rwxp b47e7000 00:00 0
b4835000-b4838000 rwxp b4835000 00:00 0
b4838000-b4886000 rwxp b4838000 00:00 0
b4886000-b4889000 ---p b4886000 00:00 0
b4889000-b48d7000 rwxp b4889000 00:00 0
b48d7000-b48e1000 r-xp 00000000 08:02 3555395 /lib/libgcc_s.so.1
b48e1000-b48e2000 rwxp 0000a000 08:02 3555395 /lib/libgcc_s.so.1
b48e2000-b49ca000 r-xp 00000000 08:02 3950572 /usr/lib/libstdc++.so.6.0.9
b49ca000-b49cd000 r-xp 000e8000 08:02 3950572 /usr/lib/libstdc++.so.6.0.9
b49cd000-b49cf000 rwxp 000eb000 08:02 3950572 /usr/lib/libstdc++.so.6.0.9
b49cf000-b49d5000 rwxp b49cf000 00:00 0
b49d5000-b49e9000 r-xp 00000000 08:02 3950642 /usr/lib/libz.so.1.2.3.3
b49e9000-b49ea000 rwxp 00013000 08:02 3950642 /usr/lib/libz.so.1.2.3.3
b49f7000-b4ef5000 r-xp 00000000 08:02 5030472 /home/dani/fobs-0.4.2/dist/jmf/libfobs4jmf.so
b4ef5000-b4eff000 rwxp 004fd000 08:02 5030472 /home/dani/fobs-0.4.2/dist/jmf/libfobs4jmf.so
b4eff000-b5124000 rwxp b4eff000 00:00 0
b5124000-b5127000 ---p b5124000 00:00 0
b5127000-b5175000 rwxp b5127000 00:00 0
b5188000-b518b000 ---p b5188000 00:00 0
b518b000-b51d9000 rwxp b518b000 00:00 0
b51d9000-b51dc000 rwxp b51d9000 00:00 0
b51dc000-b522a000 rwxp b51dc000 00:00 0
b522a000-b523d000 r-xp 00000000 08:02 4375066 /usr/jdk1.6.0_04/jre/lib/i386/libnet.so
b523d000-b523e000 rwxp 00013000 08:02 4375066 /usr/jdk1.6.0_04/jre/lib/i386/libnet.so
b523e000-b5241000 ---p b523e000 00:00 0
b5241000-b528f000 rwxp b5241000 00:00 0
b528f000-b5292000 ---p b528f000 00:00 0
b5292000-b52e0000 rwxp b5292000 00:00 0
b52e0000-b52e3000 ---p b52e0000 00:00 0
b52e3000-b5331000 rwxp b52e3000 00:00 0
b5331000-b5334000 ---p b5331000 00:00 0
b5334000-b5382000 rwxp b5334000 00:00 0
b5382000-b5400000 r-xp 00000000 08:02 4375079 /usr/jdk1.6.0_04/jre/lib/i386/libfontmanager.so
b5400000-b540a000 rwxp 0007e000 08:02 4375079 /usr/jdk1.6.0_04/jre/lib/i386/libfontmanager.so
b540a000-b540f000 rwxp b540a000 00:00 0
b540f000-b54fc000 r-xp 00000000 08:02 3949858 /usr/lib/libX11.so.6.2.0
b54fc000-b5500000 rwxp 000ed000 08:02 3949858 /usr/lib/libX11.so.6.2.0
b5500000-b55b4000 rwxp b5500000 00:00 0
b55b4000-b5600000 ---p b55b4000 00:00 0
b5600000-b5604000 r-xp 00000000 08:02 3949881 /usr/lib/libXfixes.so.3.1.0
b5604000-b5605000 rwxp 00003000 08:02 3949881 /usr/lib/libXfixes.so.3.1.0
b5605000-b560c000 r-xp 00000000 08:02 3949901 /usr/lib/libXrender.so.1.3.0
b560c000-b560d000 rwxp 00006000 08:02 3949901 /usr/lib/libXrender.so.1.3.0
b560d000-b5615000 r-xp 00000000 08:02 3949871 /usr/lib/libXcursor.so.1.0.2
b5615000-b5616000 rwxp 00007000 08:02 3949871 /usr/lib/libXcursor.so.1.0.2
b5616000-b561a000 r-xp 00000000 08:02 3949875 /usr/lib/libXdmcp.so.6.0.0
b561a000-b561b000 rwxp 00003000 08:02 3949875 /usr/lib/libXdmcp.so.6.0.0
b561b000-b561d000 r-xp 00000000 08:02 3949864 /usr/lib/libXau.so.6.0.0
b561d000-b561e000 rwxp 00001000 08:02 3949864 /usr/lib/libXau.so.6.0.0
b561e000-b5625000 r-xp 00000000 08:02 3949887 /usr/lib/libXi.so.6.0.0
b5625000-b5626000 rwxp 00006000 08:02 3949887 /usr/lib/libXi.so.6.0.0
b5626000-b562a000 r-xp 00000000 08:02 3949907 /usr/lib/libXtst.so.6.1.0
b562a000-b562b000 rwxp 00004000 08:02 3949907 /usr/lib/libXtst.so.6.1.0
b562b000-b5638000 r-xp 00000000 08:02 3949879 /usr/lib/libXext.so.6.4.0
b5638000-b5639000 rwxp 0000d000 08:02 3949879 /usr/lib/libXext.so.6.4.0
b563a000-b563e000 rwxs 00000000 00:09 2064392 /SYSV00000000 (deleted)
b563e000-b5645000 r-xp 00000000 08:02 4375067 /usr/jdk1.6.0_04/jre/lib/i386/libnio.so
b5645000-b5646000 rwxp 00006000 08:02 4375067 /usr/jdk1.6.0_04/jre/lib/i386/libnio.so
b5646000-b5687000 r-xp 00000000 08:02 4407298 /usr/jdk1.6.0_04/jre/lib/i386/xawt/libmawt.so
b5687000-b5689000 rwxp 00041000 08:02 4407298 /usr/jdk1.6.0_04/jre/lib/i386/xawt/libmawt.so
b5689000-b568a000 rwxp b5689000 00:00 0
b568a000-b5705000 r-xp 00000000 08:02 4375077 /usr/jdk1.6.0_04/jre/lib/i386/libawt.so
b5705000-b570c000 rwxp 0007b000 08:02 4375077 /usr/jdk1.6.0_04/jre/lib/i386/libawt.so
b570c000-b5762000 rwxp b570c000 00:00 0
b5762000-b58ec000 r-xs 02de1000 08:02 4375144 /usr/jdk1.6.0_04/jre/lib/rt.jar
b58ec000-b5904000 r-xs 001b9000 08:02 5030466 /home/dani/fobs-0.4.2/dist/jmf/jmf.jar
b5904000-b5905000 ---p b5904000 00:00 0
b5905000-b5985000 rwxp b5905000 00:00 0
b5985000-b5988000 ---p b5985000 00:00 0
b5988000-b59d6000 rwxp b5988000 00:00 0
b59d6000-b59d9000 ---p b59d6000 00:00 0
b59d9000-b5a57000 rwxp b59d9000 00:00 0
b5a57000-b5a5a000 ---p b5a57000 00:00 0
b5a5a000-b5aa8000 rwxp b5a5a000 00:00 0
b5aa8000-b5aaf000 r-xs 00000000 08:02 3982008 /usr/lib/gconv/gconv-modules.cache
b5aaf000-b5aee000 r-xp 00000000 08:02 4015503 /usr/lib/locale/es_ES.utf8/LC_CTYPE
b5aee000-b5af1000 ---p b5aee000 00:00 0
b5af1000-b5b3f000 rwxp b5af1000 00:00 0
b5b3f000-b5b42000 ---p b5b3f000 00:00 0
b5b42000-b5b90000 rwxp b5b42000 00:00 0
b5b90000-b5b91000 ---p b5b90000 00:00 0
b5b91000-b5c1f000 rwxp b5b91000 00:00 0
b5c1f000-b5c39000 rwxp b5c1f000 00:00 0
b5c39000-b5c3c000 rwxp b5c39000 00:00 0
b5c3c000-b5c57000 rwxp b5c3c000 00:00 0
b5c57000-b5c58000 rwxp b5c57000 00:00 0
b5c58000-b5c59000 rwxp b5c58000 00:00 0
b5c59000-b5c5c000 rwxp b5c59000 00:00 0
b5c5c000-b5c77000 rwxp b5c5c000 00:00 0
b5c77000-b5c7d000 rwxp b5c77000 00:00 0
b5c7d000-b5c97000 rwxp b5c7d000 00:00 0
b5c97000-b5ca7000 rwxp b5c97000 00:00 0
b5ca7000-b5d22000 rwxp b5ca7000 00:00 0
b5d22000-b5e2a000 rwxp b5d22000 00:00 0
b5e2a000-b7d22000 rwxp b5e2a000 00:00 0
b7d22000-b7d31000 r-xp 00000000 08:02 4375062 /usr/jdk1.6.0_04/jre/lib/i386/libzip.so
b7d31000-b7d33000 rwxp 0000e000 08:02 4375062 /usr/jdk1.6.0_04/jre/lib/i386/libzip.so
b7d33000-b7d56000 r-xp 00000000 08:02 4375060 /usr/jdk1.6.0_04/jre/lib/i386/libjava.so
b7d56000-b7d58000 rwxp 00023000 08:02 4375060 /usr/jdk1.6.0_04/jre/lib/i386/libjava.so
b7d58000-b7d63000 r-xp 00000000 08:02 4375059 /usr/jdk1.6.0_04/jre/lib/i386/libverify.so
b7d63000-b7d64000 rwxp 0000b000 08:02 4375059 /usr/jdk1.6.0_04/jre/lib/i386/libverify.so
b7d64000-b7d6d000 r-xp 00000000 08:02 3589076 /lib/tls/i686/cmov/libnss_files-2.6.1.so
b7d6d000-b7d6f000 rwxp 00008000 08:02 3589076 /lib/tls/i686/cmov/libnss_files-2.6.1.so
b7d6f000-b7d77000 r-xp 00000000 08:02 3589078 /lib/tls/i686/cmov/libnss_nis-2.6.1.so
b7d77000-b7d79000 rwxp 00007000 08:02 3589078 /lib/tls/i686/cmov/libnss_nis-2.6.1.so
b7d79000-b7d80000 r-xp 00000000 08:02 3589074 /lib/tls/i686/cmov/libnss_compat-2.6.1.so
b7d80000-b7d82000 rwxp 00006000 08:02 3589074 /lib/tls/i686/cmov/libnss_compat-2.6.1.so
b7d82000-b7d96000 r-xp 00000000 08:02 3589073 /lib/tls/i686/cmov/libnsl-2.6.1.so
b7d96000-b7d98000 rwxp 00013000 08:02 3589073 /lib/tls/i686/cmov/libnsl-2.6.1.so
b7d98000-b7d9f000 rwxp b7d98000 00:00 0
b7d9f000-b7da7000 rwxs 00000000 08:02 5734438 /tmp/hsperfdata_root/7191
b7da7000-b7dae000 r-xp 00000000 08:02 3589083 /lib/tls/i686/cmov/librt-2.6.1.so
b7dae000-b7db0000 rwxp 00006000 08:02 3589083 /lib/tls/i686/cmov/librt-2.6.1.so
b7db0000-b7db3000 ---p b7db0000 00:00 0
b7db3000-b7e01000 rwxp b7db3000 00:00 0
b7e01000-b7e24000 r-xp 00000000 08:02 3589071 /lib/tls/i686/cmov/libm-2.6.1.so
b7e24000-b7e26000 rwxp 00023000 08:02 3589071 /lib/tls/i686/cmov/libm-2.6.1.so
b7e26000-b7e27000 rwxp b7e26000 00:00 0
b7e27000-b7f6b000 r-xp 00000000 08:02 3589067 /lib/tls/i686/cmov/libc-2.6.1.so
b7f6b000-b7f6c000 r-xp 00143000 08:02 3589067 /lib/tls/i686/cmov/libc-2.6.1.so
b7f6c000-b7f6e000 rwxp 00144000 08:02 3589067 /lib/tls/i686/cmov/libc-2.6.1.so
b7f6e000-b7f71000 rwxp b7f6e000 00:00 0
b7f71000-b7f73000 r-xp 00000000 08:02 3589070 /lib/tls/i686/cmov/libdl-2.6.1.so
b7f73000-b7f75000 rwxp 00001000 08:02 3589070 /lib/tls/i686/cmov/libdl-2.6.1.so
b7f75000-b7f7c000 r-xp 00000000 08:02 4391615 /usr/jdk1.6.0_04/jre/lib/i386/jli/libjli.so
b7f7c000-b7f7e000 rwxp 00006000 08:02 4391615 /usr/jdk1.6.0_04/jre/lib/i386/jli/libjli.so
b7f7e000-b7f7f000 rwxp b7f7e000 00:00 0
b7f7f000-b7f93000 r-xp 00000000 08:02 3589081 /lib/tls/i686/cmov/libpthread-2.6.1.so
b7f93000-b7f95000 rwxp 00013000 08:02 3589081 /lib/tls/i686/cmov/libpthread-2.6.1.so
b7f95000-b7f98000 rwxp b7f95000 00:00 0
b7f98000-b7f9b000 r-xs 0000c000 08:02 5030465 /home/dani/fobs-0.4.2/dist/jmf/fobs4jmf.jar
b7f9b000-b7fa1000 r-xp 00000000 08:02 4375046 /usr/jdk1.6.0_04/jre/lib/i386/native_threads/libhpi.so
b7fa1000-b7fa2000 rwxp 00006000 08:02 4375046 /usr/jdk1.6.0_04/jre/lib/i386/native_threads/libhpi.so
b7fa2000-b7fa3000 rwxp b7fa2000 00:00 0
b7fa3000-b7fa4000 r-xp b7fa3000 00:00 0
b7fa4000-b7fa6000 rwxp b7fa4000 00:00 0
b7fa6000-b7fc0000 r-xp 00000000 08:02 3555341 /lib/ld-2.6.1.so
b7fc0000-b7fc2000 rwxp 00019000 08:02 3555341 /lib/ld-2.6.1.so
bfe60000-bfe75000 rwxp bfe60000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
VM Arguments:
java_command: JMStudio /home/dani/contenidos/Sample.mov
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=/usr/jdk1.6.0_04
CLASSPATH=/usr/jdk1.6.0_04/lib/ext:/home/dani/lib/jmf.jar:/home/dani/lib/fobs4jmf.jar
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
LD_LIBRARY_PATH=/usr/jdk1.6.0_04/jre/lib/i386/client:/usr/jdk1.6.0_04/jre/lib/i386:/usr/jdk1.6.0_04/jre/../lib/i386
SHELL=/bin/bash
DISPLAY=:0.0
Signal Handlers:
SIGSEGV: [libjvm.so+0x3be340], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x3be340], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x30f440], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x30f440], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGXFSZ: [libjvm.so+0x30f440], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x30f440], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x311480], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x311220], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x311220], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x311220], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x311220], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
--------------- S Y S T E M ---------------
OS:lenny/sid
uname:Linux 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686
libc:glibc 2.6.1 NPTL 2.6.1
rlimit: STACK 8192k, CORE 0k, NPROC 3063, NOFILE 1024, AS infinity
load average:0.97 0.90 0.79
CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 107 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow, 3dnowext
Memory: 4k page, physical 384656k(32152k free), swap 9775544k(9775544k free)
vm_info: Java HotSpot(TM) Client VM (10.0-b19) for linux-x86 JRE (1.6.0_04-b12), built on Dec 14 2007 01:09:47 by "java_re" with gcc 3.2.1-7a (J2SE release)
time: Tue Jun 17 17:28:08 2008
elapsed time: 51 seconds
What can I do?
Cheers,
Daniel.
Any chance you could make available your windows binaries Stewart?
Thank you,
John
Hi John,
I needed 3GPP support, so I built ffmpeg with libamr. I believe means that I can't redistribute the binaries without a license [1]. If I get time, I'll try to build a redistributable version, but it would be better if we could have an official binary release.
Cheers,
Stewart
[1] http://ffmpeg.mplayerhq.hu/general.html#SEC2
Hi,
guys sorry for the delays. I've got so many deadlines in the next few weeks that I need to write them in paper in order to remember. I'll try to post win32 binaries asap. Again, apologies for the delay!
Cheers,
Jose