MP4Box - GPAC version 0.5.1-DEV-rev5518
GPAC Copyright (c) Telecom ParisTech 2000-2012
GPAC Configuration: (static configuration file)
Features: GPAC_64_BITS GPAC_HAS_SPIDERMONKEY GPAC_HAS_JPEG GPAC_HAS_PNG
mp4box -split 10 "F:\Doctor Who - 01x01 - An Unearthly Child.mp4"
File size : 986 KiB
Duration : 49s 840ms
Overall bit rate mode : Variable
Overall bit rate : 162 Kbps
Video
ID : 1
Codec ID : avc1
Duration : 9s 960ms
Bit rate : 492 Kbps
Audio #1
ID : 2
Codec ID : 40
Duration : 9s 940ms
Bit rate : 160 Kbps
Audio #2
ID : 3
Codec ID : 40
Duration : 9s 940ms
Bit rate : 158 Kbps
Text #1
ID : 4
Codec ID : tx3g
Duration : 9s 960ms
Text #2
ID : 5
Codec ID : tx3g
Duration : 9s 960ms
Menu
ID : 7
Codec ID : text
Duration : 49s 840ms
Could you please detail a bit more your issue ?
Wow, I'd forgotten this bug even existed. I was creating a sample file to upload to the MediaInfo server to show how the enabled flag in the mp4 track header acted much like the "default" flag in a Matroska header. I tried to make the file as small as possible by splitting it using that command line up there ^, which I assume splits it in 10 second increments (I did have a bunch of little mp4 files sitting in a directory for a while).
Well, you can see all the actual tracks have durations of about 10s, yet the chapters have a duration of 49 seconds. If you examine the first post it's all there... I can try to recreate it if you like to see if it still happens.
Didn't you move to GitHub? Apparently they think I'm a robot and I'm not allowed to post anything there.
-Edit- oh, right, that's Mp4Box info output up there. That was the only time I ever used it.
Last edit: ndjamena 2015-02-23
could you post a source file somewhere ?
http://www.mediafire.com/watch/786ujee8rp9q6ey/The_Knack.mp4
I downloaded the latest nightlies:
MP4Box - GPAC version 0.5.2-DEV-rev83-gb2b460b-master
GPAC Copyright (c) Telecom ParisTech 2000-2012
GPAC Configuration: (static configuration file)
Features: GPAC_64_BITS GPAC_HAS_SSL GPAC_HAS_SPIDERMONKEY GPAC_HAS_JPEG GPAC_HAS_PNG
This is the command:
mp4box -split 10 "The Knack.mp4"
This is the track data of the 3rd output file:
Track # 1 Info - TrackID 1 - TimeScale 24000 - Media Duration 00:00:03.586
Media Info: Language "eng (eng)" - Type "vide:avc1" - 86 samples
Visual Track layout: x=0 y=0 width=768 height=576
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21
AVC/H264 Video - Visual Size 720 x 576
AVC Info: 1 SPS - 1 PPS - Profile High @ Level 3.1
NAL Unit length bits: 32
Pixel Aspect Ratio 16:15 - Indicated track size 768 x 576
Chroma format 0 - Luma bit depth 8 - chroma bit depth 8
Self-synchronized
Alternate Group ID 1
Track # 2 Info - TrackID 2 - TimeScale 48000 - Media Duration 00:00:03.584
Media Info: Language "eng (eng)" - Type "soun:mp4a" - 168 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 2 Channel(s) - SampleRate 48000
Synchronized on stream 1
Alternate Group ID 2
Track # 3 Info - TrackID 4 - TimeScale 1000 - Media Duration 00:00:03.162
Track is disabled
Media Info: Language "eng (eng)" - Type "sbtl:tx3g" - 4 samples
Unknown Text Stream
Size 768 x 576 - Translation X=0 Y=0 - Layer 0
Alternate Group ID 3
Track # 4 Info - TrackID 5 - TimeScale 1000 - Media Duration 00:00:20.144
Track is disabled
Media Info: Language "und (und)" - Type "text:text" - 1 samples
Unknown Text Stream
Size 0 x 0 - Translation X=0 Y=0 - Layer 0
thanks for file and report, this should now be fixed on git