axiomatic-systems / Bento4

Full-featured MP4 format, MPEG DASH, HLS, CMAF SDK and tools
http://www.bento4.com
1.97k stars 479 forks source link

Subtitle issue with DASH output #288

Open pscplayco opened 6 years ago

pscplayco commented 6 years ago

When using Bento4 to package a stream with stpp subtitles, mp4dash tool is producing an MPD Manifest where the "Representation" section for the subtitles Adaptation Set is positioned before the SegmentTemplate section. For some players, it may work (like for DASH_IF test player), but for example for Exoplayer it makes it not be able to read the subtitles.

After having filed an issue in Exoplayer GitHub project, it seems the DASH specification states the sections should be put in the right order. Please have a look at this:

https://github.com/google/ExoPlayer/issues/4524

Thanks

pscplayco commented 6 years ago

Hi there, may I ask if this is sensible enough that it will be fixed please? or maybe it won't, just to get idea as soon as possible. Thanks