Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.
/ f1tv-rtmp Public archive

Play live content from F1TV with any RTMP Player

Notifications You must be signed in to change notification settings

hTobi02/f1tv-rtmp

Repository files navigation

F1TV -> RTMP

Play live content from F1TV with any RTMP Player


Installation-Docker

If you want to get a rtmp stream of live events use:
docker run -d -p 1935:1935 -p 80:80 -e F1TV_EMAIL="<YOUR F1TV EMAIL>" -e F1TV_PASSWORD="<YOUR F1TV PASSWORD>" -e LANGUAGE=<LANG-CODE> -e LIVE=true -e RECORD=false htobi02/f1tv:latest

If you want to get a rtmp stream of the most recent event use:
docker run -d -p 1935:1935 -p 80:80 -e F1TV_EMAIL="<YOUR F1TV EMAIL>" -e F1TV_PASSWORD="<YOUR F1TV PASSWORD>" -e LANGUAGE=<LANG-CODE> -e LIVE=false -e RECORD=false htobi02/f1tv:latest

If you want to record all upcoming live events use (NOTE: This disables the rtmp stream!):
docker run -d -e F1TV_EMAIL="<YOUR F1TV EMAIL>" -e F1TV_PASSWORD="<YOUR F1TV PASSWORD>" -e LANGUAGE=<LANG-CODE> -e LIVE=true -e RECORD=true -v </HOST/PATH/TO/SAVE/RECORDS>:/record htobi02/f1tv:latest

If you want to record the most recent event use (NOTE: This disables the rtmp stream!):
docker run -d -e F1TV_EMAIL="<YOUR F1TV EMAIL>" -e F1TV_PASSWORD="<YOUR F1TV PASSWORD>" -e LANGUAGE=<LANG-CODE> -e LIVE=false -e RECORD=true -v </HOST/PATH/TO/SAVE/RECORDS>:/record htobi02/f1tv:latest

After running you can watch under rtmp://localhost:1935/live/f1tv (or http://localhost/f1tv.m3u8 with container tag "hls")

Docker-compose

.env:

TAG=latest
F1TV_EMAIL=formula1@example.com
F1TV_PASSWORD=SuperSecretPassword
LANGUAGE=eng
LIVE=true
RECORD=false
OUTPUT=rtmp://127.0.0.1:1935/live/f1tv
HLS=false
REPLAY=false

Configuration

Variable Description Example Default
F1TV_EMAIL Type in your F1TV E-Mail Address formula1@example.com ./.
F1TV_PASSWORD Type in your F1TV Password SuperSecretPassword ./.
LANGUAGE in which language do you prefer watching F1 fx eng
LIVE do you want to only see live events true true
RECORD do you want to record
(IMPORTANT: This disables the rtmp stream)
false false
OUTPUT where do you want to output the stream rtmp://mycoolvideoserver/live/f1tv rtmp://127.0.0.1:1935/live/f1tv
HLS if set to true you can watch under
"http://[IP]:[PORT]"
false false
REPLAY if set to true you can scrub all the way back to the beginning of the livestreaming false false

Available Languages Description
deu German Audio Track
fra French Audio Track
spa Spanish Audio Track
por Portugese Audio Track
eng English Audio Track
fx FX Audio Track (No Commentators)

ToDo

[x] Add other languages (german and english)
[x] Remove audio/video desync
[x] Add Healthcheck
[x] Use Alpine Image
[x] Add HLS
[x] Add Recording Feature

About

Play live content from F1TV with any RTMP Player

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •