標籤: c++
c++directshow
directshow
directshow
2012-12-26 13:04
43004人閱讀收藏
舉報
[html]view plain
copy
#extm3u
#ext-x-targetduration:8
#ext-x-media-sequence:92595
#extinf:8,
20121120t182851-04-92595.ts
#extinf:8,
20121120t182851-04-92596.ts
#extinf:8,
20121120t182851-04-92597.ts
#extinf:8,
20121120t182851-04-92598.ts
#extinf:8,
20121120t182851-04-92599.ts
#extinf:8,
20121120t182851-04-92600.ts
#extinf:8,
20121120t182851-04-92601.ts
#extinf:8,
20121120t182851-04-92602.ts
那麼獲取到 20121120t182851-04-92595.ts 片段位址就為http:\\www.***.com\01\xx\20121120t182851-04-92595.ts。
類似情況,如下:
[cpp]view plain
copy
[html]view plain
copy
#extm3u
#ext-x-allow-cache:no
#ext-x-targetduration:10
#ext-x-media-sequence:9190381
#extinf:10,
/timeshift/63/20121129165010.ts
#extinf:10,
/timeshift/63/20121129165020.ts
#extinf:10,
/timeshift/63/20121129165030.ts
那麼獲取到/timeshift/63/20121129165010.ts片段位址就為http:\\www.***.com\01\xx/timeshift/63/20121129165010.ts。
[html]view plain
copy
#extm3u
#ext-x-allow-cache:no
#ext-x-targetduration:10
#ext-x-media-sequence:9190381
#extinf:10,
/timeshift/63/20121129165010.ts
#extinf:10,
/timeshift/63/20121129165020.ts
#extinf:10,
/timeshift/63/20121129165030.ts
將衝突的目錄剔除,那麼獲取到/timeshift/63/20121129165010.ts片段位址就為http:\\www.***.com\01\xx/timeshift/63/20121129165010.ts。
[html]view plain
copy
#extm3u
#ext-x-allow-cache:no
#ext-x-targetduration:10
#ext-x-media-sequence:6297202
#extinf:10,
=2221281760225887_160_12784_1758
#extinf:10,
=2221281760225887_160_12784_1758
#extinf:10,
=2221281760225887_160_12784_1758
總結:2、帶有目錄結構的源,同樣有些或是這樣的「timeshift/63/2012129165020.ts」,前面不帶「/」。注意哦!
頂 0 踩
0
網路直播電視之m3u8解析篇(上)
如何定義ts流的空資料報
我的同類文章
網路直播電視之M3U8解析篇 (下)
extm3u ext x targetduration 8 ext x media sequence 92595 extinf 8,20121120t182851 04 92595.ts extinf 8,20121120t182851 04 92596.ts extinf 8,20121120t1...
網路直播電視之M3U8解析篇 (下)
extm3u ext x targetduration 8 ext x media sequence 92595 extinf 8,20121120t182851 04 92595.ts extinf 8,20121120t182851 04 92596.ts extinf 8,20121120t1...
網路直播電視之M3U8解析篇 (下)
extm3u ext x targetduration 8 ext x media sequence 92595 extinf 8,20121120t182851 04 92595.ts extinf 8,20121120t182851 04 92596.ts extinf 8,20121120t1...