Page 1 of 1

Chopped livestreaming in m3u8 (HLS) saving, but good in MP4

Posted: Tue Mar 27, 2018 1:51 am
by warah
Hi all, im new in this forum!

Well, im using FFMPEG to get HLS Live video, and save it as m3u8 in my server, and later serve it to my clients with NGNIX server (as a buffering and re-streaming, u know)

Im using this code, but when i save it to an MP4/FLV file always is good, but when i try to save it like m3u8, and get by VLC livestreaming, always freezes or cutted, chopped, unstable..

Code: Select all

ffmpeg -re -i "URLTOSUCK" -c:v copy -hls_flags delete_segments -c:a copy /adminServer/stream.m3u8
Really appreciate if you have something to say, i need to fix it.
Thanks you