summaryrefslogtreecommitdiffstats
path: root/videoplayer/README.md
blob: 315428f7a32be4737b82aa64b31631fdafbf929c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# nihav-videoplayer

nihav-player is a simple video player based on of NihAV.

## Getting Started

In order to build the player, put it into directory with other NihAV crates and invoke `cargo build`.

Usage: `nihav-player [options] inputfile1 inputfile2 ...`. Known options are:
- `-an` tells player to ignore audio stream
- `-ae` tells player to play audio stream again
- `-vn` tells player to ignore video stream
- `-ve` tells player to play video stream again
- `-seek` tells player to start playing file from the specified time
- `-vol` tells player to set playback volume (in percents to the normal one)

Recognized commands:
- escape key or `q` - quit player
- left/right arrows - tell player to skip to 10 seconds earlier or later
- up/down arrows - tell player to skip to 1 minute earlier or later
- pageup/pagedown - tell player to skip to 10 minutes earlier or later
- spacebar - pause/unpause playback
- plus/minus - increase/decrease volume by ten percent
- `m` - mute or unmute audio
- `h` - cycle through frame skip modes (none/reference frames only/intra frames only)

## Contributing

You're not supposed to. Even I hardly do that so why should you?

## License

NihAV is licensed under GNU Affero Public License - see [COPYING] for details.

Parts of the project can be relicensed to other free licenses like LGPLv2 on request.