[FFmpeg-user] Restream RTSP to HLS using ffmpeg and ffserver

Steven Liu lingjiujianke at gmail.com
Thu Jun 8 17:55:53 EEST 2017


2017-06-07 23:31 GMT+07:00 Xu Chen <xuchen890530 at gmail.com>:
> 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”

maybe the Nginx is better :)
>
> Thanks,
>
> Chen Xu
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list