Safe and predictable dynamic software updating
DVDs use ISO 639-1 two-letter language codes, Matroska, MPEG-TS and NUT use ISO 639-2 three-letter language codes, while OGM uses a free-form identifier.See also Specify a priority list of subtitle languages to use.(This is different from MPlayer and mplayer2.) Also, if any option is changed at runtime (via input commands), they are not reset when a new file is played.Sometimes, it is useful to change options per-file. DVDs which have been copied on to a hard drive or other mounted filesystem (by e.g.User-specific options override system-wide options and options given on the command line override either.The syntax of the configuration files is This is done like with command line options.(This is a mess and should probably be changed at some point.) You can also write file-specific configuration files.If you wish to have a configuration file for a file called 'video.avi', create a file named 'conf' with the file-specific options in it and put it in # normal top-level option fullscreen=yes # a profile that can be enabled with --profile=big-cache [big-cache] cache=123400 demuxer-readahead-secs=20 [slow] profile-desc="some profile name" # reference a builtin profile profile=gpu-hq [fast] vo=vdpau # using a profile again extends it [slow] framedrop=no # you can also include other profiles profile=big-cache will be saved in the working directory, using the first available number - no files will be overwritten.
For example, to avoid the need for filename escaping.
DVDs use ISO 639-1 two letter language codes, Matroska uses ISO 639-2 three letter language codes while OGM uses a free-form identifier. (The latter variant does not work with the client API.) If video is disabled, mpv will try to download the audio only if media is streamed with youtube-dl, because it saves bandwidth. In addition, the player will not exit if no tracks are selected, and wait instead (this wait mode is similar to pausing, but the pause option is not set). This is less awkward for files which start at a random timestamp, such as transport streams.
This is done by setting the ytdl_format to "bestaudio/best" in the ytdl_script. On the other hand, if there are timestamp resets, the resulting behavior can be rather weird.
In pseudo-GUI mode, the screenshot will be saved somewhere else. A screenshot will usually contain the unscaled video contents at the end of the video filter chain and subtitles.
By default, Many network protocols are supported, but the protocol prefix must always be specified. Undocumented prefixes are either aliases to documented protocols, or are just redirections to protocols implemented and documented in FFmpeg. This can also be used to invoke special youtube-dl functionality like playing a video by ID or invoking search.