Opened 15 years ago

Closed 13 years ago

#20845 closed defect (worksforme)

mp4v2: mp4creator missing...

Reported by: mirko.g@… Owned by: 0xced (Cédric Luthi)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: mp4v2

Description

I do not recognize any change... I'm pretty sure some days ago I used mp4creator command provided with mpeg4ip.

Today I install mpeg4ip on a new Mac but it seems empty. I noticed the README file with the advice to use mp4v2.

But: where is mp4creator?????

$ sudo port contents mp4v2 | grep mp4creator
$ 

I found a 4 month old ticket: someone previously highlighted the importance of mp4creator command... please, recover it!!!

Thanks in advance

Change History (14)

comment:1 Changed 15 years ago by tobypeterson

Keywords: mp4v2 removed
Summary: mp4creator missing...mp4v2: mp4creator missing...
Version: 1.7.1

comment:2 Changed 15 years ago by tobypeterson

looks like it's a separate tool now? http://mp4creator.sourceforge.net/

comment:3 in reply to:  description Changed 15 years ago by raimue (Rainer Müller)

Replying to mirko.g@…:

I found a 4 month old ticket: someone previously highlighted the importance of mp4creator command... please, recover it!!!

For reference this is #17651.

comment:4 in reply to:  2 Changed 15 years ago by mirko.g@…

Replying to toby@…:

looks like it's a separate tool now? http://mp4creator.sourceforge.net/

AFAIR it was already a single tool... I'll try to build it. It needs lots of libraries: hope it can work with macports! :-)

comment:5 Changed 15 years ago by mirko.g@…

Project on SF receives no update since a year ago. Moreover it provides only Windows build... there is no support to compile on Mac...

comment:6 Changed 15 years ago by mirko.g@…

Ok I was able to compile mp4creator only on my Mac. I could create a portfile if I were a developer. If someone of you has the right patience to explain me what to do I will be very happy to contribute.

P.S.: Yes, I read the guide but I'm not sure I would be able to do that...

comment:7 Changed 15 years ago by blb@…

If you can describe the steps you used to build it by hand, we could probably turn that into a Portfile.

comment:8 Changed 15 years ago by mirko.g@…

Thanks! :-)

1) I took 1.6.1e-pre (even if results in 1.6.1d) from here: http://mp4creator.svn.sourceforge.net/viewvc/mp4creator/tags/.

2) It needs libtool for sure. And I had to symlink glibtoolize to libtoolize (it looks for the second one):

$ ls -la /usr/bin/ | grep libtoolize
-rwxr-xr-x    1 root   wheel        10770 19 Feb  2008 glibtoolize
lrwxr-xr-x    1 root   wheel           20 28 Ago 08:08 libtoolize -> /usr/bin/glibtoolize

3) It needs libsdl too.

4) I don't know if there are other dependencies. Looking for some docs into the net I understand there is no reason to use mp4creator without these portfiles: ffmpeg, XviD, libmpeg2, libid3tag, a52dec, faad2. These other are clearly suggested (not mandatory): faac, lame, twolame, x264. I installed all of them through MacPorts.

5) I don't know if this is really useful:

$ otool -L mp4creator 
mp4creator:
	/usr/local/lib/libmp4v2.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/local/lib/libmp4av.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/local/lib/libmpeg4ip_gnu.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/local/lib/libismacryp.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4)

6) ./cvs_bootstrap

7) make

8) sudo make install

That's all.

comment:9 in reply to:  8 Changed 15 years ago by blb@…

Replying to mirko.g@…:

2) It needs libtool for sure. And I had to symlink glibtoolize to libtoolize (it looks for the second one):

This will most likely be the biggest issue, as MacPorts won't do symlinks in /usr like they suggest. If we can patch their build setup to always use glibtoolize, then it should work.

comment:10 Changed 15 years ago by mirko.g@…

The bootstrap file check if libtoolize exists (as well as aclocal, autoheader, autoconf and automake)... Then I can only see the libtoolize command used once:

...
libtoolize --force
autoheader || exit 1
automake --add-missing --foreign || exit 1
autoconf || exit 1
...

Since libtoolize is a symlink to glibtoolize, I set the first row as glibtoolize --force. The output of the first command was empty:

...
+ libtoolize --force
+ autoheader
...

while using glibtoolize --force I get:

...
+ glibtoolize --force
glibtoolize: putting auxiliary files in `.'.
glibtoolize: linking file `./ltmain.sh'
glibtoolize: You should add the contents of the following files to `aclocal.m4':
glibtoolize:   `/opt/local/share/aclocal/libtool.m4'
glibtoolize:   `/opt/local/share/aclocal/ltoptions.m4'
glibtoolize:   `/opt/local/share/aclocal/ltversion.m4'
glibtoolize:   `/opt/local/share/aclocal/ltsugar.m4'
glibtoolize:   `/opt/local/share/aclocal/lt~obsolete.m4'
glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
glibtoolize: rerunning glibtoolize, to keep the correct libtool macros in-tree.
glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
+ autoheader
...

and make fails...

comment:11 Changed 15 years ago by jmroot (Joshua Root)

Keywords: mpeg4ip mp4creator removed
Owner: changed from macports-tickets@… to cedric.luthi@…
Type: requestdefect

comment:12 Changed 14 years ago by fclaire@…

Is compiling by hand as described the only way to get back the mp4creator utility ?

Is there some alternate/equivalent utils in the macports to replace it ?

comment:13 Changed 14 years ago by reid@…

I've just submitted an update for a different port that would restore mp4creator (different port = new ticket):

https://trac.macports.org/ticket/22626

So, even if it's not accepted, there's a quick alternative available.

comment:14 Changed 13 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

The other ticket is fixed, so mp4creator is available via the mpeg4ip port.

Note: See TracTickets for help on using tickets.