smp series streaming to 3rd parties using rtmp 1 technical application note august 10th, 2017 smp...

26
Page 1 Technical Application Note August 10 th , 2017 SMP Series – Streaming to 3 rd parties using RTMP The following notes provide guidance on setting up the SMP so the unit can stream to 3 rd party services via RTMP. For more information, please call your Extron Application Engineer. Extron Products Affected: SPECIAL NOTES Streaming to 3 rd party services requires an account with those services. Accounts with 3 rd parties are the responsibility of those maintaining the stream and it’s content. SMP 351 - 80 GB SSD 60-1324-01 SMP 351 3G-SDI - 80 GB SSD 60-1324-02 SMP 351 - 400 GB SSD 60-1324-11 SMP 351 3G-SDI - 400 GB SSD 60-1324-12 SMP 352 - 400 GB SSD 60-1634-11 SMP 352 3G-SDI - 400 GB SSD 60-1634-12

Upload: lamkhuong

Post on 27-Mar-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 1

Technical Application Note

August 10th, 2017

SMP Series – Streaming to 3rd parties using RTMP

The following notes provide guidance on setting up the SMP so the unit can stream to 3rd party services via RTMP. For more information, please call your Extron Application Engineer. Extron Products Affected:

SPECIAL NOTES

Streaming to 3rd party services requires an account with those services. Accounts with 3rd parties are the responsibility of those maintaining the stream and it’s content.

SMP 351 - 80 GB SSD 60-1324-01

SMP 351 3G-SDI - 80 GB SSD 60-1324-02

SMP 351 - 400 GB SSD 60-1324-11

SMP 351 3G-SDI - 400 GB SSD 60-1324-12

SMP 352 - 400 GB SSD 60-1634-11

SMP 352 3G-SDI - 400 GB SSD 60-1634-12

Page 2: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 2

Technical Application Note

TECH NOTE

The SMP 300 series supports RTMP push streaming for publishing live video to 3rd party services like YouTube, Facebook Live, Wowza Cloud, UStream, etc. To configure the SMP for RTMP Push streaming to a live streaming provider:

1. Ensure you SMP unit is connected to the network and has access to the internet

a. Open the web browser of the SMP, Troubleshooting, Diagnostic Tools

b. Ping your live service, such as [facebook.com]

i. If successful, a green checkmark is shown.

ii. If results fail, verify network and DNS settings.

2. Open a web browser of the SMP, Configuration, Encoding & Layout, Encoding

Presets:

Page 3: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 3

Technical Application Note

3. Confirm the SMP is in Stop Mode. If needed, press stop on the front panel.

4. Select RTMP push from the streaming method drop down list.

5. Confirm the Audio Encoding, Sample Rate is now changed to 44.1kHz.

Audio sample rate used with RTMP is 44.1kHz for compatibility. When RTMP is not selected, the audio sample rate is 48kHz

6. Now the Server URL, Stream Name/Key and optionally the Username, and Password

information is needed:

a. Follow the below links to obtain the fields from these services. Services other

than those listed here will also provide this required information.

Page 4: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 4

Technical Application Note

Page 5: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 5

Technical Application Note

Streaming to YouTube Live

1. Go to www.youtube.com and log in to your account.

2. Click on the Upload button on the top right corner

3. Click on the Get started button of Live Streaming

4. There are two options for live streaming:

A. Stream now - for instant live streaming – see step 5 B. Events - to scheduled live events – see step 12

A. For Stream Now page, enter basic information about the live stream, and scroll down to

the Encoder Setup:

1. Copy and paste the Server URL and Stream Name/key to the SMP Streaming data

fields, then Click Apply.

2. On the SMP Streaming, click “Start RTMP stream” button to activate the stream.

3. After a few seconds, the button will change to red and indicate the RTMP stream is

now live.

Page 6: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 6

Technical Application Note

4. Back on the YouTube live dashboard page, you should now see the display of the SMP streaming content and the content is live.

5. The live stream will be available on YouTube until it is stopped from the SMP

streaming page or SIS command.

Note: YouTube does not require Username and Password for Live Stream YouTube uses port 1935 for streaming. This port must be open for network access.

B. For Events workflow on the Youtube page: 1. Click New live event to start a new event

2. Enter the event Title, Start Date/Time, and a Description. 3. Click Create Event

Page 7: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 7

Technical Application Note

4. Next, Upload a thumbnail picture for your stream

5. Then, Select either Basic ingestion or Custom Ingestion:

• With Basic Ingestion, select the desired resolution and bandwidth. However, each event will have a unique stream name, and must be entered into the SMP each time.

• With Custom Ingestion, you may setup resolution and bandwidth profiles such as 720p or 1080p. These profiles may be reused for multiple events, and will use the same Stream Name per profile.

6. Next, select Other encoders from the encoder dropdown list

7. On the Youtube web page, press [Save changes]

Page 8: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 8

Technical Application Note

8. Then, copy the Stream Name and Primary Server URL information from the Youtube page to the SMP web page, Streaming data fields, and click apply.

9. On the SMP web page, Streaming Settings, Press [Start RTMP stream]

10. Go back to YouTube Live Control Room to preview and press [Start Streaming]

• Previewing or directly starting the Stream in YouTube may take a few minutes.

Page 9: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 9

Technical Application Note

11. Stopping the Stream:

• If scheduled with a duration, the live stream from Youtube will automatically stop at the appropriate time.

• If scheduled open ended, on the YouTube page, press

Note: Once a streaming Event is stopped in YouToube, it cannot be restarted. A new Event must be created.

• After YouTube is stopped, then stop the SMP.

If you stop the SMP before the YouTube Stream, the public will see an error:

C. Troubleshooting:

1. Ensure the SMP is configured for RTMP Streaming format.

2. Ensure that the SMP Stream is started, and that the firewall is open to port 1935.

3. Verify Server URL and Stream Name are entered correctly.

• Note: The Stream Name / Key will change if using “Basic Ingestion” profiles.

4. YouTube Recommended settings:

Audio: 128kbps (192 works as well) Resolution – needs to match YouTube Ingestion Profile – see above. FPS: 30 for motion, Less if conserving bandwidth. 15fps or less for slides GOP: 30 Video Bitrate: Set for 80% of available bandwidth using speed test depending upon resolution.

1080p/30 – 3000-6000 720p/30 – 1500 – 4000 480p – 500 - 2000

Rate Control: CBR H.264 Profile: High Profile Level 4.1

Page 10: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 10

Technical Application Note

Page 11: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 11

Technical Application Note

Streaming to Facebook Live

Facebook allows live streaming from a Facebook Page, not a Facebook Profile. Using Profiles for business is against their policy.

1. Go to www.facebook.com and login to your account for the Facebook Page.

2. If you don’t have a Facebook Page, select from the top right, [Create Page]

a. Alternatively, you can convert a Facebook Profile to a Facebook Page:

https://www.facebook.com/help/175644189234902/

3. Select Type of page, ie Company, Organization or Institution. Follow the instructions

to setup the Facebook Page.

4. Once you are on the Facebook Page, select [Publishing Tools]

Page 12: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 12

Technical Application Note

5. Select Video Library on the left side bar

6. Click on [+Live] button to open the Server URL and Stream Key information

Page 13: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 13

Technical Application Note

7. Copy and paste the Server URL and Stream Name/key to the SMP

Streaming data fields, then Click [Apply].

IMPORTANT NOTE: The Server URL is listed as “rtmp://rtmp-api.facebook.com:80/rtmp/” Remove the “/” at the end when pasting into the SMP Server Field.

Server URL : rtmp://rtmp-api.facebook.com:80/rtmp

8. On the SMP Streaming, click “Start RTMP stream” button to activate the stream.

9. After a few seconds, the button will change to red and indicate the RTMP stream is now live.

10. Back on the Facebook Page, press [Next] on Facebook window to reach the preview page

11. Enter Video Title information and Video Tags information

Page 14: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 14

Technical Application Note

12. To go Live, there are 2 options, Go Live, and Schedule Live

a. To start immediately, select [Go Live]. b. To Schedule an Event, select [Schedule Live], enter date, time, and

thumbnail.

13. Stopping the Stream: a. If scheduled with a duration, the Schedule live stream from Facebook will

automatically stop at the appropriate time.

b. If scheduled open ended, on the Facebook page, press

Note: Once a streaming event is stopped in Facebook, it cannot be restarted. A new Event must be created.

Facebook limits live streaming to a period of 4 hours

c. After Facebook is stopped, then stop the SMP.

If you stop the SMP before the Facebook Stream, the public will see an error.

Page 15: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 15

Technical Application Note

14. Troubleshooting:

• Ensure the SMP is configured for RTMP Streaming format.

• Ensure that the SMP Stream is started, and that the firewall is open to port 1935.

• Verify Server URL and Stream Name are entered correctly.

• Note: The Stream Name / Key changes with every “Go Live”. a) Facebook Live Recommended settings:

Audio: 128kbps Resolution – Maximum 720p. FPS: 30 for motion, Less if conserving bandwidth. 15fps or less for slides GOP: 30 Video Bitrate: Set for 80% of available bandwidth using speed test depending upon resolution.

720p/30 – 1000 – 4000 480p – 500 - 1500

Rate Control: CBR H.264 Profile: High Profile Level 4.1

Page 16: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 16

Technical Application Note

Page 17: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 17

Technical Application Note

Streaming to Wowza Streaming Cloud

Login to Wowza Cloud with your account

1. Go to Live Streams page and click on Add Live Stream from the left hand column.

• Give the channel a name

• Give the location

2. In Step 2, select the encoder “Other RTMP” and Push Stream to Wowza Cloud

• Setup for Push Stream from the SMP series product

• Setup the resolution from your SMP series product

• Select Disable authentication if you don’t want to use a user name and

password when connecting.

Page 18: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 18

Technical Application Note

3. Setup Playback settings, including player size, countdown, slate image, logo etc.

4. Setup hosting options such as a landing webpage for your live video.

5. Review your settings, and select “Finish” to create your Live Stream configuration.

Page 19: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 19

Technical Application Note

6. Once the live stream is created, it will show up as an item on the left column with

the over view listed as shown below:

Page 20: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 20

Technical Application Note

7. Copy the Stream Name and Primary Server URL to the SMP. Open the web page, Configuration -> Encoding & Metadata -> Encoding Presets tab and press “Apply”. If necessary (default) enter your username and password.

8. Back on the Wowza Cloud web page, click to begin streaming

9. Next, on the SMP encoder web page, start the RTMP stream

10. The Wowza Cloud Live stream overview page shows a video snapshot and statistics

for review.

Page 21: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 21

Technical Application Note

11. To view live stream, go to Playback page

12. To stop Live Streaming, first stop the stream from the Wowza Cloud webpage

interface.

a. Then stop the stream from the SMP webpage interface.

Note: If you stop the SMP before the Wowza Live Stream, the public will see an error.

Page 22: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 22

Technical Application Note

Page 23: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 23

Technical Application Note

Streaming to Ustream

1. Go to www.ustream.tv and log in to your account 2. From your Account pulldown, select Channel Settings

3. From the panel on the left, select Create Channel, give it a name, and select “Create”

4. On the Channel Info page, select a category, sub category, and attach a channel picture.

5. Next, Select “Broadcast settings” from the left hand side, then “Encoder Settings”.

6. Copy the Stream Name and Primary Server URL to the SMP. Open the web page, Configuration -> Encoding & Metadata -> Encoding Presets tab and press “Apply”.

Page 24: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 24

Technical Application Note

7. On the SMP Streaming, click “Start RTMP stream” button to activate the stream.

8. After a few seconds, the button will change to red and indicate the RTMP stream is

now live.

9. At this point, your stream is live, and can be viewed on the “Channel Page”.

10. If you want to schedule a Live Event (in the future), select Events, Schedule a new Event

11. Additional title and information can be setup under Video, “do a live broadcast”

Page 25: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 25

Technical Application Note

6. The live stream will be available on UStream until it is stopped from the SMP

streaming page or SIS command.

Note: UStream does not require Username and Password for Live Streaming, but may be configured with one, depending upon settings.

UStream uses port 1935 for streaming. This port must be open for network access.

7. Troubleshooting:

5. Ensure the SMP is configured for RTMP Streaming format.

6. Ensure that the SMP Stream is started, and that the firewall is open to port 1935.

7. Verify Server URL and Stream Name are entered correctly.

• Note: The Stream Name / Key may change depending upon your service agreement.

8. Ustream Recommended settings:

Audio: 128kbps Resolution – 1280x720 (720p) Recommended

1920x1080 (1080p) and other resolutions supported.

Page 26: SMP Series Streaming to 3rd parties using RTMP 1 Technical Application Note August 10th, 2017 SMP Series – Streaming to 3rd parties using RTMP The following notes provide guidance

Page 26

Technical Application Note

FPS: 30 GOP: 30 Video Bitrate: 1200 – 4000kbps for 720p

4000-8000kbps for 1080p Rate Control: CBR H.264 Profile: Main (720p) High (1080p) Profile Level 4.1