Difference between revisions of "Remote Access/LiveStream RTMP to YouTube"

(Instructions)
(Prerequisites)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
=How to LiveStream RTMP to YouTube=
 
=How to LiveStream RTMP to YouTube=
==Working Example==
 
<embedvideo service="youtube">https://www.youtube.com/watch?v=oBFJx6voNRk</embedvideo>
 
 
 
==Instructions==
 
==Instructions==
 
===YouTube Setup===
 
===YouTube Setup===
Line 9: Line 6:
 
*YouTube Account
 
*YouTube Account
 
*Dahua IP Camera with RTMP on LAN
 
*Dahua IP Camera with RTMP on LAN
*Port 1935 forwarded in router or modem pointing towards IP of Dahua IP Camera
 
 
*All streams encode mode to H.264.
 
*All streams encode mode to H.264.
 
*Audio enabled and set to AAC
 
*Audio enabled and set to AAC
 
*IPC must support Audio function
 
*IPC must support Audio function
 +
*HTTP, TCP, and RTMP port forwarded in firewall of LAN
  
 
====Video Instructions====
 
====Video Instructions====
Line 30: Line 27:
 
[[File:RMTP_-_Setup_Youtube_-_2.jpg|600px]]
 
[[File:RMTP_-_Setup_Youtube_-_2.jpg|600px]]
  
3. The Stream URL and Stream name/key need to  
+
3. The Stream URL and Stream name/key are required to enter at the Dahua interface
  
 
[[File:RMTP_-_Setup_Youtube_-_3.jpg|600px]]
 
[[File:RMTP_-_Setup_Youtube_-_3.jpg|600px]]
  
4. Use the Stream setup help interface to copy the information and save to a notepad or word document for reference in the next part of the setup at the Dahua recorder
+
4. Use the Stream setup help interface to copy the information and save to a notepad or word document for reference in the next part of the setup at the Dahua interface
  
 
[[File:RMTP_-_Setup_Youtube_-_4.jpg|600px]]
 
[[File:RMTP_-_Setup_Youtube_-_4.jpg|600px]]
  
5. The completed custom URL that must be entered into the Dahua recorder will be:
+
5. The completed custom URL that must be entered into the Dahua interface will be:
  
 
Stream URL/Stream Key
 
Stream URL/Stream Key
Line 91: Line 88:
 
[[File:RTMP_-_Setup_IP_Camera_-_9.jpg|600px]]
 
[[File:RTMP_-_Setup_IP_Camera_-_9.jpg|600px]]
  
 +
 +
After configuring the Dahua camera, return the Youtube interface and click Go Live
 +
 +
[[File:RMTP_-_Setup_Youtube_-_6.jpg|600px]]
 +
 +
The camera's video will be streamed live
 +
 +
[[File:RMTP_-_Setup_Youtube_-_7.jpg|600px]]
  
 
<!--  
 
<!--  

Latest revision as of 23:00, 14 July 2020

How to LiveStream RTMP to YouTube

Instructions

YouTube Setup

Prerequisites

  • YouTube Account
  • Dahua IP Camera with RTMP on LAN
  • All streams encode mode to H.264.
  • Audio enabled and set to AAC
  • IPC must support Audio function
  • HTTP, TCP, and RTMP port forwarded in firewall of LAN

Video Instructions

Step by Step Instructions

1. From the YouTube main page select 'Go live'

RMTP - Setup Youtube - 1.jpg

2. Select Stream

Enter a title for the Stream

Click Create Stream

RMTP - Setup Youtube - 2.jpg

3. The Stream URL and Stream name/key are required to enter at the Dahua interface

RMTP - Setup Youtube - 3.jpg

4. Use the Stream setup help interface to copy the information and save to a notepad or word document for reference in the next part of the setup at the Dahua interface

RMTP - Setup Youtube - 4.jpg

5. The completed custom URL that must be entered into the Dahua interface will be:

Stream URL/Stream Key

RMTP - Setup Youtube - 5.jpg


Device Setup

1. Log into the web interface of the camera

Click Setting

RTMP - Setup IP Camera - 1.jpg

2. Click Video

RTMP - Setup IP Camera - 2.jpg

3. Confirm the encode settings are set to H.264 and Smart Codec is turned Off (for the video stream you wish to use)

RTMP - Setup IP Camera - 3.jpg

4. Click Audio

Confirm audio is enabled and Encode Mode is set to AAC

RTMP - Setup IP Camera - 4.jpg

5. Click Network > Access Platform

RTMP - Setup IP Camera - 5.jpg

6. Click RTMP

RTMP - Setup IP Camera - 6.jpg

7. Check the box to enable

Select the Stream Type

Select Custom under Address Type

RTMP - Setup IP Camera - 7.jpg

8. In the Custom Address field enter the complete URL that was provided by the previous steps

RTMP - Setup IP Camera - 8.jpg

9. Click Save

RTMP - Setup IP Camera - 9.jpg


After configuring the Dahua camera, return the Youtube interface and click Go Live

RMTP - Setup Youtube - 6.jpg

The camera's video will be streamed live

RMTP - Setup Youtube - 7.jpg