You want your live content to be streamed over the C3VOC infrastructure during CCCongress or another large event? Here's how.
(Recordings have to be dealt with separately)
To make sure your stream works on day 1 of the event we need to know of it beforehand so we can:
When we have provided you with an ingest endpoint name to use you need to configure your encoder for one of the formats below.
SRT is our preferred method of ingest, because it performs well even over flaky networks. Please note however that SRT won't prevent you from saturating your uplink, so choose a streaming bitrate appropriate for your ISPs bandwidth.
ingest.c3voc.deingest2.c3voc.desrt://{host}:1337?streamid=publish/{your_endpoint}/{auth_key}srt://{host}:1337?streamid=play/{your_endpoint}/{auth_key}Same settings as with RTMP, but use the following in Settings → Stream:
Custom…srt://{host}:1337?streamid=publish/{your_endpoint}/{auth_key}Audio: Use this OBS Fork (compiled version) to be able to stream multiple audio Streams (for translations).
ffmpeg -y -re -nostdin -hide_banner \
-thread_queue_size 512 -i … \
-c:v libx264 -preset:v veryfast -profile:v main -pix_fmt yuv420p -flags +cgop \
-threads:v 0 -aspect 16:9 \
\
-r:v:0 25 -g:v:0 75 -crf:v:0 23 -maxrate:v:0 4M -bufsize:v:0 12M \
-map 0:v:0 \
\
-c:a aac -b:a 192k -ar:a 48000 -ac:a 2 \
-map 0:a:0 \
\
-f mpegts \
srt://ingest.c3voc.de:1337?streamid=publish/{your_endpoint}/{auth_key}
You can play back your stream at the same endpoint you pushed to, e.g.:
mpv srt://ingest.c3voc.de:1337?streamid=play/{your_endpoint}
The transcoded stream should be available via
mpv http://cdn.c3voc.de/hls/yourname/native_hd.m3u8
RTMP is the most widely used format for origin streams and is supported by many hardware/software-encoders. It is however limited to H264 video and Stereo MP3/AAC audio.
ingest.c3voc.deingest2.c3voc.dertmp://{host}/stream/{your_endpoint}?auth={key}ffmpeg -y -re -nostdin -hide_banner \
-thread_queue_size 512 -i … \
-c:v libx264 -preset:v veryfast -profile:v main -pix_fmt yuv420p -flags +cgop \
-threads:v 0 -aspect 16:9 \
\
-r:v:0 25 -g:v:0 75 -crf:v:0 23 -maxrate:v:0 4M -bufsize:v:0 12M \
-map 0:v:0 \
\
-c:a aac -b:a 192k -ar 48000 -ac 2 \
-map 0:a:0 \
\
-f flv \
rtmp://ingest.c3voc.de:1935/stream/{your_endpoint}?auth={key}
You can play back your stream at the same endpoint you pushed to, e.g.:
mpv rtmp://ingest.c3voc.de/stream/{your_endpoint}
If you have agreed with us on directly uploading muxed stream to our CDN-master we will provide you with HTTP-credentials and a base-URL to upload to. You will have to provide the following formats:
The upload path supports GET/PUT/DELETE aswell as directory listing. The baseurl is currently assembled as follows:
host/upload/yourname/
Per default we transcode uploaded streams into an SD and a HD stream (+ potentially a slide only stream).
They are served over different protocols as documented here: stream-urls