

Note: You can check DHCP and click Save at first, this will fill in the below box automatically.

Go to Configuration-Network-Basic Settings-TCP/IP, Uncheck DHCP, fill in the below box per your computer in the same network. Below is the Web interface of the ANNKE device: Propose: An ANNKE Device with a static IP address can still be accessed by the same IP after reboot. Get the YouTube stream key: Once your YouTube account has access to YouTube Live, you can find the stream key as the below picture shows.

For a stable RTSP address, we will need to set a Static IP and set up DDNS for your ANNKE device.ģ).
#Vlc connect to ffmpeg rtsp install#
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.
#Vlc connect to ffmpeg rtsp software#
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 While you may need some basic knowledge about FFmpeg.Ĥ. Using FFmpeg as an encoder for YouTube Live has fewer requirements on the hardware.
