Answer the question
In order to leave comments, you need to log in
How to convert stream to m3u8 playlist?
Good afternoon, I have an flv stream, I need to convert it to m3u8 playlist.
Now I do it like this
ffmpeg('http://localhost:8001/live/dd2.flv').addOptions([
'-t ' + endInSec,
'-acodec copy',
'-vcodec copy',
'-start_number 0',
'-hls_time 10',
'-hls_list_size 0',
'-g 30',
'-f hls'
])
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