View Single Post
Old 25th August 2010, 10:57   #9  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,641
Quote:
Originally Posted by ltd82 View Post
So far i have been looking at the log file which was generated by the script but when i looked at the terminal where script was running I figured the problem is here when MP4Box is adding the sound to the video.
Code:
Setting up iTunes/iPod file...
Forcing AVC/H264 SAR to 1:1...
Saving to source.mpg.m4v: 0.500 secs Interleaving
*** buffer overflow detected ***: MP4Box terminated     
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x50)[0xbbd390]
/lib/tls/i686/cmov/libc.so.6(+0xe12ca)[0xbbc2ca]
/usr/local/lib/libgpac.so(chpl_New+0x42)[0xe0ec62]
/usr/local/lib/libgpac.so(+0x1dcd5d)[0xe27d5d]
/usr/local/lib/libgpac.so(udta_Read+0x4a)[0xe129ba]
/usr/local/lib/libgpac.so(+0x1dce99)[0xe27e99]
/usr/local/lib/libgpac.so(gf_isom_read_box_list+0x27)[0xe28317]
/usr/local/lib/libgpac.so(moov_Read+0x20)[0xe09e90]
/usr/local/lib/libgpac.so(+0x1dce99)[0xe27e99]
/usr/local/lib/libgpac.so(gf_isom_parse_root_box+0x3a)[0xe2841a]
/usr/local/lib/libgpac.so(gf_isom_parse_movie_boxes+0x7d)[0xe2f31d]
/usr/local/lib/libgpac.so(gf_isom_open_file+0xd1)[0xe2f691]
/usr/local/lib/libgpac.so(gf_media_import+0xb33)[0xeb77b3]
MP4Box[0x8061fa7]
MP4Box[0x804f477]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xaf1bd6]
MP4Box[0x804d261]
I'm using a ubuntu 32bit. Google didn't came up with a fix for 32bit ubuntu i saw a couple of fixes for 64bit though. Any help on this ?
Hmm. This bug should have been fixed since Ubuntu 9.10, and I don't have problems with gpac 0.4.5-0.3ubuntu6 in 64-bit 10.04. Which gpac version are you using?

You could try to build gpac yourself. There are some instructions here: http://ubuntuforums.org/showthread.php?t=1215281


Or mux with ffmpeg:
Code:
ffmpeg -i input.264 -i input.mp4 -vcodec copy -acodec copy output.mp4
If you don't need MP4 for hardware player compatibility, I'd suggest using MKV. Mkvtoolnix has had an order of magnitude less issues than MP4Box and GPAC.

Last edited by nm; 25th August 2010 at 11:00.
nm is offline   Reply With Quote