Skip to content

Commit a5a1a9a

Browse files
committed
Updated README
1 parent 3fa8d9b commit a5a1a9a

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Inspired by [mariiaan/CmdPlay](https://github.com/mariiaan/CmdPlay) with some si
88
- allows you to go back and skip forward video
99

1010
Plans for future:
11-
- version for Linux
1211
- better audio/video sync (maybe I'll switch from libao to PortAudio)
1312
- more options
1413

@@ -65,9 +64,21 @@ To get colors add "-c" option. Also when playing with colors use Windows Termina
6564
```
6665

6766
# Compiling
68-
To compile it you need Visual Studio. First you need to install vcpkg and integrate it with Visual Studio. Here is how to do it: https://vcpkg.io/en/getting-started.html. Then you need to install libav (ffmpeg's library) and libao.
67+
68+
## Windows
69+
To compile it on Windows you need Visual Studio. First, install vcpkg and integrate it with Visual Studio. Here is how to do it: https://vcpkg.io/en/getting-started.html. Then you need to install libav (ffmpeg's library) and libao.
6970
```
7071
vcpkg install ffmpeg:x64-windows
7172
vcpkg install libao:x64-windows
7273
```
73-
Now you can just open .sln file and everything should work (at least theoretically).
74+
Now you can just open .sln file and everything should work (at least theoretically).\
75+
76+
## Linux
77+
To compile it on Linux you need GCC. You also need the ffmpeg (libav) and libao libraries. If you're using apt package manager, you can install them with these commands:
78+
```
79+
sudo apt-get install libavcodec-dev
80+
sudo apt-get install libavformat-dev
81+
sudo apt-get install libswscale-dev
82+
sudo apt-get install libao-dev
83+
```
84+
Then you can just use ```make```.

0 commit comments

Comments
 (0)