Answer the question
In order to leave comments, you need to log in
.m3u8 streaming not working?
Hey!
I want to set up hls streaming
I made a manifest from mp4 using ffmpeg -i sample.mp4 -profile:v baseline -level 3.0 -s 840x560 -start_number 0 -hls_list_size 0 -f hls sample.m3u8 Installed
nginx, taught me how to give m3u8 file by link
I checked the stream on this resource (and locally in the tag <video>
), but nothing works
Question: what problems can there be?
On my server, in the same directory, there are m3u8 and ts files.
The manifest looks like this
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.166667,
sample0.ts
#EXTINF:3.833333,
sample1.ts
#EXTINF:4.166667,
sample2.ts
#EXTINF:2.833333,
sample3.ts
#EXTINF:2.666667,
sample4.ts
#EXT-X-ENDLIST
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question