Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 189630

Summary: media-video/gpac - bug in MP4Box when handling files >2GB
Product: Gentoo Linux Reporter: Honza Fikar <jan.fikar>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sourceforge.net/tracker/?func=detail&atid=571738&aid=1448512&group_id=84101
Whiteboard:
Package list:
Runtime testing required: ---

Description Honza Fikar 2007-08-20 19:46:33 UTC
MP4Box -add file.264 out.mp4 crashes with if the file.264 > 2GB
gf_import_h264: Assertion `nal_start' failed.

Reproducible: Always

Steps to Reproduce:
1. take file.264 > 2GB
2. MP4Box -add file.264 out.mp4

Actual Results:  
gf_import_h264: Assertion `nal_start' failed.

Expected Results:  
no errors and correct out.mp4 file

there is a simple Makefile patch mentioned here:
http://sourceforge.net/tracker/?func=detail&atid=571738&aid=1448512&group_id=84101

diff -rc gpac-0.4.4/src/Makefile gpac-0.4.4-os_drivers/src/Makefile
*** gpac-0.4.4/src/Makefile     2007-05-08 17:15:25.000000000 +0200
--- gpac-0.4.4-os_drivers/src/Makefile  2007-07-01 02:14:16.000000000
+0200
***************
*** 90,95 ****
--- 90,102 ----
  CFLAGS+=-DGPAC_BIG_ENDIAN
  endif

+ #4- flags used in utils/os_divers.c
+ ifeq ($(CONFIG_LINUX), yes)
+ CFLAGS+=-DCONFIG_LINUX
+ endif
+ ifeq ($(CONFIG_FREEBSD), yes)
+ CFLAGS+=-DCONFIG_FREEBSD
+ endif

  ## libgpac scenegraph compilation and linking options
  SCENEGRAPH_CFLAGS=
Comment 1 Alexis Ballier gentoo-dev 2007-08-23 14:49:38 UTC
patch added to 0.4.4, thanks for reporting and giving the solution !