Skip to main content
FFmpeg can push a live stream to Gcore Video Streaming over RTMP. Configure it with the server URL and stream key from the Gcore Customer Portal, then run FFmpeg with the recommended encoding settings for live ingest.

Setup

  1. Install FFmpeg. Download instructions are available on ffmpeg.org.
  2. In the Gcore Customer Portal, navigate to Streaming → Live Streaming, then open the live stream settings for the target stream. In the URLs for encoder section, select RTMP and copy the Server URL and Stream Key values.
Live stream settings page showing the URLs for encoder section with Server and Stream Key fields
Append the Stream Key to the Server URL to form the full RTMP URL:
  1. Open a terminal and run FFmpeg with the input source and the RTMP URL:
Replace {INPUT_OPTIONS} with the FFmpeg input flags for the camera, screen capture, or media file. Replace {RTMP_URL} with the URL formed in step 2.

Downscale resolution (optional)

To reduce the source resolution, replace -vf format=yuv420p in the main command with a combined filter chain that applies both scaling and pixel format conversion:
Keep the rest of the command unchanged.