Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The formats and specifications supported by the Video Streaming are described in
When you stream via the Video Streaming, there are two ways to send us the stream: PUSH and PULL.

- To use PULL, you need a server with a stream in RTMP (or other) format. The stream is sent to our servers, which convert it into HLS.
- Use PUSH if you stream directly from your computer, camera, or any other device using third-party <a href="https://gcore.com/docs/streaming-platform/live-streaming/push-live-streams-software/push-live-streams-via-obs" target="_blank">software</a>. In this case, there is a unique key in the Gcore Customer Portal that you insert into your program, and the stream is sent to us. The Video Streaming converts it into HLS and sends it to end-users.
- Use PUSH if you stream directly from your computer, camera, or any other device using third-party <a href="https://gcore.com/docs/streaming-platform/live-streaming/broadcasting-software/obs" target="_blank">software</a>. In this case, there is a unique key in the Gcore Customer Portal that you insert into your program, and the stream is sent to us. The Video Streaming converts it into HLS and sends it to end-users.

We can receive SRT streams in either PULL or PUSH format. To send us PULL-SRT, just specify a link in the required protocol in the URL field. If you want to get a PUSH link to send SRT streams to us, write to support via [support@gcore.com](mailto:support@gcore.com) or your manager. We will set up an SRT-PUSH link on your account.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
title: ffmpeg
displayName: FFmpeg
published: true
order: 10
pageTitle: Live Stream Setup with FFmpeg | Gcore
pageDescription: A step-by-step guide to pushing live streams via FFmpeg.
---

# FFmpeg

FFmpeg is a free and open-source command line tool for video recording, screencasting, and live streaming. It’s suitable for video game streaming, blogging, educational content, and more.

FFmpeg links your device (e.g, a laptop or a PC) to different streaming platforms (e.g.,Gcore Video Streaming, YouTube, Twitch, etc.). It takes an image captured by a camera, converts it into a video stream, and then sends it to the streaming platform.

## Setup

1\. Install FFmpeg on your device. Follow the download instructions on <a href="https://ffmpeg.org/download.html" target="_blank">the official website</a>.

2\. To get the server URL and stream key, go to the <a href="https://streaming.gcore.com/streaming/list" target="_blank">Streaming list</a>, open the **Live stream settings** you need, and copy the relevant value from the **URLs for the encoder** section.

For example, if you see these values on the **Live stream settings** page:

<img src="https://assets.gcore.pro/docs/streaming-platform/live-streaming/push-live-streams-software/push-live-streams-via-obs/11774973436177.png" alt="Live stream settings" width="50%">

Concatenate them to form the full RTMP URL for the stream:

rtmp://vp-push-ix1.gvideo.co/in/400448?cdf2a7ccf990e464c2b…

3\. Open the command line interface (CLI) on your device and run the following command:

ffmpeg -f {input format params} -f flv {RTMP URL}

## Configure the stream parameters for optimal performance

To ensure optimal streaming performance, we recommend configuring the stream parameters you will send to our server. You can adjust these settings via the CLI parameters of FFmpeg.

Example of a command line for streaming via FFmpeg with the recommended parameters:

ffmpeg -f {input format params} \
-c:v libx264 -preset veryfast -b:v 2000000 \
-profile:v baseline -vf format=yuv420p \
-crf 23 -g 60 \
-b:a 128k -ar 44100 -ac 2 \
-f flv {RTMP URL}

### Output parameters

- **Video Bitrate:** To stream at 720p resolution, set the bitrate to 2000Kbps (`-b:v 2000000`). If you’re broadcasting at 1080p, set the bitrate to 4000Kbps (`-b:v 4000000`).
- **Audio Bitrate:** 128 (`-b:a 128k`).
- **Encoder:** Software (`-c:v libx264`), or any other H264 codec.
- **Rate control:** CRF (`-crf 23`)
- **Keyframe Interval:** 2s (`-g 60`).
- **CPU Usage Preset:** veryfast (`-preset veryfast`).
- **Profile:** baseline (`-profile:v baseline -vf format=yuv420p`)

### Audio parameters

- **Sample Rate**: 44.1 kHz (`-ar 44100`) or 48 kHz (`-ar 48000`).
- Use **Stereo** for the best sound quality (`-ac 2`).

### Video parameters

If you need to reduce the original resolution (downscale), follow the instructions in this section. If no resolution change is required, you can skip this step.

- **Output (Scaled) Resolution:** 1280×720
- **Downscale Filter:** Bicubic
- **Common FPS Values:** 30
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
title: larix
displayName: Larix (Android/iOS)
published: true
order: 20
pageTitle: Live Stream Setup with Larix | Gcore
pageDescription: A step-by-step guide to pushing live streams via Larix.
---

# Larix

Larix is a free encoder for video recording, screencasting, and live streaming. It’s suitable for video game streaming, blogging, educational content, and more.

Larix links your mobile device (e.g., a smartphone or a tablet) to different streaming platforms (e.g., Gcore Video Streaming, YouTube, Twitch, etc.). It takes an image captured by a camera, converts it into a video stream, and then sends it to the streaming platform.

## Setup

1\. Install Larix on your mobile device. You find the download instructions on the <a href="https://softvelum.com/larix/" target="_blank">official website</a>.

2\. To get the server URL and stream key, go to the <a href="https://streaming.gcore.com/streaming/list" target="_blank">Streaming list</a>, open the **Live stream settings** you need, and copy the relevant value from the **URLs for the encoder** section.

For example, if you see these values on the **Live stream settings** page:

<img src="https://assets.gcore.pro/docs/streaming-platform/live-streaming/push-live-streams-software/push-live-streams-via-obs/11774973436177.png" alt="Live stream settings" width="50%">

Concatenate them to form the full RTMP URL for the stream:

rtmp://vp-push-ix1.gvideo.co/in/400448?cdf2a7ccf990e464c2b…

3\. Open <a href="https://softvelum.com/larix/grove/" target="_blank">Larix Grove</a>, where you can create the configuration for the Larix app that you can share via QR code.
4\. In Larix Grove, scroll down to the **Connection** section.
5\. Enter the RTMP URL and a name for your connection.
6\. Click the QR-Code button to generate a QR code. You can scan this code with the Larix app on your mobile device to automatically configure the connection.
7\. Open the Larix app on your mobile device and tap the gear icon to open the settings.
8\. Tap **Larix Grove** and then tap **Scan Grove QR code**.
9\. Scan the QR code you generated in Larix Grove. The app will automatically configure the connection.
10\. Go back to the main screen of the Larix app and tap the big white button to start streaming.

## Configure the stream parameters for optimal performance

To ensure optimal streaming performance, we recommend configuring the stream parameters you will send to our server.

You can adjust these settings with <a href="https://softvelum.com/larix/grove/" target="_blank">Larix Grove</a>, where the configuration together with the connection URL is generated as a QR code. This allows you to easily share the configuration with team members.

After you changed the settings, click the **QR-Code** button to generate a new QR code for sharing.

<img src="https://assets.gcore.pro/docs/streaming-platform/live-streaming/broadcasting-software/larix-grove.png" alt="Larix Grove">

### Camera parameters

If you need to reduce the original resolution (downscale), follow the instructions in this section.

If you need to increase the FPS to 60, make sure to also increase the bitrate accordingly for optimal stream quality (i.e., double it).

If no resolution change is required, you can skip this step.

- **Resolution:** 1280×720
- **Frame rate:** 30

### Video encoder parameters

- **Video Bitrate:** 2000000 for 720p resolution or 4000000 for 1080p resolution.
- **Keyframe Interval:** 60 (i.e., 2 seconds)

### Audio encoder parameters

- **Audio Bitrate:** 128000
- **Sample Rate**: 44100 or 48000
- **Channels**: 2
Original file line number Diff line number Diff line change
@@ -1,27 +1,19 @@
---
title: push-live-streams-via-obs
displayName: OBS (Open Broadcaster Software)
title: obs
displayName: OBS
published: true
order: 10
toc:
--1--What is an OBS?: "what-is-an-obs"
--1--Configure: "configure-the-obs-encoder-for-gcore-streaming"
--1--Manage the stream: "manage-the-stream-parameters"
--2--Output: "output-parameters"
--2--Audio: "audio-parameters"
--2--Video: "video-parameters"
order: 30
pageTitle: Live Stream Setup with OBS | Gcore
pageDescription: A step-by-step guide to pushing live streams via Open Broadcaster Software (OBS).
---
# Push live streams via OBS

## What is an OBS?
# Open Broadcaster Software

Open Broadcaster Software (OBS) is a free and open-source encoder for video recording, screencasting, and live streaming. It’s suitable for video game streaming, blogging, educational content, and more.

OBS links your device (a laptop or a PC) and different streaming platforms (Gcore Video Streaming, YouTube, Twitch, etc.). It takes an image captured by a camera, converts it into a video stream, and then sends it to the streaming platform.

## Configure the OBS encoder for Gcore Streaming
## Setup

1\. Download Open Broadcaster Software (OBS) from the <a href="https://obsproject.com" target="_blank">official website</a> and install it.

Expand All @@ -39,8 +31,8 @@ For example, if you see these values on the Live stream settings page:

paste them to the OBS Settings as follows:

- *rtmp://vp-push-ix1.gvideo.co/in/* is the Server;
- *400448?cdf2a7ccf990e464c2b…* is the Stream Key.
- _rtmp://vp-push-ix1.gvideo.co/in/_ is the Server;
- _400448?cdf2a7ccf990e464c2b…_ is the Stream Key.

5\. Click the **Apply** button to save the new configuration.

Expand All @@ -54,7 +46,7 @@ paste them to the OBS Settings as follows:

That’s it. The stream from OBS will be broadcast to your website.

## Manage the stream parameters
## Configure the stream parameters for optimal performance

To ensure optimal streaming performance, we recommend configuring the stream parameters you will send to our server. You can adjust these settings in the Output, Audio, and Video tabs within OBS.

Expand All @@ -64,20 +56,20 @@ To ensure optimal streaming performance, we recommend configuring the stream par

2\. Set the parameters as follows:

- **Video Bitrate:** The resolution of your stream determines the required bitrate: The higher the resolution, the higher the bitrate. To stream at 720p resolution, set the bitrate to 2000Kbps. If you’re broadcasting at 1080p, set the bitrate to 4000Kbps.
- **Audio Bitrate:** 128.
- **Encoder:** Software (x264), or any other H264 codec.
- **Video Bitrate:** The resolution of your stream determines the required bitrate: The higher the resolution, the higher the bitrate. To stream at 720p resolution, set the bitrate to 2000Kbps. If you’re broadcasting at 1080p, set the bitrate to 4000Kbps.
- **Audio Bitrate:** 128.
- **Encoder:** Software (x264), or any other H264 codec.

<img src="https://assets.gcore.pro/docs/streaming-platform/live-streaming/push-live-streams-software/push-live-streams-via-obs/10807571524241.png" alt="Manage the stream parameters" width="80%">

3\. Click **Advanced** mode.

4\. Set the parameters as follows:

- **Rate control:** CRF (the default value is 23)
- **Keyframe Interval (0=auto):** 2s
- **CPU Usage Preset:** veryfast
- **Profile:** baseline
- **Rate control:** CRF (the default value is 23)
- **Keyframe Interval (0=auto):** 2s
- **CPU Usage Preset:** veryfast
- **Profile:** baseline

5\. Click **Apply** to save the configuration.

Expand All @@ -101,9 +93,9 @@ If you need to reduce the original resolution (downscale), follow the instructio

2\. Set the following parameters:

- **Output (Scaled) Resolution:** 1280×720
- **Downscale Filter:** Bicubic
- **Common FPS Values:** 30
- **Output (Scaled) Resolution:** 1280×720
- **Downscale Filter:** Bicubic
- **Common FPS Values:** 30

3\. Click **Apply**.

Expand Down
Loading