Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
I just want to have a live channel for HLS.
I use the virtual camera to play a viedo. And use the FMLE to publish the viedo.
And I create a m3u8 file named liveevent.m3u8.
just like this:
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=150000
http://192.168.3.109/hls-live/livepkgr/events/_definst_/liveevent/livestream1.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=500000
http://192.168.3.109/hls-live/livepkgr/events/_definst_/liveevent/livestream2.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=700000
http://192.168.3.109/hls-live/livepkgr/events/_definst_/liveevent/livestream3.m3u8
and put it on the webroot.
now if I play this file, the client will download all the livestream%i.m3u8,
The file livestream%i.m3u8 was created by FMS automaticlly.
but it use the relative path for the ts files.
I need the absolute path.
that's all.
thanks.
Copy link to clipboard
Copied
Why do you want to use absolute path? Is there some problem with playback?
Copy link to clipboard
Copied
Yes, Now we have a kind of STB need use this feature. But the STB is hard to change to play the ts files with relative path.
Copy link to clipboard
Copied
Did you find a solution to this? I am also looking for something similiar.
Copy link to clipboard
Copied
I highly recommend Allavsoft to downlod M3U8 files to MP4, AVI, MKV, FLV, MOV and more other popular video formats.