0

I have read MP4Box Doc about Mpeg-Dash, but I don't clearly understand about "MP4Box -dash 10000 -frag 2000 largeFile.mp4" and MP4Box -dash 10000 -frag 1000 largeFile.mp4. When I open the *.mpd File I found the duration of SegmentList is 10023(about 10 sec). If the -frag 2000 or 1000 is no used?

I'm designing a HTML5 Video Player(like this sample), and I using MP4Box tool to create DASH Video. But I don't clearly understand what's the difference when I convert my video with -frag 2000 and 1000. For example: I don't the mean about my video with 10 second segments and 1 second fragments. maybe My Video Player do not need to set this option?

scott1028
  • 367
  • 1
  • 5
  • 16

1 Answers1

1

GPAC contributor here. It is difficult to help you without a full example. I stronlgy recommend to describe bugs on our bug tracker (https://github.com/gpac/gpac/issues).

When I open the *.mpd File I found the duration of SegmentList is 10023(about 10 sec). If the -frag 2000 or 1000 is no used?

Three points:

1) You probably get 10023 ms (instead of 10000 ms) because you may use an old version of MP4Box. Please consider using the latest version.

2) Fragments are an MP4 feature and is not seen at the MPEG-DASH level. Segments is also an MP4 feature (basically a segment contains fragments) that is seen by MPEG-DASH. Therefore you can't see it in the MP4 but it may have consequences on your playback.

3) The blog article you mention (http://gpac.io/2011/02/02/mp4box-fragmentation-segmentation-splitting-and-interleaving/ contains all the information you need. If you think we can improve it, please leave a message there. Thanks!

R. Bouqueau
  • 406
  • 2
  • 5