I created a Fink package for MP4Box, the multimedia packager from the GPAC project. MP4Box can be used for manipulating (e.g. muxing, demuxing) multimedia files such as MP4, 3GP, AVI, MPG, TS, …
To add this package to your Fink tree, simply download both mp4box.info and mp4box.patch, and move these files to /sw/fink/dists/local/main/finkinfo. After this is done, you should be able to fink install mp4box. Because this package is not in the official repository, you will need to select `Retry using next mirror set “sourceforge” ‘ when Fink fails to download the package.
Note that this package isn’t ready for submitting to the main Fink repository yet for a couple of reasons:
- The GPAC configure script doesn’t allow to disable inclusion of external libraries statically. As such, it might be that GPAC links in libraries present on your system. This isn’t really a problem in practice, but should be resolved for clean builds.
- The MP4Box package file builds the GPAC library, and statically links the MP4Box binary against this. A better approach would be to provide a real package for the GPAC library, and add all the other utilities to this package as well.
Can you post a macports version of mp4box
thanks
it soffer of the same bug of the other precompiled osx version of mp4box… it freeze importing >2GB files.
Installation does not work. I put mp4box.info and mp4box.patch in /sw/fink/dists/local/main/finkinfo as told. Running fink install mp4box gives an error
Failed: no package found for specification ‘mp4box’!
Is there anything else to do to make fink recognize the package?
Thanks.
P.S.: What about a binary version?
can you please post a ppc binary ?
latest cvs intel binaries are available here:
http://www.tkn.tu-berlin.de/research/evalvid/
I’m getting an error when compiling.
ld: unknown option: –warn-common
collect2: ld returned 1 exit status
make: *** [libgpac.dylib] Error 1
### execution of make failed, exit code 2
Googling reveals that the option should be “-warn-common” but I don’t know how to fix it. Any ideas?
@serversurfer I’ll look into it ASAP
It seems like “–warn-common” has been named “-warn_commons” in the version of ld bundled. A quick edit in the configure-file fixed it.
Adding something like this to your patch should do the trick:
diff -ur gpac.original/configure gpac/configure
— gpac.original/configure 2008-08-02 22:58:27.000000000 +0200
+++ gpac/configure 2008-08-02 23:03:38.000000000 +0200
@@ -82,7 +82,7 @@
bigendian=”no”
SHFLAGS=-shared
need_inet_aton=”no”
-LDFLAGS=”$LDFLAGS -Wl,–warn-common”
+LDFLAGS=”$LDFLAGS -Wl,-warn_commons”
CFLAGS=”"
CPPFLAGS=”"
GPAC_SH_FLAGS=-lpthread
However, using fully updated Leopard with Xcode 3.1 it still seems to crash, but now at:
drawable.c: In function ‘drawable_check_focus_highlight’:
drawable.c:770: warning: implicit declaration of function ’svg_get_nodes_bounds’
drawable.c:770: error: ‘SVG_Element’ undeclared (first use in this function)
drawable.c:770: error: (Each undeclared identifier is reported only once
drawable.c:770: error: for each function it appears in.)
drawable.c:770: error: syntax error before ‘)’ token
I’ve neither time nor knowledge to look further into this but I hope I was of some assistance.
The version 0.4.5 used for YAMB seems to have no problem with the 2gb filesize limit. Can you compile the 0.4.5 version? Otherwise, it just says that the movie is not a valid file if it is over 2gb.
Thanks all for the replies. Your requests and comments are not ignored, I’m just a bit short on time at the moment. It’s all on my TODO list.
Of course. Thanks very much for this. Me, I just had a baby. So I know about putting things on the back burner!
If you open the final MP4 movie with QuickTime, does it say the data size is 0? If no, the movie cannot be edited or exported any further. And that’s the problem that I’m facing now.