literate-dotfiles/docs/video.html

607 lines
37 KiB
HTML
Raw Normal View History

2020-01-11 22:04:45 +01:00
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
2020-01-11 22:22:46 +01:00
<!-- 2020-01-11 sam. 22:19 -->
2020-01-11 22:04:45 +01:00
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>MPV Configuration</title>
<meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" />
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center;
margin-bottom: .2em; }
.subtitle { text-align: center;
font-size: medium;
font-weight: bold;
margin-top:0; }
.todo { font-family: monospace; color: red; }
.done { font-family: monospace; color: green; }
.priority { font-family: monospace; color: orange; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
/* Languages per Org manual */
pre.src-asymptote:before { content: 'Asymptote'; }
pre.src-awk:before { content: 'Awk'; }
pre.src-C:before { content: 'C'; }
/* pre.src-C++ doesn't work in CSS */
pre.src-clojure:before { content: 'Clojure'; }
pre.src-css:before { content: 'CSS'; }
pre.src-D:before { content: 'D'; }
pre.src-ditaa:before { content: 'ditaa'; }
pre.src-dot:before { content: 'Graphviz'; }
pre.src-calc:before { content: 'Emacs Calc'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; }
pre.src-hledger:before { content: 'hledger'; }
pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; }
pre.src-latex:before { content: 'LaTeX'; }
pre.src-ledger:before { content: 'Ledger'; }
pre.src-lisp:before { content: 'Lisp'; }
pre.src-lilypond:before { content: 'Lilypond'; }
pre.src-lua:before { content: 'Lua'; }
pre.src-matlab:before { content: 'MATLAB'; }
pre.src-mscgen:before { content: 'Mscgen'; }
pre.src-ocaml:before { content: 'Objective Caml'; }
pre.src-octave:before { content: 'Octave'; }
pre.src-org:before { content: 'Org mode'; }
pre.src-oz:before { content: 'OZ'; }
pre.src-plantuml:before { content: 'Plantuml'; }
pre.src-processing:before { content: 'Processing.js'; }
pre.src-python:before { content: 'Python'; }
pre.src-R:before { content: 'R'; }
pre.src-ruby:before { content: 'Ruby'; }
pre.src-sass:before { content: 'Sass'; }
pre.src-scheme:before { content: 'Scheme'; }
pre.src-screen:before { content: 'Gnu Screen'; }
pre.src-sed:before { content: 'Sed'; }
pre.src-sh:before { content: 'shell'; }
pre.src-sql:before { content: 'SQL'; }
pre.src-sqlite:before { content: 'SQLite'; }
/* additional languages in org.el's org-babel-load-languages alist */
pre.src-forth:before { content: 'Forth'; }
pre.src-io:before { content: 'IO'; }
pre.src-J:before { content: 'J'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-maxima:before { content: 'Maxima'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-picolisp:before { content: 'Pico Lisp'; }
pre.src-scala:before { content: 'Scala'; }
pre.src-shell:before { content: 'Shell Script'; }
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
/* additional language identifiers per "defun org-babel-execute"
in ob-*.el */
pre.src-cpp:before { content: 'C++'; }
pre.src-abc:before { content: 'ABC'; }
pre.src-coq:before { content: 'Coq'; }
pre.src-groovy:before { content: 'Groovy'; }
/* additional language identifiers from org-babel-shell-names in
ob-shell.el: ob-shell is the only babel language using a lambda to put
the execution function name together. */
pre.src-bash:before { content: 'bash'; }
pre.src-csh:before { content: 'csh'; }
pre.src-ash:before { content: 'ash'; }
pre.src-dash:before { content: 'dash'; }
pre.src-ksh:before { content: 'ksh'; }
pre.src-mksh:before { content: 'mksh'; }
pre.src-posh:before { content: 'posh'; }
/* Additional Emacs modes also supported by the LaTeX listings package */
pre.src-ada:before { content: 'Ada'; }
pre.src-asm:before { content: 'Assembler'; }
pre.src-caml:before { content: 'Caml'; }
pre.src-delphi:before { content: 'Delphi'; }
pre.src-html:before { content: 'HTML'; }
pre.src-idl:before { content: 'IDL'; }
pre.src-mercury:before { content: 'Mercury'; }
pre.src-metapost:before { content: 'MetaPost'; }
pre.src-modula-2:before { content: 'Modula-2'; }
pre.src-pascal:before { content: 'Pascal'; }
pre.src-ps:before { content: 'PostScript'; }
pre.src-prolog:before { content: 'Prolog'; }
pre.src-simula:before { content: 'Simula'; }
pre.src-tcl:before { content: 'tcl'; }
pre.src-tex:before { content: 'TeX'; }
pre.src-plain-tex:before { content: 'Plain TeX'; }
pre.src-verilog:before { content: 'Verilog'; }
pre.src-vhdl:before { content: 'VHDL'; }
pre.src-xml:before { content: 'XML'; }
pre.src-nxml:before { content: 'XML'; }
/* add a generic configuration mode; LaTeX export needs an additional
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
pre.src-conf:before { content: 'Configuration File'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.org-right { text-align: center; }
th.org-left { text-align: center; }
th.org-center { text-align: center; }
td.org-right { text-align: right; }
td.org-left { text-align: left; }
td.org-center { text-align: center; }
dt { font-weight: bold; }
.footpara { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.equation-container {
display: table;
text-align: center;
width: 100%;
}
.equation {
vertical-align: middle;
}
.equation-label {
display: table-cell;
text-align: right;
vertical-align: middle;
}
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
.org-svg { width: 90%; }
/*]]>*/-->
</style>
2020-01-11 22:22:46 +01:00
<link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
<link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/bootstrap.min.js"></script>
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script>
2020-01-11 22:04:45 +01:00
<script type="text/javascript">
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2020 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
</script>
</head>
<body>
<div id="org-div-home-and-up">
<a accesskey="h" href="./index.html"> UP </a>
|
<a accesskey="H" href="./index.html"> HOME </a>
</div><div id="content">
<h1 class="title">MPV Configuration</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#orgebdc047">MPV Configuration</a>
<ul>
<li><a href="#org57b72c4">Video settings</a></li>
<li><a href="#orgdfdb9bc">Audio settings</a></li>
<li><a href="#orgc9bdb6a">Other settings</a></li>
</ul>
</li>
<li><a href="#org20df82e">MPV Key Bindings</a></li>
</ul>
</div>
</div>
<div id="outline-container-orgebdc047" class="outline-2">
<h2 id="orgebdc047">MPV Configuration</h2>
<div class="outline-text-2" id="text-orgebdc047">
</div>
<div id="outline-container-org57b72c4" class="outline-3">
<h3 id="org57b72c4">Video settings</h3>
<div class="outline-text-3" id="text-org57b72c4">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Start in fullscreen mode by default.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">fs=yes</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">force starting with centered window</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">geometry=50%:50%</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">don't allow a new window to have a size larger than 90% of the screen size</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">autofit-larger=90%x90%</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Do not close the window on exit.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">keep-open=yes</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Do not wait with showing the video window until it has loaded. (This will</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">resize the window once video is loaded. Also always shows a window with</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">audio.)</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">force-window=immediate</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Disable the On Screen Controller (OSC).</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">osc=no</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Keep the player window on top of all other windows.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">ontop=yes</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Specify high quality video rendering preset (for --vo=gpu only)</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Can cause performance problems with some drivers and GPUs.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">profile=gpu-hq</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Force video to lock on the display's refresh rate, and change video and audio</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">speed to some degree to ensure synchronous playback - can cause problems</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">with some drivers and desktop environments.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">video-sync=display-resample</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Enable hardware decoding if available. Often, this does not work with all</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">video outputs, but should work well with default settings on most systems.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">If performance or energy usage is an issue, forcing the vdpau or vaapi VOs</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">may or may not help.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">hwdec=auto</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgdfdb9bc" class="outline-3">
<h3 id="orgdfdb9bc">Audio settings</h3>
<div class="outline-text-3" id="text-orgdfdb9bc">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Specify default audio device. You can list devices with: --audio-device=help</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">The option takes the device string (the stuff between the '...').</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">audio-device=alsa/default</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Do not filter audio to keep pitch when changing playback speed.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">audio-pitch-correction=no</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Output 5.1 audio natively, and upmix/downmix audio with a different format.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">audio-channels=5.1</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Disable any automatic remix, _if_ the audio output accepts the audio format.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">of the currently played file. See caveats mentioned in the manpage.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">(The default is "auto-safe", see manpage.)</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">audio-channels=auto</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgc9bdb6a" class="outline-3">
<h3 id="orgc9bdb6a">Other settings</h3>
<div class="outline-text-3" id="text-orgc9bdb6a">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Pretend to be a web browser. Might fix playback with some streaming sites,</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">but also will break with shoutcast streams.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">user-agent="Mozilla/5.0"</span>
<span class="org-variable-name">stop-screensaver</span> = <span class="org-string">"yes"</span>
<span class="org-variable-name">sub-auto</span>=fuzzy
<span class="org-comment-delimiter"># </span><span class="org-comment">cache settings</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Use 150MB input cache by default. The cache is enabled for network streams only.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">cache-default=153600</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Use 150MB input cache for everything, even local files.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">cache=153600</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Disable the behavior that the player will pause if the cache goes below a</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">certain fill size.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">cache-pause=no</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Read ahead about 5 seconds of audio and video packets.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">demuxer-readahead-secs=5.0</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Raise readahead from demuxer-readahead-secs to this value if a cache is active.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">cache-secs=50.0</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Display English subtitles if available.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">slang=en</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Play Finnish audio if available, fall back to English otherwise.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">alang=fi,en</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Change subtitle encoding. For Arabic subtitles use 'cp1256'.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">If the file seems to be valid UTF-8, prefer UTF-8.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">(You can add '+' in front of the codepage to force it.)</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">sub-codepage=cp1256</span>
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org20df82e" class="outline-2">
<h2 id="org20df82e">MPV Key Bindings</h2>
<div class="outline-text-2" id="text-org20df82e">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Audio</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">WHEEL_LEFT add volume -2</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">WHEEL_RIGHT add volume 2</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">ctrl++ add audio-delay 0.100 # this changes audio/video sync</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">ctrl+- add audio-delay -0.100</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">9 add volume -2</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">/ add volume -2</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">0 add volume 2</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">* add volume 2</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">m cycle mute</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">SHARP cycle audio # switch audio streams</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Basic</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
ESC set fullscreen no
q quit
Q quit-watch-later
SPACE cycle pause <span class="org-comment-delimiter"># </span><span class="org-comment">toggle pause/playback mode</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">p cycle pause # toggle pause/playback mode</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Navigation</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
l seek <span class="org-highlight-numbers-number">5</span>
h seek -5
<span class="org-comment-delimiter"># </span><span class="org-comment">k seek 60</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">j seek -60</span>
L playlist-next <span class="org-comment-delimiter"># </span><span class="org-comment">skip to next file</span>
H playlist-prev <span class="org-comment-delimiter"># </span><span class="org-comment">skip to previous file</span>
K add chapter <span class="org-highlight-numbers-number">1</span> <span class="org-comment-delimiter"># </span><span class="org-comment">skip to next chapter</span>
J add chapter -1 <span class="org-comment-delimiter"># </span><span class="org-comment">skip to previous chapter</span>
WHEEL_UP seek <span class="org-highlight-numbers-number">10</span>
WHEEL_DOWN seek -10
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Subtitles</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
z add sub-delay -0.1 <span class="org-comment-delimiter"># </span><span class="org-comment">subtract 100 ms delay from subs</span>
Z add sub-delay +0.1 <span class="org-comment-delimiter"># </span><span class="org-comment">add</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">x add sub-delay +0.1 # same as previous binding (discouraged)</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">r add sub-pos -1 # move subtitles up</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">R add sub-pos +1 # down</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">t add sub-pos +1 # same as previous binding (discouraged)</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">v cycle sub-visibility</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">stretch SSA/ASS subtitles with anamorphic videos to match historical</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">V cycle sub-ass-vsfilter-aspect-compat</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">switch between applying no style overrides to SSA/ASS subtitles, and</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">overriding them almost completely with the normal subtitle style</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">u cycle-values sub-ass-override "force" "no"</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">j cycle sub # cycle through subtitles</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">J cycle sub down # ...backwards</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Skip to previous/next subtitle (subject to some restrictions; see manpage)</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Ctrl+LEFT no-osd sub-seek -1</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Ctrl+RIGHT no-osd sub-seek 1</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Adjust timing to previous/next subtitle</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Ctrl+Shift+LEFT sub-step -1</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Ctrl+Shift+RIGHT sub-step 1</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">F9 show_text ${track-list} # show list of audio/sub streams</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">? add sub-scale +0.1 # increase subtitle font size</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">? add sub-scale -0.1 # decrease subtitle font size</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Video</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Move video rectangle</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Alt+left add video-pan-x 0.1</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Alt+right add video-pan-x -0.1</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Alt+up add video-pan-y 0.1</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Alt+down add video-pan-y -0.1</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Zoom/unzoom video</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Alt++ add video-zoom 0.1</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Alt+- add video-zoom -0.1</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Reset video zoom/pan settings</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Alt+BS set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">1 add contrast -1</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">2 add contrast 1</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">3 add brightness -1</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">4 add brightness 1</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">5 add gamma -1</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">6 add gamma 1</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">7 add saturation -1</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">8 add saturation 1</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Speed</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">[ multiply speed 1/1.1 # scale playback speed</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">] multiply speed 1.1</span>
<span class="org-comment-delimiter"><span class="org-type">#</span></span><span class="org-comment">{ multiply speed 0.5</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">} multiply speed 2.0</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">BS set speed 1.0 # reset speed to normal</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment"># Informations</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">o show-progress</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">P show-progress</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">i script-binding stats/display-stats</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">I script-binding stats/display-stats-toggle</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Screenshot</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">s async screenshot # take a screenshot</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">S async screenshot video # ...without subtitles</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Ctrl+s async screenshot window # ...with subtitles and OSD, and scaled</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Alt+s screenshot each-frame # automatically screenshot every frame</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Media keys</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">POWER quit</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">PLAY cycle pause</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">PAUSE cycle pause</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">PLAYPAUSE cycle pause</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">STOP quit</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">FORWARD seek 60</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">REWIND seek -60</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">NEXT playlist-next</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">PREV playlist-prev</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">VOLUME_UP add volume 2</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">VOLUME_DOWN add volume -2</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">MUTE cycle mute</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">CLOSE_WIN quit</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">CLOSE_WIN {encode} quit 4</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Others</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Shift+BS revert-seek # undo previous (or marked) seek</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Shift+Ctrl+BS revert-seek mark # mark position for revert-seek</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">. frame-step # advance one frame and pause</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">, frame-back-step # go back by one frame and pause</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">O no-osd cycle-values osd-level 3 1 # cycle through OSD mode</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Alt+0 set window-scale 0.5</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Alt+1 set window-scale 1.0</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">Alt+2 set window-scale 2.0</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">toggle deinterlacer (automatically inserts or removes required filter)</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">d cycle deinterlace</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">_ cycle video</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">T cycle ontop # toggle video window ontop of other windows</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">f cycle fullscreen # toggle fullscreen</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">w add panscan -0.1 # zoom out with -panscan 0 -fs</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">W add panscan +0.1 # in</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">e add panscan +0.1 # same as previous binding (discouraged)</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">cycle video aspect ratios; "-1" is the container aspect</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">A cycle-values video-aspect "16:9" "4:3" "2.35:1" "-1"</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">E cycle edition # next edition</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">l ab-loop # Set/clear A-B loop points</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">L cycle-values loop-file "inf" "no" # toggle infinite looping</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">ctrl+c quit 4</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">DEL script-binding osc/visibility # cycle OSC display</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">ctrl+h cycle-values hwdec "auto" "no" # cycle hardware decoding</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">F8 show_text ${playlist} # show playlist</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">q {encode} quit 4</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">ESC {encode} quit 4</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
</pre>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
2020-01-11 22:22:46 +01:00
<p class="date">Created: 2020-01-11 sam. 22:19</p>
2020-01-11 22:04:45 +01:00
</div>
</body>
</html>