isomp4: initial ftyp/moov streamheader missing
@fraxinas
Submitted by Andreas Frisch Link to original bug (#777984)
Description
i've tried to randomly enter a stream generated with mp4dashmux from
https://bugzilla.gnome.org/show_bug.cgi?id=668091 to play it in the browser using MSE. unfortunately, this failed, using a tcpserversink element and trying the various sync-methods. looking at the captured streams i discovered that the global headers are missing:
when it should start with:
0000 0000: 00 00 00 1C 66 74 79 70 69 73 6F 35 00 00 00 01 ....ftyp iso5....
0000 0010: 69 73 6F 35 69 73 6F 32 64 61 73 68 00 00 03 45 iso5iso2 dash...E
0000 0020: 6D 6F 6F 76 00 00 00 6C 6D 76 68 64 00 00 00 00 moov...l mvhd....
the randomly entered streams only start with:
0000 0000: 00 00 00 14 73 74 79 70 6D 73 64 68 00 00 00 00 ....styp msdh....
0000 0010: 6D 73 64 68 00 00 00 60 6D 6F 6F 66 00 00 00 10 msdh...` moof....
0000 0020: 6D 66 68 64 00 00 00 00 00 00 00 6B 00 00 00 48 mfhd.... ...k...H
qtmux does implement some streamheader handling, but it seems to be missing something for my use case. i'll investiage.