Any video players with as many ways to adjust color as GIMP I have vision issues ^ a way to adjust where I can see, the monitor OSD options donβt make a big difference like GIMP/
You can use the curves ffmpeg filter with mpv.
-
VLC has an extensive GUI, and I like MPV which uses mostly keyboard access.
-
MPV allows Bright, contrast, Gamma and saturation.
I donβt think youβll find more ways to adjust a video than those.
With MPV, once you remember, itβs easyβ¦
Press numbers:
1-2 Contrast
3-4 Brightness
5-6 Gamma
7-8 Saturation
9-0 Volume
? displays your keyboard shortcutsβ¦ but it doesnβt display all possible bindings.
You can also access the menu by mousing over (to get the OSD menu) and clicking the Hamburger (bottom left corner) and select the βKey Bindingsβ menu item there, youβll see ALL of the possible bindings there.
There are tonβs of applications mentioned in the Archwiki:
Video apps:
Video editors:
For VLC one can look under the Tools menu, I saw someone already had made a page explaining how to rotate a video, there are similar things for color and other video appearance things:
https://www.howtogeek.com/824733/how-to-rotate-a-video-in-vlc-media-player/
Remember one thing, if you press Save, the settings you introduced are being made βpermanentβ (saved to settings). If you just Close the dialog, the settings are only valid for βthisβ playing video. Perhaps this is written down somewhere online. I learned the hard way. 8)
Edit: the page I linked to doesnβt mention the difference, just noticed.
If you stop the playback (i.e. pressing the Stop button, or using the keyboard shortcut, whatever you have it set to, mine is βSβ), the settings you made are lost.
I usually pause the video on a frame that is typical for the whole video and adjust the things I want to adjust, then close the dialog without saving.
For (very) special commands and settings, see vlc --longhelp in the Terminal, you might want to use less (although it usually removes colors, is there a way to avoid that?), or increase the amount of lines you can view.
I donβt know with less, specifically, but you could try the bat pager:
$ less --help | bat --color always
ββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β STDIN
ββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1 β
2 β SUMMARY OF LESS COMMANDS
3 β
4 β Commands marked with * may be preceded by a number, N.
5 β Notes in parentheses indicate the behavior if N is given.
6 β A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K.
7 β
8 β h H Display this help.
9 β q :q Q :Q ZZ Exit.
10 β ---------------------------------------------------------------------------
11 β
12 β MOVING
13 β
14 β e ^E j ^N CR * Forward one line (or N lines).
15 β y ^Y k ^K ^P * Backward one line (or N lines).
16 β ESC-j * Forward one file line (or N file lines).
17 β ESC-k * Backward one file line (or N file lines).
18 β f ^F ^V SPACE * Forward one window (or N lines).
19 β b ^B ESC-v * Backward one window (or N lines).
20 β z * Forward one window (and set window to N).
21 β w * Backward one window (and set window to N).
22 β ESC-SPACE * Forward one window, but don't stop at end-of-file.
23 β ESC-b * Backward one window, but don't stop at beginning-of-file.
24 β d ^D * Forward one half-window (and set half-window to N).
25 β u ^U * Backward one half-window (and set half-window to N).
26 β ESC-) RightArrow * Right one half screen width (or N positions).
27 β ESC-( LeftArrow * Left one half screen width (or N positions).
28 β ESC-} ^RightArrow Right to last column displayed.
29 β ESC-{ ^LeftArrow Left to first column.
30 β F Forward forever; like "tail -f".
31 β ESC-F Like F but stop when search pattern is found.
32 β r ^R ^L Repaint screen.
33 β R Repaint screen, discarding buffered input.
34 β ---------------------------------------------------
35 β Default "window" is the screen height.
36 β Default "half-window" is half of the screen height.
37 β ---------------------------------------------------------------------------
[...]
(Thereβs just much more color then.)
Also see:
https://www.baeldung.com/linux/less-pager-syntax-highlighting#bd-syntax-highlighting-usingbat
Thanks for the info. Although, pacman says about bat:
extra/bat 0.26.1-1
Cat clone with syntax highlighting and git integration
If it is a cat clone, doesnβt it suffer from the same limitations as cat? That it cannot, like less, use a scrollable buffer, or is batβs implementation different somehow?
Edit: Iβll try it and see.
Edit #2: I have tested it, and it works roughly the same as less in this respect, no colors. No wonder since it defaults to using less for a pager: https://github.com/sharkdp/bat#automatic-paging Still, Iβll keep it around for a while at least, might be useful.
I donβt know in a TTY, but I have no such limitations in my GUI.
I think thatβs the best, yes.
I had the VLC addon for FF, never figured out how to make it work.
Well,
https://i.imgur.com/oUlBEAG.png
But I see there is a configuration file, although I donβt really remember what difference the settings made:
cat ~/.config/bat/config 130 β΅
ββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β File: /home/mirdarthos/.config/bat/config
ββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1 β # This is `bat`s configuration file. Each line either contains a comment or
2 β # a command-line option that you want to pass to `bat` by default. You can
3 β # run `bat --help` to get a list of all possible configuration options.
4 β
5 β # Specify desired highlighting theme (e.g. "TwoDark"). Run `bat --list-themes`
6 β # for a list of all available themes
7 β
8 β # Enable this to use italic text on the terminal. This is not supported on all
9 β # terminal emulators (like tmux, by default):
10 β #--italic-text=always
11 β
12 β # Uncomment the following line to disable automatic paging:
13 β
14 β # Uncomment the following line if you are using less version >= 551 and want to
15 β # enable mouse scrolling support in `bat` when running inside tmux. This might
16 β # disable text selection, unless you press shift.
17 β #--pager="less --RAW-CONTROL-CHARS --quit-if-one-screen --mouse"
18 β
19 β # Syntax mappings: map a certain filename pattern to a language.
20 β # Example 1: use the C++ syntax for Arduino .ino files
21 β # Example 2: Use ".gitignore"-style highlighting for ".ignore" files
22 β #--map-syntax "*.ino:C++"
23 β #--map-syntax ".ignore:Git Ignore"
24 β
25 β # Mirdathos' settings
26 β --theme="Dracula"
27 β #--paging=auto
28 β --decorations=auto
ββββ΄ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Itβs not less. Most well written programs will not output colour codes if the output is being redirected to a pipe or a file. The colour codes tend to mess up subsequent operations.
Sometimes they have a --color flag, or something similar.
ls --color=auto | less # no colour
ls --color=auto > /tmp/lstest # no colour
ls --color=always | less # colour
ls --color=always > /tmp/lstest # colour
In the case of bat, I suspect itβs the --theme="Dracula" flag.
And I just tested, color codes werenβt output when piping or redirecting to a file.
According to the man page, thatβs for syntax highlighting.
bat also has a --colour=[**auto**, never, always] flag, which affects only codes output by bat itself when using redirection (and the structure of the output).
ls --color=always | bat --color=never | less # changes the structure for easier processing, but keeps the colour from `ls`
ls --color=always | bat --color=always | less # looks the same as `ls --color=always | bat` but in a pager