[FFmpeg-user] Restream RTSP to HLS using ffmpeg and ffserver
Xu Chen
xuchen890530 at gmail.com
Wed Jun 7 19:31:04 EEST 2017
Hello all,
I am now trying to re-stream RTSP live stream to HLS, so that I can play it on my webpage.
The path will be:
VLC(read local .mp4 file and stream it using RTSP) —> ffmpge(re-stream it to HLS and send it to ffserver) —> ffserver (boardcast the stream to Internet) —> my webpage (play the stream)
I can use the following command to re-stream RTSP to HLS and save to a local file. How can I change the command and configure ffserver so that I can play it on my webpage(using URL)?
“ffmpeg -i rtsp://my-ip-address:8554/stream.ts -fflags flush_packets -max_delay 1 -an -flags -global_header -hls_time 1 -hls_list_size 3 -hls_wrap 3 -vcodec copy -y /var/video.m3u8”
Thanks,
Chen Xu
More information about the ffmpeg-user
mailing list