Author Topic: генерация плейлиста m3u/m3u8/xspf  (Read 9762 times)

Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 880
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Re: генерация плейлиста m3u/m3u8/xspf
« on: December 05, 2016, 11:38:49 PM »
you m3u is incomplete:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:25
#EXTINF:25.000000,
out000.ts
#EXTINF:25.000000,
out001.ts
#EXTINF:25.000000,
out002.ts
#EXTINF:25.000000,
out003.ts
#EXTINF:25.000000,
out004.ts
#EXTINF:25.000000,
out005.ts
#EXTINF:25.000000,
out006.ts
#EXTINF:25.000000,
out007.ts
#EXTINF:0.342033,
out008.ts
#EXT-X-ENDLIST
---------------------------------

you need the http pat to the file

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:25
#EXTINF:25.000000,
http://x.x.x.x/folder/out000.ts

#EXT-X-ENDLIST

------

its been a while, i not 100% familaure with the .ts extentino:
http://whatis.techtarget.com/fileformat/TS-HDTV-sample-file-Transport-Stream-MPEG-2-video-stream

you will problay have to define its mime type as well

 .ts, video/MP2T
« Last Edit: December 05, 2016, 11:42:02 PM by bmartino1 »
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Follow members gave a thank to your post: