{"id":3233,"date":"2023-09-16T10:02:34","date_gmt":"2023-09-16T04:32:34","guid":{"rendered":"https:\/\/smarttech101.com\/?p=3233"},"modified":"2023-09-16T10:05:52","modified_gmt":"2023-09-16T04:35:52","slug":"how-to-configure-use-mpv-video-player","status":"publish","type":"post","link":"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/","title":{"rendered":"How to Configure and Use MPV Video Player"},"content":{"rendered":"\n<p>MPV is a versatile video player that transcends operating system boundaries, running seamlessly on <strong>Linux, Windows, BSD, Android, and MacOS<\/strong>. Despite its minimalist design, MPV offers an array of <strong>configuration options<\/strong>, allowing users to tailor their viewing experience to perfection. Moreover, MPV&#8217;s extensibility is a standout feature, enabling users to enhance its functionality through <strong>scripts written in Lua and JavaScript<\/strong>. In this guide, we&#8217;ll explore how to configure and harness the power of MPV, making it your go-to video player for all platforms.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"999\" height=\"628\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/mpv.jpg?resize=999%2C628&#038;ssl=1\" alt=\"mpv with default configuration\" class=\"wp-image-3234\" srcset=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/mpv.jpg?w=999&amp;ssl=1 999w, https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/mpv.jpg?resize=768%2C483&amp;ssl=1 768w\" sizes=\"(max-width: 999px) 100vw, 999px\" \/><figcaption class=\"wp-element-caption\">figure 1: mpv with default configuration<\/figcaption><\/figure>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_69_1 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#Installation\" title=\"Installation\">Installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#How_to_Customize_MPV\" title=\"How to Customize MPV\">How to Customize MPV<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#How_to_Customize_the_Keybindings_in_MPV\" title=\"How to Customize the Keybindings in MPV\">How to Customize the Keybindings in MPV<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#Volume_Keys_in_MPV\" title=\"Volume Keys in MPV\">Volume Keys in MPV<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#Skipping_in_MPV_Videos\" title=\"Skipping in MPV Videos\">Skipping in MPV Videos<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#Taking_Screenshot_in_MPV_Video\" title=\"Taking Screenshot in MPV Video\">Taking Screenshot in MPV Video<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#Subtitles_in_MPV\" title=\"Subtitles in MPV\">Subtitles in MPV<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#Chapters_in_MPV\" title=\"Chapters in MPV\">Chapters in MPV<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#Video_Playback_Speed\" title=\"Video Playback Speed\">Video Playback Speed<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#Video_Information\" title=\"Video Information\">Video Information<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#Start_from_the_Beginning_in_the_Video\" title=\"Start from the Beginning in the Video\">Start from the Beginning in the Video<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#Keybindings_for_Audios_in_Multiple_Languages\" title=\"Keybindings for Audios in Multiple Languages\">Keybindings for Audios in Multiple Languages<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#Keybindings_for_Setting_Loops_in_MPV\" title=\"Keybindings for Setting Loops in MPV\">Keybindings for Setting Loops in MPV<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#How_to_Configure_MPV\" title=\"How to Configure MPV\">How to Configure MPV<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#Loop_VideosImages_in_MPV\" title=\"Loop Videos\/Images in MPV\">Loop Videos\/Images in MPV<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#Volume\" title=\"Volume\">Volume<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#MPVs_Screenshot_Directory\" title=\"MPV&#8217;s Screenshot Directory\">MPV&#8217;s Screenshot Directory<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#OSD_On_Screen_Display\" title=\"OSD (On Screen Display)\">OSD (On Screen Display)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#Controlling_MPV_Using_IPC_Protocol\" title=\"Controlling MPV Using IPC Protocol\">Controlling MPV Using IPC Protocol<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#Profiles_in_MPV\" title=\"Profiles in MPV\">Profiles in MPV<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#Playlist_in_MPV\" title=\"Playlist in MPV\">Playlist in MPV<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#Way_Ahead\" title=\"Way Ahead\">Way Ahead<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Installation\"><\/span>Installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><strong>Arch Linux\/Manjaro<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo pacman -S mpv<\/code><\/pre>\n\n\n\n<p><strong>Debian\/Ubuntu\/Kali Linux\/Raspbian<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install mpv<\/code><\/pre>\n\n\n\n<p><strong>Windows<\/strong><br>First, install and enable Chocolatey.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>choco install mpv<\/code><\/pre>\n\n\n\n<p><a href=\"https:\/\/mpv.io\/installation\/\" target=\"_blank\" rel=\"noreferrer noopener sponsored nofollow\">For the installation of MPV on other systems, refer to this page.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Customize_MPV\"><\/span>How to Customize MPV<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In <strong>Unix<\/strong>-based systems, configuration files are located in the directory <code>\/etc\/mpv<\/code> (system-wide) and <code>~\/.config\/mpv<\/code> or <code>$XDG_CONFIG_HOME\/mpv<\/code> (user-wide).<\/p>\n\n\n\n<p>For <strong>Windows<\/strong>, they are in the directory <code>C:\\Users\\&lt;username&gt;\\AppData\\Roaming\\mpv<\/code>. Please note that in Windows, backslashes are used instead of forward slashes for directories.<\/p>\n\n\n\n<p>You can explore these system-wide directories for default shortcut keys and configurations. Then, modify them to make them your own.<\/p>\n\n\n\n<p>The files\/directories include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>mpv.conf<\/code>: It is the main configuration file.<\/li>\n\n\n\n<li><code>input.conf<\/code>: All the keybindings are located here. A sample <code>input.conf<\/code> is available in the <code>\/usr\/share\/doc\/mpv\/<\/code> directory or <a href=\"https:\/\/github.com\/mpv-player\/mpv\/blob\/master\/etc\/input.conf\" target=\"_blank\" rel=\"noreferrer noopener\">this official mpv github page<\/a>. <\/li>\n\n\n\n<li><code>watch_later<\/code>: When you enable the configuration related to <code>--save-position-on-quit<\/code>, MPV saves the position where you were watching the video into the files in this directory. The next time you play this video, it starts from the same time.<\/li>\n\n\n\n<li><code>scripts<\/code>: This directory stores all your scripts. When you install MPV, MPV saves some scripts in the directory <code>\/usr\/share\/mpv\/scripts\/<\/code>. These are not enabled by default. To enable them, you need to copy or symlink them into your configuration&#8217;s scripts directory. <a href=\"https:\/\/smarttech101.com\/hard-links-and-soft-links-in-linux\/\" target=\"_blank\" rel=\"noreferrer noopener\">To learn about symlinks and how to create them in Linux, refer to this link.<\/a><\/li>\n\n\n\n<li><code>script-modules<\/code> and <code>script-opts<\/code> are two directories that store extra modules and options for scripts. You don&#8217;t need to create them unless asked by the script&#8217;s man page. Please note that a file <code>script-opts\/console.conf<\/code> stores configuration related to MPV consoles.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"304\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/mpv_console.png?resize=560%2C304&#038;ssl=1\" alt=\"MPV's console launched by pressing the backquote key located below the Esc key on a US keyboard\" class=\"wp-image-3235\"\/><figcaption class=\"wp-element-caption\">figure 2: console launched by pressing the backquote key located below the Esc key on a US keyboard<\/figcaption><\/figure>\n\n\n\n<p>Here is a short but useful configuration for the <strong>console&#8217;s fonts<\/strong>. Uncomment and modify it to make it your own.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;ajay@legion ~]$ nvim ~\/.config\/mpv\/script-opts\/console.conf<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code># scale=1\n# font=monospace\nfont_size=25<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Customize_the_Keybindings_in_MPV\"><\/span>How to Customize the Keybindings in MPV<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To get the list of all keybindings in your MPV video player, press &#8216;i&#8217; followed by &#8216;4&#8217;. Now, you can use the up and down arrow keys to browse through them.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"912\" height=\"543\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/finding_keybindings_in_mpv.jpg?resize=912%2C543&#038;ssl=1\" alt=\" finding keybindings in mpv: press i then 4\" class=\"wp-image-3236\" srcset=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/finding_keybindings_in_mpv.jpg?w=912&amp;ssl=1 912w, https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/finding_keybindings_in_mpv.jpg?resize=768%2C457&amp;ssl=1 768w\" sizes=\"(max-width: 912px) 100vw, 912px\" \/><figcaption class=\"wp-element-caption\">figure 3: finding keybindings<\/figcaption><\/figure>\n\n\n\n<p>To modify them, the simplest way is to copy the sample <code>input.conf<\/code> mentioned above to the user-wide <code>input.conf<\/code>. Now, uncomment and change them according to your needs.<\/p>\n\n\n\n<p>To find the name of the key, run the following MPV command with the <code>--input-test<\/code> flag with any video:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;ajay@legion ~]$ mpv --input-test &lt;any_mpv&gt;<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1328\" height=\"769\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/finding_keynames_in_mpv_by_using_the_flag.jpg?resize=1328%2C769&#038;ssl=1\" alt=\"\" class=\"wp-image-3246\" srcset=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/finding_keynames_in_mpv_by_using_the_flag.jpg?w=1328&amp;ssl=1 1328w, https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/finding_keynames_in_mpv_by_using_the_flag.jpg?resize=768%2C445&amp;ssl=1 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">figure 4: <code>mpv --input-test<\/code> displays the keys you press<\/figcaption><\/figure>\n\n\n\n<p>You can also use the command <code>mpv --input-keylist<\/code> to print some keys on your terminal.<\/p>\n\n\n\n<p><strong>Syntax<\/strong> for the <code>input.conf<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;keys&gt; &lt;MPV_command&gt;<\/code><\/pre>\n\n\n\n<p>These MPV commands can be run either from MPV&#8217;s console or using shortcut keys. You can first try any complicated command using MPV&#8217;s console and then bind them to your keys.<\/p>\n\n\n\n<p>Here are my <strong>keybindings, similar to Vim<\/strong> keybindings:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Volume_Keys_in_MPV\"><\/span>Volume Keys in MPV<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>For <strong>volume<\/strong> control, to use mouse wheels, append the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>WHEEL_UP      add volume -2\nWHEEL_DOWN    add volume +2<\/code><\/pre>\n\n\n\n<p>But for controlling volumes using Vim keys, use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>j add volume -2\nk add volume +2<\/code><\/pre>\n\n\n\n<p>You can add both if you wish.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Skipping_in_MPV_Videos\"><\/span>Skipping in MPV Videos<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>If you don&#8217;t like a scene in your video, you can <strong>skip the scene<\/strong> using the <code>seek<\/code> command. To bind it similar to Vim key bindings, use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>l seek  1\nh seek -1\nL seek  60\nH seek -60<\/code><\/pre>\n\n\n\n<p>If the above <code>seek<\/code> keybindings move too fast, you can <strong>advance slowly<\/strong> (frame by frame). It is useful when you want to take a screenshot at a precise location.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; frame-step  # advance one frame and pause\n&lt; frame-back-step  # go back by one frame and pause<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Taking_Screenshot_in_MPV_Video\"><\/span>Taking Screenshot in MPV Video<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>For taking screenshots of important images, the following are the default keys. Modify them by uncommenting them.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#s screenshot  # take a screenshot\n#S screenshot video  # ...without subtitles\n#Ctrl+s screenshot window  # ...with subtitles and OSD, and scaled\n#Alt+s screenshot each-frame  # automatically screenshot every frame<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Subtitles_in_MPV\"><\/span>Subtitles in MPV<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Sometimes, subtitles are not synchronized with the videos. In that case, <strong>to synchronize the subtitles<\/strong>, use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Alt+h sub-step -1\nAlt+l sub-step 1<\/code><\/pre>\n\n\n\n<p><strong>\ud83d\udcd4 Note<\/strong>: To add subtitles in an MPV video, make sure the video name and subtitle names are the same except for the file extension.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"867\" height=\"328\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/subtitles_in_mpv_should_have_same_name_as_video.png?resize=867%2C328&#038;ssl=1\" alt=\"subtitles in the mpv should have same name as that of video\" class=\"wp-image-3238\" srcset=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/subtitles_in_mpv_should_have_same_name_as_video.png?w=867&amp;ssl=1 867w, https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/subtitles_in_mpv_should_have_same_name_as_video.png?resize=768%2C291&amp;ssl=1 768w\" sizes=\"(max-width: 867px) 100vw, 867px\" \/><figcaption class=\"wp-element-caption\">figure 5: subtitles should have same name as that of video<\/figcaption><\/figure>\n\n\n\n<p>Sometimes, subtitles are obfuscating an important scene, and you want to shift their position. Use <code>T<\/code> (top) and <code>R<\/code> (reverse the path):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>T add sub-pos -1  # move subtitles up\nR add sub-pos +1  # down<\/code><\/pre>\n\n\n\n<p>If a video has multiple subtitles (multilingual subtitles), use <code>c<\/code> to <strong>cycle through subtitles<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>c cycle sub  # cycle through subtitles<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Chapters_in_MPV\"><\/span>Chapters in MPV<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>In YouTube, you can interact with chapters. Chapters are useful for <strong>long video lectures<\/strong>. In MPV, you can also <strong>interact with chapters<\/strong>. Use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PGDWN add chapter 1  # skip to the next chapter\nPGUP add chapter -1  # skip to the previous chapter<\/code><\/pre>\n\n\n\n<p>For example, this is how the following <a href=\"https:\/\/youtu.be\/8DvywoWv6fI?si=9dOnwEgWhT6OODOD\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">YouTube video<\/a> with chapters looks like in the mpv: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1119\" height=\"645\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/chapters_in_mpv.jpg?resize=1119%2C645&#038;ssl=1\" alt=\"chapters in mpv - notice the chapter name and dots in the bottom bar\" class=\"wp-image-3239\" srcset=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/chapters_in_mpv.jpg?w=1119&amp;ssl=1 1119w, https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/chapters_in_mpv.jpg?resize=768%2C443&amp;ssl=1 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">figure 6: chapters in mpv &#8211; notice the chapter name and dots in the bottom bar<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Video_Playback_Speed\"><\/span>Video Playback Speed<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Sometimes, <strong>videos are boring<\/strong>, and sometimes they are too fast to understand. <strong>Control the speed of a video<\/strong> using:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#&#091; multiply speed 1\/1.1\n#] multiply speed 1.1\n\n#{ multiply speed 0.5\n#} multiply speed 2.0\n#BS set speed 1.0  # reset speed to normal\n= set speed 1.0  # reset speed to normal<\/code><\/pre>\n\n\n\n<p>The commented lines are the default keys. Change them if you want.<\/p>\n\n\n\n<p>If you are playing a boring video in a playlist and want to <strong>skip to the next\/previous video in the playlist<\/strong>, use the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>. playlist-next  # skip to the next file\n, playlist-prev  # skip to the previous file\n\/ playlist-shuffle  # shuffle the playlist<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Video_Information\"><\/span>Video Information<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You might want to see <strong>video information<\/strong> like its size, frames per second, resolution, and encoding. Use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>i script-binding stats\/display-stats-toggle<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1226\" height=\"704\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/display_stats_in_mpv.jpg?resize=1226%2C704&#038;ssl=1\" alt=\"figure 7: display stats of the video in mpv\" class=\"wp-image-3240\" srcset=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/display_stats_in_mpv.jpg?w=1226&amp;ssl=1 1226w, https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/display_stats_in_mpv.jpg?resize=768%2C441&amp;ssl=1 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">figure 7: display stats of the video<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Start_from_the_Beginning_in_the_Video\"><\/span>Start from the Beginning in the Video<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Sometimes, if you have enabled the flag <code>--save-position-on-quit<\/code> and restart any video, it starts in the middle, and you want to <strong>start from the beginning<\/strong>. Use (I for &#8216;initial&#8217;):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>I seek 0 absolute<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Keybindings_for_Audios_in_Multiple_Languages\"><\/span>Keybindings for Audios in Multiple Languages<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>For videos with multilingual audio, cycle through them using <code>a<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a cycle audio<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Keybindings_for_Setting_Loops_in_MPV\"><\/span>Keybindings for Setting Loops in MPV<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p><strong>Loop in Videos<\/strong>: Using the following configuration, if you press &#8216;r&#8217;, your video will loop infinitely, which is good for short videos (like GIF files) that you want to watch again and again to understand them. You can also loop between two points in a video. Just press &#8216;R&#8217; to set point a and then press &#8216;R&#8217; again to set point b. Now, your video will loop between these two points, A and B.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>R ab-loop\nr cycle-values loop-file \"inf\" \"no\"<\/code><\/pre>\n\n\n\n<p>You can also bind your scripts. To learn more, refer to the script&#8217;s manual. Here is how I have done it. You need to use <code>script-binding<\/code> as shown below:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>C script-binding contact-sheet-toggle<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Configure_MPV\"><\/span>How to Configure MPV<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>As mentioned earlier, MPV is configured in the file <code>mpv.conf<\/code>. A sample <code>mpv.conf<\/code> is available in the <code>\/usr\/share\/doc\/mpv\/<\/code> directory or <a href=\"https:\/\/github.com\/Argon-\/mpv-config\/blob\/master\/mpv.conf\">this official github page<\/a>. Copy and paste what you like.<\/p>\n\n\n\n<p>Some flags\/configurations that I find useful are described below.<\/p>\n\n\n\n<p>All the flags passed to MPV in the command line can be written in the <code>mpv.conf<\/code> too, omitting the need to pass these flags each time you run MPV. For example, <code>--save-position-on-quit<\/code> becomes:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>save-position-on-quit<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Loop_VideosImages_in_MPV\"><\/span>Loop Videos\/Images in MPV<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>When a video is finished, MPV closes the window. I hate this since most of the time, I use MPV for study\/office-related videos and hence want to analyze the video by skipping. I also use MPV to open my images. So, I want images to be displayed continuously unless I quit. So, <strong>run the videos in an infinite loop<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>loop-file=inf<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Volume\"><\/span>Volume<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Setting a <strong>volume of 100%<\/strong> is sensible:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>volume=100<\/code><\/pre>\n\n\n\n<p>This will be applied when you start MPV.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"MPVs_Screenshot_Directory\"><\/span>MPV&#8217;s Screenshot Directory<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>I want MPV to save its screenshots to my computer&#8217;s <strong>screenshot directory<\/strong>. You can set it using <code>screenshot-directory<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>screenshot-directory=~\/Pictures\/screenshots<\/code><\/pre>\n\n\n\n<p>Many times, I use MPV to watch YouTube videos. To set YouTube&#8217;s audio and subtitle language, use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>slang=\"en,eng,en-US,en-GB\"\nalang=en<\/code><\/pre>\n\n\n\n<p>Now, the subtitle will be applied and turned on over all YouTube URLs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"OSD_On_Screen_Display\"><\/span>OSD (On Screen Display)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>MPV uses OSD to display any notification. For example, when you press the key &#8216;o&#8217; while playing any video, you will see the following info:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1074\" height=\"617\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/osd_on_screen_display_in_mpv.jpg?resize=1074%2C617&#038;ssl=1\" alt=\"osd (on screen display) in mpv\" class=\"wp-image-3241\" srcset=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/osd_on_screen_display_in_mpv.jpg?w=1074&amp;ssl=1 1074w, https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/osd_on_screen_display_in_mpv.jpg?resize=768%2C441&amp;ssl=1 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">figure 8: osd (on screen display)<\/figcaption><\/figure>\n\n\n\n<p>Another good example is the notification shown while taking a screenshot.<\/p>\n\n\n\n<p>It is too big for me. So, to set the font size and its location, uncomment and modify the following snippet:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>osd-font-size=14\n# available option: left|center|right\nosd-align-x=left\n# available option: top|center|bottom\nosd-align-y=top\nosd-margin-x=0\nosd-margin-y=0<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Controlling_MPV_Using_IPC_Protocol\"><\/span>Controlling MPV Using IPC Protocol<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You can also send commands to the MPV window from scripts written in any language (bash, python, etc.). This is very cool since I don&#8217;t know JavaScript and Lua but know bash and python. Using this, I wrote many bash scripts for MPV \ud83d\ude0e.<\/p>\n\n\n\n<p>For this, first set an <code>input-ipc-server<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>input-ipc-server=\/tmp\/mpv_socket<\/code><\/pre>\n\n\n\n<p>Now, for example, the following bash command asks the video player for the current subtitle printed on the screen. You can use other bash commands in MPV&#8217;s output. I used it when learning the English language. This way, I noted down the words I did not know and the movie&#8217;s subtitle as a sentence.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;ajay@legion ~]$ echo '{ \"command\": &#091;\"get_property\", \"sub-text\"] }' | socat - \"\/tmp\/mpv_socket\"<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Profiles_in_MPV\"><\/span>Profiles in MPV<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>In MPV, you can create various profiles. In each profile, you can set a different set of configurations.<\/p>\n\n\n\n<p>You can list all the available profiles using the flag <code>--profile=help<\/code>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"968\" height=\"282\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/profiles_in_mpv.png?resize=968%2C282&#038;ssl=1\" alt=\"figure 9: listing profiles in mpv using `--profile=help`\" class=\"wp-image-3242\" srcset=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/profiles_in_mpv.png?w=968&amp;ssl=1 968w, https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/profiles_in_mpv.png?resize=768%2C224&amp;ssl=1 768w\" sizes=\"(max-width: 968px) 100vw, 968px\" \/><figcaption class=\"wp-element-caption\">figure 9: listing profiles in mpv <\/figcaption><\/figure>\n\n\n\n<p>There are some built-in profiles such as those for &#8216;HP Slate 7&#8217; and &#8216;3GP for Nokia 6300,&#8217; and some you can create.<\/p>\n\n\n\n<p>For example, I have created two profiles named &#8220;360p&#8221; and &#8220;720p.&#8221; The first plays YouTube videos in 360p, and the other in 720p; otherwise, MPV plays the videos in their maximum resolution and hogs my whole internet.<\/p>\n\n\n\n<p>To play a video using a profile in MPV, use the <code>--profile<\/code> flag:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;ajay@legion ~]$ mpv --profile=360p 'https:\/\/www.youtube.com\/watch?v=t5Sd5c4o9UM<\/code><\/pre>\n\n\n\n<p>Now, the configurations in the profile will be applied as well.<\/p>\n\n\n\n<p><strong>Syntax<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;profile_configuration&gt;\n...\n...\nprofile-desc=\"any string explaining the profile goes here.\"<\/code><\/pre>\n\n\n\n<p>The <code>profile-desc<\/code> is used for a description displayed in the <code>mpv --profile=help<\/code> command&#8217;s output. The description is also used in bash and <a href=\"https:\/\/smarttech101.com\/zsh-highlighting-autosuggestion-themes-binding-alias-fzf\/#fzftab\">zsh&#8217;s autocompletion<\/a>.<\/p>\n\n\n\n<p>Now, here is how the profile 360p looks like:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ytdl-raw-options='format-sort=\"res:360,+size\",sub-lang=\"en\",write-auto-sub=,yes-playlist='\ndemuxer-max-bytes=1024KiB\ndemuxer-max-back-bytes=2048MiB\nprofile-desc=\"YouTube in 360p\"<\/code><\/pre>\n\n\n\n<p><strong>\ud83d\udcd4 Note<\/strong>: <code>ytdl-raw-options<\/code> is used while playing YouTube videos &#8211; resolution of 360p, subtitle language of English, and others are applied. <code>demuxer-max-back-bytes<\/code> and <code>demuxer-max-bytes<\/code> ensure that only the given MiB\/KiB of videos are downloaded; otherwise, MPV hogs the whole bandwidth to download the complete videos.<\/p>\n\n\n\n<p>Some profiles are automatically applied when you launch MPV. You don&#8217;t need any <code>--profile<\/code>, for example, those related to extension.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;extension.mp3]\nno-resume-playback<\/code><\/pre>\n\n\n\n<p>The configuration snippet ensures that each time any file with the extension mp3 is opened, it doesn&#8217;t honor the <code>save-position-on-quit<\/code> flag and instead starts from the beginning.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Playlist_in_MPV\"><\/span>Playlist in MPV<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>MPV can also work with playlists. You can launch a YouTube playlist (for example) by passing its URL.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;ajay@legion ~]$ mpv 'https:\/\/www.youtube.com\/watch?v=t5Sd5c4o9UM&amp;list=RDt5Sd5c4o9UM&amp;start_radio=1&amp;rv=t5Sd5c4o9UM'<\/code><\/pre>\n\n\n\n<p>After videos are loaded into your playlist, you can press the keys configured above to skip to the next\/previous videos.<\/p>\n\n\n\n<p>A script that I find quite useful is <a href=\"https:\/\/github.com\/mpv-player\/mpv\/blob\/master\/TOOLS\/lua\/autoload.lua\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><code>autoload.lua<\/code>, which automatically loads playlist entries before and after the currently played file.<\/a> It does so by scanning the directory a file is located in when starting playback.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Way_Ahead\"><\/span>Way Ahead<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Now that you know about MPV&#8217;s keybindings and configuration, how about learning new scripts and customizing it further? I am planning to make a new article about this. So stay tuned to my blog for that. Thanks. If you have any queries or suggestions, put them in the comment section below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this comprehensive guide to harnessing the power of the MPV video player, we will delve into key aspects such as keybindings, configuration settings, creating profiles, and managing playlists. Here, I will talk about how to tailor your MPV experience through custom keybindings, fine-tune configurations for optimal performance, create personalized profiles to suit various media types, and seamlessly manage playlists for a fluid viewing experience.<\/p>\n","protected":false},"author":2,"featured_media":3244,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[48],"tags":[64],"class_list":["post-3233","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-desktop-tools","tag-dekstop-tools"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Configure and Use MPV Video Player | SmartTech101<\/title>\n<meta name=\"description\" content=\"Discover MPV video player&#039;s versatile features: keybindings, configuration, profiles, and playlist for a tailored multimedia experience.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Configure and Use MPV Video Player | SmartTech101\" \/>\n<meta property=\"og:description\" content=\"Discover MPV video player&#039;s versatile features: keybindings, configuration, profiles, and playlist for a tailored multimedia experience.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/\" \/>\n<meta property=\"og:site_name\" content=\"SmartTech101\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-16T04:32:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-16T04:35:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/smarttech101.com\/wp-content\/uploads\/2023\/09\/How-to-Configure-and-Use-MPV-Video-Player.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ajay\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ajay_yadav\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ajay\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/\"},\"author\":{\"name\":\"Ajay\",\"@id\":\"https:\/\/smarttech101.com\/#\/schema\/person\/2edfee738a82f9c963210f8cdb438334\"},\"headline\":\"How to Configure and Use MPV Video Player\",\"datePublished\":\"2023-09-16T04:32:34+00:00\",\"dateModified\":\"2023-09-16T04:35:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/\"},\"wordCount\":1772,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/smarttech101.com\/#\/schema\/person\/e8d5aebc510d698e11e9df6291381633\"},\"image\":{\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/How-to-Configure-and-Use-MPV-Video-Player.png?fit=1280%2C720&ssl=1\",\"keywords\":[\"dekstop tools\"],\"articleSection\":[\"Linux Desktop Tools\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/\",\"url\":\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/\",\"name\":\"How to Configure and Use MPV Video Player | SmartTech101\",\"isPartOf\":{\"@id\":\"https:\/\/smarttech101.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/How-to-Configure-and-Use-MPV-Video-Player.png?fit=1280%2C720&ssl=1\",\"datePublished\":\"2023-09-16T04:32:34+00:00\",\"dateModified\":\"2023-09-16T04:35:52+00:00\",\"description\":\"Discover MPV video player's versatile features: keybindings, configuration, profiles, and playlist for a tailored multimedia experience.\",\"breadcrumb\":{\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/How-to-Configure-and-Use-MPV-Video-Player.png?fit=1280%2C720&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/How-to-Configure-and-Use-MPV-Video-Player.png?fit=1280%2C720&ssl=1\",\"width\":1280,\"height\":720,\"caption\":\"How to Configure and Use MPV Video Player\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/smarttech101.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Configure and Use MPV Video Player\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/smarttech101.com\/#website\",\"url\":\"https:\/\/smarttech101.com\/\",\"name\":\"SmartTech101\",\"description\":\"Do Everything in Linux\",\"publisher\":{\"@id\":\"https:\/\/smarttech101.com\/#\/schema\/person\/e8d5aebc510d698e11e9df6291381633\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/smarttech101.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/smarttech101.com\/#\/schema\/person\/e8d5aebc510d698e11e9df6291381633\",\"name\":\"Ajay Yadav\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/smarttech101.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2022\/09\/cropped-ST101_logo.png?fit=180%2C60&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2022\/09\/cropped-ST101_logo.png?fit=180%2C60&ssl=1\",\"width\":180,\"height\":60,\"caption\":\"Ajay Yadav\"},\"logo\":{\"@id\":\"https:\/\/smarttech101.com\/#\/schema\/person\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/smarttech101.com\/#\/schema\/person\/2edfee738a82f9c963210f8cdb438334\",\"name\":\"Ajay\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/smarttech101.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6eea348caae2173954765a7cdf6cd107?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6eea348caae2173954765a7cdf6cd107?s=96&d=mm&r=g\",\"caption\":\"Ajay\"},\"sameAs\":[\"https:\/\/x.com\/ajay_yadav\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Configure and Use MPV Video Player | SmartTech101","description":"Discover MPV video player's versatile features: keybindings, configuration, profiles, and playlist for a tailored multimedia experience.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/","og_locale":"en_US","og_type":"article","og_title":"How to Configure and Use MPV Video Player | SmartTech101","og_description":"Discover MPV video player's versatile features: keybindings, configuration, profiles, and playlist for a tailored multimedia experience.","og_url":"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/","og_site_name":"SmartTech101","article_published_time":"2023-09-16T04:32:34+00:00","article_modified_time":"2023-09-16T04:35:52+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/smarttech101.com\/wp-content\/uploads\/2023\/09\/How-to-Configure-and-Use-MPV-Video-Player.png","type":"image\/png"}],"author":"Ajay","twitter_card":"summary_large_image","twitter_creator":"@ajay_yadav","twitter_misc":{"Written by":"Ajay","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#article","isPartOf":{"@id":"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/"},"author":{"name":"Ajay","@id":"https:\/\/smarttech101.com\/#\/schema\/person\/2edfee738a82f9c963210f8cdb438334"},"headline":"How to Configure and Use MPV Video Player","datePublished":"2023-09-16T04:32:34+00:00","dateModified":"2023-09-16T04:35:52+00:00","mainEntityOfPage":{"@id":"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/"},"wordCount":1772,"commentCount":0,"publisher":{"@id":"https:\/\/smarttech101.com\/#\/schema\/person\/e8d5aebc510d698e11e9df6291381633"},"image":{"@id":"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/How-to-Configure-and-Use-MPV-Video-Player.png?fit=1280%2C720&ssl=1","keywords":["dekstop tools"],"articleSection":["Linux Desktop Tools"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/","url":"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/","name":"How to Configure and Use MPV Video Player | SmartTech101","isPartOf":{"@id":"https:\/\/smarttech101.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#primaryimage"},"image":{"@id":"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/How-to-Configure-and-Use-MPV-Video-Player.png?fit=1280%2C720&ssl=1","datePublished":"2023-09-16T04:32:34+00:00","dateModified":"2023-09-16T04:35:52+00:00","description":"Discover MPV video player's versatile features: keybindings, configuration, profiles, and playlist for a tailored multimedia experience.","breadcrumb":{"@id":"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#primaryimage","url":"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/How-to-Configure-and-Use-MPV-Video-Player.png?fit=1280%2C720&ssl=1","contentUrl":"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/How-to-Configure-and-Use-MPV-Video-Player.png?fit=1280%2C720&ssl=1","width":1280,"height":720,"caption":"How to Configure and Use MPV Video Player"},{"@type":"BreadcrumbList","@id":"https:\/\/smarttech101.com\/how-to-configure-use-mpv-video-player\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/smarttech101.com\/"},{"@type":"ListItem","position":2,"name":"How to Configure and Use MPV Video Player"}]},{"@type":"WebSite","@id":"https:\/\/smarttech101.com\/#website","url":"https:\/\/smarttech101.com\/","name":"SmartTech101","description":"Do Everything in Linux","publisher":{"@id":"https:\/\/smarttech101.com\/#\/schema\/person\/e8d5aebc510d698e11e9df6291381633"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/smarttech101.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/smarttech101.com\/#\/schema\/person\/e8d5aebc510d698e11e9df6291381633","name":"Ajay Yadav","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/smarttech101.com\/#\/schema\/person\/image\/","url":"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2022\/09\/cropped-ST101_logo.png?fit=180%2C60&ssl=1","contentUrl":"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2022\/09\/cropped-ST101_logo.png?fit=180%2C60&ssl=1","width":180,"height":60,"caption":"Ajay Yadav"},"logo":{"@id":"https:\/\/smarttech101.com\/#\/schema\/person\/image\/"}},{"@type":"Person","@id":"https:\/\/smarttech101.com\/#\/schema\/person\/2edfee738a82f9c963210f8cdb438334","name":"Ajay","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/smarttech101.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6eea348caae2173954765a7cdf6cd107?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6eea348caae2173954765a7cdf6cd107?s=96&d=mm&r=g","caption":"Ajay"},"sameAs":["https:\/\/x.com\/ajay_yadav"]}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/09\/How-to-Configure-and-Use-MPV-Video-Player.png?fit=1280%2C720&ssl=1","_links":{"self":[{"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/posts\/3233"}],"collection":[{"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/comments?post=3233"}],"version-history":[{"count":5,"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/posts\/3233\/revisions"}],"predecessor-version":[{"id":3249,"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/posts\/3233\/revisions\/3249"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/media\/3244"}],"wp:attachment":[{"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/media?parent=3233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/categories?post=3233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/tags?post=3233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}