Skip to main content
June 7, 2012
Question

How to configure the .ts files' path in the m3u8

  • June 7, 2012
  • 3 replies
  • 25827 views

Now I have a fms server running, but the m3u8 file is not use the correct url for the ts files in the playlist.

just like this:

#EXTM3U

#EXT-X-STREAM-INF:PROGRAM-ID=6334,BANDWIDTH=100000

liveevent/livestream1.m3u8

#EXT-X-STREAM-INF:PROGRAM-ID=6334,BANDWIDTH=200000

liveevent/livestream2.m3u8

#EXT-X-STREAM-INF:PROGRAM-ID=6334,BANDWIDTH=350000

liveevent/livestream3.m3u8

How to configure it to like this?

http://xxx.xx.xx.xxx./liveevent/livestream1.m3u8

    This topic has been closed for replies.

    3 replies

    March 6, 2016

    I highly recommend Allavsoft to downlod M3U8 files to MP4, AVI, MKV, FLV, MOV and more other popular video formats.

    Participating Frequently
    May 6, 2014

    Did you find a solution to this? I am also looking for something similiar.

    June 7, 2012

    Hi,

    I'm not sure I understand your problem correctly, could you please elaborate?

    If what you want to do is have the complete URL for the individual streams in you Set-level Manifest, then you can replace liveevent/livestream1.m3u8 with individual url like :

    http://<server-ip>/hls-live/livepkgr/_definst_/liveevent/livestream1.m3u8. Similarly for the other 2 streams.

    Hope this helps.

    Thanks,

    Apurva

    June 8, 2012

    Hi,

    Thanks very much.

    but now the livestream1.m3u8 like this:

    #EXTM3U

    #EXT-X-MEDIA-SEQUENCE:78367

    #EXT-X-ALLOW-CACHE:NO

    #EXT-X-VERSION:2

    #EXT-X-TARGETDURATION:8

    #EXTINF:8,

    ../../../../hls-live/streams/livepkgr/events/_definst_/liveevent/livestream2Num78367.ts

    #EXTINF:8,

    ../../../../hls-live/streams/livepkgr/events/_definst_/liveevent/livestream2Num78368.ts

    #EXTINF:8,

    ../../../../hls-live/streams/livepkgr/events/_definst_/liveevent/livestream2Num78369.ts

    #EXTINF:8,

    ../../../../hls-live/streams/livepkgr/events/_definst_/liveevent/livestream2Num78370.ts

    #EXTINF:8,

    ../../../../hls-live/streams/livepkgr/events/_definst_/liveevent/livestream2Num78371.ts

    #EXTINF:8,

    ../../../../hls-live/streams/livepkgr/events/_definst_/liveevent/livestream2Num78372.ts

    I want to know how to configure the ts number and the absolute path for each ts file.

    thanks again

    June 8, 2012

    Can you elaborate on what exactly your use case is? In HLS Live the m3u8 is generated on the fly and the ts is adjusted according to the livestream. Why is it that you want to configure the ts number? If I know wxactly what the use-case is I might be able to help you better.