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

(Working Example)
(Prerequisites)
 
(12 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
 +
*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====
 
====Video Instructions====
Line 14: Line 15:
  
 
====Step by Step Instructions====
 
====Step by Step Instructions====
 +
1. From the YouTube main page select 'Go live'
 +
 +
[[File:RMTP_-_Setup_Youtube_-_1.jpg|600px]]
 +
 +
2. Select Stream
 +
 +
Enter a title for the Stream
 +
 +
Click Create Stream
 +
 +
[[File:RMTP_-_Setup_Youtube_-_2.jpg|600px]]
 +
 +
3. The Stream URL and Stream name/key are required to enter at the Dahua interface
 +
 +
[[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 interface
 +
 +
[[File:RMTP_-_Setup_Youtube_-_4.jpg|600px]]
 +
 +
5. The completed custom URL that must be entered into the Dahua interface will be:
 +
 +
Stream URL/Stream Key
 +
 +
[[File:RMTP_-_Setup_Youtube_-_5.jpg|600px]]
 +
 +
  
 
===Device Setup===
 
===Device Setup===
 +
1. Log into the web interface of the camera
 +
 +
Click Setting
 +
 +
[[File:RTMP_-_Setup_IP_Camera_-_1.jpg|600px]]
 +
 +
2. Click Video
 +
 +
[[File:RTMP_-_Setup_IP_Camera_-_2.jpg|600px]]
 +
 +
3. Confirm the encode settings are set to H.264 and Smart Codec is turned Off (for the video stream you wish to use)
 +
 +
[[File:RTMP_-_Setup_IP_Camera_-_3.jpg|600px]]
 +
 +
4. Click Audio
 +
 +
Confirm audio is enabled and Encode Mode is set to AAC
 +
 +
[[File:RTMP_-_Setup_IP_Camera_-_4.jpg|600px]]
 +
 +
5. Click Network > Access Platform
 +
 +
[[File:RTMP_-_Setup_IP_Camera_-_5.jpg|600px]]
 +
 +
6. Click RTMP
 +
 +
[[File:RTMP_-_Setup_IP_Camera_-_6.jpg|600px]]
 +
 +
7. Check the box to enable
 +
 +
Select the Stream Type
 +
 +
Select Custom under Address Type
 +
 +
[[File:RTMP_-_Setup_IP_Camera_-_7.jpg|600px]]
 +
 +
8. In the Custom Address field enter the complete URL that was provided by the previous steps
 +
 +
[[File:RTMP_-_Setup_IP_Camera_-_8.jpg|600px]]
 +
 +
9. Click Save
 +
 +
[[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]]
 +
 +
<!--
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
 
[[File:Icon_for_type_SystemUI_Old.png|250px]]<span style="font-size:180%;">'''SystemUI Old'''</span>
 
[[File:Icon_for_type_SystemUI_Old.png|250px]]<span style="font-size:180%;">'''SystemUI Old'''</span>
Line 35: Line 117:
 
<div class="mw-collapsible-content">{{Template:SMTP_Setup_WebUI_New}}</div>
 
<div class="mw-collapsible-content">{{Template:SMTP_Setup_WebUI_New}}</div>
 
</div>
 
</div>
 +
-->

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