lahagorilla.blogg.se

Ffmpeg rtsp live streaming
Ffmpeg rtsp live streaming










ffmpeg rtsp live streaming

For a stable RTSP address, we will need to set a Static IP and set up DDNS for your ANNKE device.ģ). Install FFmpeg on your Windows computer.Ģ). Set STREAM_KEY=xxxx-xxxx-xxxx-xxxx from YouTube Live dashboardįfmpeg -hide_banner -loglevel fatal -rtsp_transport tcp -i Streaming/Channes/ID/?transportmode=unicast.sdp -f lavfi -i anullsrc -c:v copy -c:a aac -map 0:v -map 1 -f hls -hls_time 4 -hls_playlist_type event -method PUT “ /http_upload_hls?cid=%STREAM_KEY%©=0&file=stream.m3u8”ġ). The live stream will be uploaded to your YouTube channel automatically. With the RTSP address from your ANNKE device, and FFmpeg installed on your Windows computer, you can use the below command line in the CMD software to begin a live stream. Set a Static IP Address for your ANNKE device

ffmpeg rtsp live streaming

While you may need some basic knowledge about FFmpeg.Ĥ.

ffmpeg rtsp live streaming

Using FFmpeg as an encoder for YouTube Live has fewer requirements on the hardware.












Ffmpeg rtsp live streaming