dash mpd之$Number$
来源:互联网 发布:java ftp下载文件夹 编辑:程序博客网 时间:2024/06/11 04:00
Number的计算方法:
Number = curTime(秒级)/片段时长 + startNumer
startNumber可以是正数,也可以是负数,对于直播来说,startNumber从0开始即可,对于时移来说,就是偏移的秒数除以片段时长得到
例子:
<?xml version="1.0"?>
<MPD
type="dynamic"
xmlns="urn:mpeg:dash:schema:mpd:2011"
availabilityStartTime="1970-01-01T00:00:00Z"
minimumUpdatePeriod="PT5S"
minBufferTime="PT5S"
timeShiftBufferDepth="PT5M"
suggestedPresentationDelay="PT10S"
profiles="urn:mpeg:dash:profile:isoff-live:2011"
xmlns:xsi="http://www.w3.org/2011/XMLSchema-instance"
xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011 DASH-MPD.xsd">
<Period start="PT0S" id="dash">
<AdaptationSet
id="1"
segmentAlignment="true"
maxWidth="720"
maxHeight="576"
maxFrameRate="25">
<SegmentTemplate timescale="1000" duration="5000" startNumber="-298292" initialization="haizeiwang-init.m4v" media="haizeiwang-$Number$.m4v"/>
<Representation id="haizeiwang_H264" mimeType="video/mp4" codecs="avc1.4d500b" width="720" height="576" frameRate="25" sar="1:1" startWithSAP="1" bandwidth="50877"/>
</AdaptationSet>
</Period>
</MPD>
或者
<?xml version="1.0"?>
<MPD
type="dynamic"
xmlns="urn:mpeg:dash:schema:mpd:2011"
availabilityStartTime="1970-01-01T00:00:00Z"
minimumUpdatePeriod="PT5S"
minBufferTime="PT5S"
timeShiftBufferDepth="PT5M"
suggestedPresentationDelay="PT10S"
profiles="urn:mpeg:dash:profile:isoff-live:2011"
xmlns:xsi="http://www.w3.org/2011/XMLSchema-instance"
xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011 DASH-MPD.xsd">
<Period start="PT0S" id="dash">
<AdaptationSet
id="1"
segmentAlignment="true"
maxWidth="720"
maxHeight="576"
maxFrameRate="25">
<Representation id="haizeiwang_H264" mimeType="video/mp4" codecs="avc1.4d500b" width="720" height="576" frameRate="25" sar="1:1" startWithSAP="1" bandwidth="50877">
<SegmentTemplate timescale="1000" duration="5000" startNumber="-298292" initialization="haizeiwang-init.m4v" media="haizeiwang-$Number$.m4v"/>
</Representation>
</AdaptationSet>
</Period>
</MPD>
- dash mpd之$Number$
- dash mpd之片段名(SegmentList SegmentURL)
- MPEG DASH MPD文件字段解释
- The Structure of an MPEG-DASH MPD
- MPEG DASH MPD文件字段解释
- The Structure of an MPEG-DASH MPD(译)
- DASH
- Dash
- Ubuntu的shell之bash和dash
- Ubuntu的shell之bash和dash
- Ubuntu的shell之bash和dash
- Ubuntu的shell之bash和dash
- Ubuntu的shell之bash和dash
- Ubuntu的shell之bash和dash
- mpd起不来
- imx6ul之OpenWRT中使用mpd作为音频Server及其使用
- 瞬驰(Dash)D1开发手册--Raspberry Pi之速度控制
- 瞬驰(Dash)D1开发手册--Raspberry Pi之开机启动
- PAT B 1015. 德才论 (25)
- Spark 的 Shell操作,核心概念,构建独立应用
- 冒泡排序
- Nginx自启动脚本(ubuntu 安装版)
- Android AsyncTask完全解析,带你从源码的角度彻底理解
- dash mpd之$Number$
- Qualcomm Symphony System Manager SDK使用举例
- 懒人工具4 -- 模拟键盘鼠标 自动化操作 xdotool
- RecycleView利用谷歌内置的SwipRefreshLayout实现下拉刷新和滑动加载
- 监测文件下载成功
- Ubuntu 14.04 搭建 ftp
- POJ3283 Card Hands(字典树)
- Spring+Redis+ShardedJedis
- 获得tomcat文件夹的路径