← 返回命令列表

Linux command

mpv 命令

网络

需要网络或远程资源。

常用示例

Play video file

mpv [video.mp4]

Play audio file

mpv [audio.mp3]

Play fullscreen

mpv --fullscreen [video.mp4]

Play from URL

mpv "[https://example.com/video.mp4]"

Loop playback

mpv --loop [video.mp4]

Set start time

mpv --start=[00:01:30] [video.mp4]

Play without video

mpv --no-video [file.mp4]

Specify audio device

mpv --audio-device=[pulse] [file]

说明

mpv is a modern media player based on MPlayer and mplayer2. It plays video and audio. The tool supports many formats. Scriptable with Lua and JavaScript. Highly configurable.

参数

--fullscreen
Start in fullscreen.
--loop
Loop playback infinitely.
--start _TIME_
Start at specified time.
--no-video
Audio only mode.
--volume _LEVEL_
Set volume percentage.
--help
Display help information.

FAQ

What is the mpv command used for?

mpv is a modern media player based on MPlayer and mplayer2. It plays video and audio. The tool supports many formats. Scriptable with Lua and JavaScript. Highly configurable.

How do I run a basic mpv example?

Run `mpv [video.mp4]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --fullscreen do in mpv?

Start in fullscreen.