Skip to content
This repository was archived by the owner on Feb 10, 2023. It is now read-only.

Commit 64ae5cb

Browse files
2 parents 709d996 + 4880a5a commit 64ae5cb

File tree

1 file changed

+35
-16
lines changed

1 file changed

+35
-16
lines changed

README.md

Lines changed: 35 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,48 @@
11
## F1Viewer
22

3-
Stream any F1TV VOD with [MPV](https://mpv.io/) or download the corresponding .m3u8 file.
4-
Make sure MPV is added to your `PATH`.
3+
Stream any F1TV VOD with MPV or download the corresponding .m3u8 file.
54

6-
Now also supports live streams (except the main feed).
5+
Now also supports live streams.
76

8-
You can play the downloaded files with VLC or MPV player. To play them with MPV you need to set the flag `--demuxer-lavf-o=protocol_whitelist=[http,https,tls,rtp,tcp,udp,crypto,httpproxy,file]`.
9-
10-
Some files have audio desync issues with VLC.
11-
12-
![alt text](https://i.imgur.com/K8yCkib.png)
7+
![screenshot](https://i.imgur.com/K8yCkib.png)
138

9+
### USAGE
10+
11+
1. **Install F1Viewer**
1412

15-
**USAGE**
13+
build it yourself
14+
15+
$ git clone https://github.com/SoMuchForSubtlety/F1viewer/
16+
$ cd F1Viewer
17+
$ cp sample-config.json config.json
18+
$ go get github.com/rivo/tview
19+
$ go build
1620

17-
$ cp sample-config.json config.json
18-
$ go get github.com/rivo/tview
19-
$ go build
20-
$ .\F1viewer
21+
22+
**or**
2123

24+
download [pre-compiled binaries](https://github.com/SoMuchForSubtlety/F1viewer/releases/)
25+
26+
27+
2. **Download MPV**
28+
29+
Download it from [here](https://mpv.io/installation/) (Windows users please get the latest version from [here](https://sourceforge.net/projects/mpv-player-windows/files/)) and either put it in the same folder as the F1Viewer binary or add it to your PATH environment variable.
2230

23-
**FLAGS**
31+
### FLAGS
2432

2533
-d
26-
shows a debug window
34+
shows debug information
2735

2836
-vlc
29-
enables the VLC http stream option
37+
enables the VLC http stream option, requires a config with the correct parameters set.
38+
39+
### CONFIG
40+
The config is optional. It is used to set a preferred audio language and VLC streaming credentials.
41+
The sample config looks like this.
42+
43+
{
44+
"preferred_language": "en",
45+
"vlc_telnet_port": "4212",
46+
"vlc_telnet_pass": "admin"
47+
}
48+
Save it as `config.json` in the same Folder as the F1Viewer binary

0 commit comments

Comments
 (0)