Playing a mpeg dash stream without initialization segment

余生颓废 提交于 2021-01-05 08:47:48

问题


I am trying to generate a dash stream playable in dash player. I have a one mp4 video which I have chunked into multiple videos of approximately 10 secs each. Now I would like to play this videos in a dash player where each segment is self initializing. How could I possibly achieve this without creating a initialization segment.


回答1:


According to the spec, it is possible. This is a quote from the MPEG-DASH ISO/IEC 23009 spec:

A Representation consists of one or more Segments. Each Representation either shall contain an Initialization Segment or each Media Segment in the Representation shall be self-initializing, i.e. the Media Segment itself conforms to the media type as specified in the @mimeType attribute for this Representation.

When a Representation is not a dependent Representation, i.e. the @dependencyId attribute is absent, then concatenation of the Initialization Segment, if present, and all consecutive Media Segments in one Representation shall represent a conforming Segment sequence as defined in 4.5.3 conforming to the media type as specified in the @mimeType attribute for this Representation

In addition, Initialization element is not mandatory (0...1).




回答2:


It is not possible. An initialization segment contains information required to initialize the decoders. For example NalLengthSize in the case of AVC codec, or Audio Specific Config for AAC.



来源:https://stackoverflow.com/questions/27687522/playing-a-mpeg-dash-stream-without-initialization-segment

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!