mpv播放器基础使用(鼠标,键盘快捷键) 您所在的位置:网站首页 potplayer字幕延迟 mpv播放器基础使用(鼠标,键盘快捷键)

mpv播放器基础使用(鼠标,键盘快捷键)

2023-04-13 16:30| 来源: 网络整理| 查看: 265

mpv播放器基础使用(鼠标,键盘快捷键)

​ mpv是一个开源的命令行视频播放器,支持跨平台。支持详细的配置文件,和脚本的高级特性。并且占用资源比较小十分轻量级。

这个是最近的稳定版本的官方文档https://mpv.io/manual/stable/ 01.帮助信息

在命令行界面输入mpv -h,就会打印出如下的帮助信息

可以看到基础的选项也比较少。但是如果你使用 --list-options 选项,就会打印出一堆选项,估计大多数是要通过配置文件来配置比较方便。所以暂时只要知道这几个基础选项就够用了。

我的需求也很简单,当做ffplay的升级版来用,而且这个软件功能很强大,其实也可以当做potplayer一样当做一个主用的播放器。

mpv -h Usage: mpv [options] [url|path/]filename Basic options: --start= seek to given (percent, seconds, or hh:mm:ss) position --no-audio do not play sound --no-video do not play video --fs fullscreen playback --sub-file= specify subtitle file to use --playlist= specify playlist file --list-options list all mpv options --h= print options which contain the given string in their name 02.键盘快捷键

总结一下常用操作:

我下面总结的表格,主要是在win10下测试成功了,部分快捷键在mac下面是不一样的

快捷键 功能 配置项 ← → 前进/后退5秒,加shift变为移动1秒 --hr-seek ↑↓ 前进/后退60秒,加shift变为5秒 --hr-seek Ctrl+← /→ 切换字幕 sub-seek Ctrl+Shift+← /→ 调整字幕延迟 [/] 减/加10%播放速度 {/ } 减半/加倍播放速度 向前/向后跳转播放列表 p,空格 暂停/播放 ,/. 前/后逐帧播放,点一下移动一帧 q 退出 Q 退出,但保存当前播放位置 / * , 9 0 调整音量 m 静音 - 循环视频轨 # 循环音轨 f 全屏切换 --fs ESC 退出全屏 T 界面置顶切换,置顶后不会被其他界面覆盖 w and W Decrease/increase pan-and-scan range. o (also P) 按住显示进度条 v 显示或隐藏字幕 j/J 切换字幕 z and Z 调节字幕延迟0.1秒 l 设置ab循环点 ab-loop L 切换无限循环 Ctrl + and Ctrl - 调节音轨延迟0.1秒 u 去除字幕样式 --sub-ass-override V Toggle subtitle VSFilter aspect compatibility mode --sub-ass-vsfilter-aspect-compat r and R 调整字幕位置 s 截屏 S 截屏(不截字幕) Ctrl+s 截屏(包含界面) PGUP PGDWN 切换章节 --chapter-seek-threshold Shift+PGUP/PGDWN 后退/前进10分钟 d Activate/deactivate deinterlacer. A Cycle aspect ratio override. Ctrl h 切换硬件加速 Alt+↑↓← → 视频位置调整 Alt + and Alt - 缩放视频 Alt+BACKSPACE 重置视频位置和缩放 F8 显示播放列表 F9 显示视音频stream列表 i and I 显示几秒/切换 详细状态信息显示(1,2,3翻页) Del 调节OSC显示方式(进度条之类的) 1 and 2 对比度调节 3 and 4 明亮度调节 5 and 6 调整伽马Adjust gamma 7 and 8 调节饱和度 Alt+0 50%原视频大小 Alt+1 原视频大小 Alt+2 2倍原视频大小

官方文档贴在下面:

Keyboard Control LEFT and RIGHT Seek backward/forward 5 seconds. Shift+arrow does a 1 second exact seek (see --hr-seek). UP and DOWN Seek forward/backward 1 minute. Shift+arrow does a 5 second exact seek (see --hr-seek). Ctrl+LEFT and Ctrl+RIGHT Seek to the previous/next subtitle. Subject to some restrictions and might not always work; see sub-seek command. Ctrl+Shift+Left and Ctrl+Shift+Right Adjust subtitle delay so that the next or previous subtitle is displayed now. This is especially useful to sync subtitles to audio. [ and ] Decrease/increase current playback speed by 10%. { and } Halve/double current playback speed. BACKSPACE Reset playback speed to normal. Shift+BACKSPACE Undo the last seek. This works only if the playlist entry was not changed. Hitting it a second time will go back to the original position. See revert-seek command for details. Shift+Ctrl+BACKSPACE Mark the current position. This will then be used by Shift+BACKSPACE as revert position (once you seek back, the marker will be reset). You can use this to seek around in the file and then return to the exact position where you left off. < and > Go backward/forward in the playlist. ENTER Go forward in the playlist. p / SPACE Pause (pressing again unpauses). . Step forward. Pressing once will pause, every consecutive press will play one frame and then go into pause mode again. , Step backward. Pressing once will pause, every consecutive press will play one frame in reverse and then go into pause mode again. q Stop playing and quit. Q Like q, but store the current playback position. Playing the same file later will resume at the old playback position if possible. / and * Decrease/increase volume. 9 and 0 Decrease/increase volume. m Mute sound. _ Cycle through the available video tracks. # Cycle through the available audio tracks. f Toggle fullscreen (see also --fs). ESC Exit fullscreen mode. T Toggle stay-on-top (see also --ontop). w and W Decrease/increase pan-and-scan range. The e key does the same as W currently, but use is discouraged. o (also P) Show progression bar, elapsed time and total duration on the OSD. O Toggle OSD states between normal and playback time/duration. v Toggle subtitle visibility. j and J Cycle through the available subtitles. z and Z Adjust subtitle delay by +/- 0.1 seconds. The x key does the same as Z currently, but use is discouraged. l Set/clear A-B loop points. See ab-loop command for details. L Toggle infinite looping. Ctrl + and Ctrl - Adjust audio delay (A/V sync) by +/- 0.1 seconds. u Switch between applying no style overrides to SSA/ASS subtitles, and overriding them almost completely with the normal subtitle style. See --sub-ass-override for more info. V Toggle subtitle VSFilter aspect compatibility mode. See --sub-ass-vsfilter-aspect-compat for more info. r and R Move subtitles up/down. The t key does the same as R currently, but use is discouraged. s Take a screenshot. S Take a screenshot, without subtitles. (Whether this works depends on VO driver support.) Ctrl s Take a screenshot, as the window shows it (with subtitles, OSD, and scaled video). PGUP and PGDWN Seek to the beginning of the previous/next chapter. In most cases, "previous" will actually go to the beginning of the current chapter; see --chapter-seek-threshold. Shift+PGUP and Shift+PGDWN Seek backward or forward by 10 minutes. (This used to be mapped to PGUP/PGDWN without Shift.) d Activate/deactivate deinterlacer. A Cycle aspect ratio override. Ctrl h Toggle hardware video decoding on/off. Alt+LEFT, Alt+RIGHT, Alt+UP, Alt+DOWN Move the video rectangle (panning). Alt + and Alt - Combining Alt with the + or - keys changes video zoom. Alt+BACKSPACE Reset the pan/zoom settings. F8 Show the playlist and the current position in it (useful only if a UI window is used, broken on the terminal). F9 Show the list of audio and subtitle streams (useful only if a UI window is used, broken on the terminal). i and I Show/toggle an overlay displaying statistics about the currently playing file such as codec, framerate, number of dropped frames and so on. See STATS for more information. del Cycles visibility between never / auto (mouse-move) / always ` Show the console. (ESC closes it again. See CONSOLE.) (The following keys are valid only when using a video output that supports the corresponding adjustment.) 1 and 2 Adjust contrast. 3 and 4 Adjust brightness. 5 and 6 Adjust gamma. 7 and 8 Adjust saturation. Alt+0 (and command+0 on OSX) Resize video window to half its original size. Alt+1 (and command+1 on OSX) Resize video window to its original size. Alt+2 (and command+2 on OSX) Resize video window to double its original size. command + f (OSX only) Toggle fullscreen (see also --fs). (The following keys are valid if you have a keyboard with multimedia keys.) PAUSE Pause. STOP Stop playing and quit. PREVIOUS and NEXT Seek backward/forward 1 minute. If you miss some older key bindings, look at etc/restore-old-bindings.conf in the mpv git repository. 03.鼠标控制

左键双击: 切换全屏

右键单击: 暂停

前进后退侧键 播放列表切换

滚轮上下:前进、后退10秒

滚轮左右:音量(没用过这种鼠标)



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

      专题文章
        CopyRight 2018-2019 实验室设备网 版权所有