MPlayer
MPlayer is an open source media player that runs entirely from the command line and plays virtually any audio or video format without requiring external codec packs. It ships with its own decoders built on FFmpeg and supports local files, network streams, DVDs, and subtitle overlays, all controlled through terminal commands and keyboard shortcuts.
What it does
Type mplayer file.mp4 and playback starts in a new window. Press space to pause, q to quit, arrow keys to seek. MPlayer decodes hundreds of formats internally, including H.264, HEVC, AVI, MKV, FLAC, Ogg Vorbis, and legacy codecs that modern players sometimes drop. It handles network streams just as easily: pass an HTTP, RTSP, or MMS URL as the argument and MPlayer buffers and plays it live. For DVD playback, mplayer dvd://1 launches the first title from a disc.
Subtitles load with the -sub flag followed by the SRT or SSA file path. Video filters apply through -vf: brightness and contrast adjustments, rotation, cropping, deinterlacing. The -speed flag changes playback rate from 0.1x to 100x, which is practical for transcribing audio or skimming through long recordings. MPlayer can also extract audio from video files to WAV using -ao pcm:file=output.wav -novideo, functioning as a lightweight extraction tool.
Advantages
- Plays almost every audio and video format without installing additional codecs
- Lightweight and scriptable, ideal for automation and server environments
- Runs on Windows, Linux, macOS, and BSD with the same command syntax
- No graphical interface overhead means it starts and responds instantly
Drawbacks
- No graphical interface at all, requiring all interaction through terminal commands
- Development has largely shifted to the mpv fork, which receives more frequent updates
- Configuration requires editing a text file (mplayer.conf) rather than using a settings menu
- No playlist management, media library, or built-in file browser
Who it is for
I keep MPlayer installed on headless Linux machines where I need to test audio output or extract tracks from video files through SSH. It plays things that other players refuse to open, and it does so without pulling in large GUI frameworks or codec dependencies. If you work in the terminal regularly, enjoy scripting media tasks, or maintain servers, MPlayer fits naturally into that workflow. For anyone who expects a visual interface with playlists and library management, mpv or VLC will be a better starting point.
Frequently Asked Questions
Is MPlayer free?
Does MPlayer have a graphical interface?
What is the difference between MPlayer and mpv?
Can MPlayer play network streams?
Features & How-To Guide
| # | Feature | How to use |
|---|---|---|
| 1 | Video file playback from terminal | mplayer file.mp4 › Enter › Playback starts in new window › Space=pause › Q=exit › Arrows=seek. |
| 2 | Audio file playback from terminal | mplayer file.mp3 › Enter › Audio playback without video window › Space=pause › Q=stop › 9/0=volume quieter/louder. |
| 3 | DVD disc playback | mplayer dvd://1 › Enter › Plays first title from DVD disc. dvd://1 -chapter 3 › Starts from chapter three. |
| 4 | Adding movie subtitles 2 | mplayer movie.mkv -sub subtitles.srt › Enter › Subtitles displayed at bottom of image. -subcp cp1250 sets Polish character encoding. |
| 5 | Network stream playback | mplayer http://stream-address.mp3 or mplayer rtsp://address › Enter › MPlayer buffers and plays live audio/video stream. |
| 6 | Capture video frame to image | mplayer movie.mp4 -ss 01:23:45 -frames 1 -vo png › Saves single frame from given moment as PNG file. |
| 7 | Audio playback with speed control | mplayer file.mp3 -speed 1.5 › Plays at 1.5x speed. Useful for podcasts and audiobooks. Range from 0.1x to 100x. |
| 8 | Audio output redirection to file | mplayer file.mp4 -ao pcm:file=output.wav -novideo › Extracts audio track from video and saves as WAV file. |
| 9 | Video filter application | mplayer movie.mp4 -vf eq2=1.2:1.1:0:1.0 › Adjusts brightness/contrast/gamma. -vf rotate=1 rotates image by 90 degrees. |
| 10 | Change video aspect ratio | mplayer movie.avi -aspect 16:9 › Forces screen aspect ratio. Useful when file has incorrect aspect metadata. |
Related software categories
Similar Programs
Questions & Answers
Ask a Question
Our team and community are happy to help
No questions yet. Be the first to ask!