MP4Box appears to have a bug dealing with the period in a path causing a segmenation fault on Linux.
By:
jeno ,
May 04 2009: 10:20 AM EDT If you run:
/usr/bin/MP4Box -hint -static -mtu 1450 /path/toyour.com/infile.mpeg -out /path/toyour.com/outfile.mpeg
MP4Box halts with a ‘buffer overflow’.
Even quoting the path and file do not resolve this.
/usr/bin/MP4Box -hint -static -mtu 1450 ’/path/toyour.com/infile.mpeg’ -out ’/path/toyour.com/outfile.mpeg’
When the same command was run from within the toyour.com/ directory it finished without issue:
#cd /path/toyour.com/
#/usr/bin/MP4Box -hint -static -mtu 1450 ‘infile.mpeg’ -out ‘outfile.mpeg’
Processed successfully.
A core dump debug (see instructions at http://bugs.php.net/bugs-generating-backtrace.php) indicated that the linked libraries all were fine. At the very end of the core dump debug it showed:
Core was generated by `/usr/bin/MP4Box -hint -static -mtu 1400 /path/toyour.com/i’.
Program terminated with signal 6, Aborted.
[New process 5776] #0 0×00283402 in __kernel_vsyscall ()
Note the cryptic /path/toyour.com/i’. at the end.
On a hunch the toyour.com directory was renamed to toyour_com and voila it worked fine.
/usr/bin/MP4Box -hint -static -mtu 1450 /path/toyour_com/infile.mpeg -out /path/toyour_com/outfile.mpeg
File was successfully processed.
Hope this helps someone,
Happy MP4Box-ing
****