Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189630 - media-video/gpac - bug in MP4Box when handling files >2GB
Summary: media-video/gpac - bug in MP4Box when handling files >2GB
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL: http://sourceforge.net/tracker/?func=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-20 19:46 UTC by Honza Fikar
Modified: 2007-08-23 14:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 !