ports/115304: multimedia/gpac-mp4box cannot import files larger than 2gb

Johannes Totz jo_t at gmx.net
Wed Sep 5 09:20:11 UTC 2007


The following reply was made to PR ports/115304; it has been noted by GNATS.

From: Johannes Totz <jo_t at gmx.net>
To: bug-followup at FreeBSD.org,  pvizeli at yahoo.de
Cc:  
Subject: Re: ports/115304: multimedia/gpac-mp4box cannot import files larger
 than 2gb
Date: Wed, 05 Sep 2007 10:48:41 +0200

 Hi!
 
 Sorry for the late answer, didnt get notified by email (spam trap maybe).
 
 > You musst compile libgpac with -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1.
 
 I've added these to the ports Makefile of gpac/libgpac (and they are
 used, i.e. passed to the compiler).
 But unfortunately it does not help. mp4box (after recompiling) still
 crashes with an assertion:
 
 
 # ls -l too-big.h264
 -r--r--r--  1 root  jo  2759126600 Aug 10 13:38 too-big.h264
 
 # mp4box -add too-big.h264 test.mp4
 Assertion failed: (nal_start), function gf_import_h264, file
 media_tools/media_import.c, line 3801.
 Abort (core dumped)
 
 
 > I can't test that while I didn't have a > 3gb h264 video stream.
 
 Notice that my test file is roughly 2,5 GB.
 
 
 
 
 Cheers
 Johannes



More information about the freebsd-ports-bugs mailing list