Questions tagged [mplayer]

A freeware, open-source, media player. Available for all major Operating Systems; Linux, UNIX-like systems, Windows, Mac OS X, OS/2, Syllable, AmigaOS, MorphOS and AROS Research Operating System.

Filter by
Sorted by
Tagged with
1 vote
1 answer
4k views

How can I overlay dynamic text on a video during playback?

I am using a spare linux (Ubuntu 10.04) box (os is non-negotiable) to playback videos while riding on a bike trainer. Additionally, I have a bluetooth heart monitor and I'd like to display my realtime ...
2 votes
5 answers
7k views

How to do something like `mplayer movie.mpg` from ssh and it play on the current display?

I've set up a little media center computer running Arch Linux. I want to eventually get it so that there is no keyboard or mouse required. Right now I want the solution to be SSH. My problem is that ...
0 votes
1 answer
87 views

independent rotation of each half of dual fisheye Gear360 video

The Samsung Gear360 2017 records dual-fisheye video. ie. two side-by-side circular images in a black square, one from each lens. mediainfo reports: General [...] Format : MPEG-4 Format ...
1 vote
2 answers
10k views

How to sync two looping videos with mplayer and upd?

I am trying to sync two instances of mplayer with -upd-master and -udp-slave, and notice that the slave staggers for about a second when the master begins the loop anew. I am running debian 7.1 with ...
22 votes
4 answers
23k views

How to disable subtitles?

When I play videos in mplayer it sometimes shows subtitles. How can I turn them off? And can I change mplayer.conf so they are off by default?
5 votes
4 answers
3k views

Is there a better mplayer command line interface, or another good CLI music player? [closed]

I generally prefer to do things on the command line when I can. Mplayer is a great tool for playing all sorts of media, but the command line interface sucks. Some things I'd like to see in a CLI media ...
3 votes
1 answer
304 views

Disable embedded art/cover on music playback in mplayer

folks. Recently I noticed, that console mplayer started to show embedded art/cover during music playback if there are some. Not it just produce a useless window, it will actually somehow heavily load ...
1 vote
0 answers
408 views

How to specify the audio hardware in mplayer?

All the audio card info in my os: ls /dev/snd/ by-id by-path controlC0 controlC1 controlC2 hwC0D0 hwC2D0 pcmC0D3p pcmC0D7p pcmC0D8p pcmC1D0c pcmC2D0c pcmC2D0p pcmC2D1p pcmC2D2c seq ...
0 votes
0 answers
439 views

Raspberry PI as online radio client with Mplayer

Long story short I have created online radio for my client and now I need to create client nodes for the radio. I decided to use Raspberry pi, because its perfect for the job. I installed raspberrian ...
1 vote
0 answers
3k views

How to play a dvd over network with mpv?

How to play a DVD over network with mpv? Playing individual VOB files works with something like: mpv http://1.2.3.4/dvd/VIDEO_TS/VTS_01_1.VOB But playing the entire dvd with any of the following ...
10 votes
3 answers
11k views

get mplayer to start with a default volume other than 25%

I want to configure mplayer conf so that the player's default volume is not 25%. I have to increase the volume via the keyboard with every song/flick. I can only find solutions that simply over-...
10 votes
2 answers
46k views

How to infinite loop every video I play as defaut on MPV player without having to press shift+L hotkey every single time?

I think the title is clear without filling the body. Every time I play new video the inf loop is gone and I need to press shift+L again each time. How to just make this my default setting. As far as I ...
1 vote
2 answers
1k views

Why are subtitles not showing in SMPlayer?

My OS is ubuntu 20.04 LTS and I am using SMPlayer 19.10.2. Randomly some videos do not display subtitles, gives no error when loading subtitle file… Recently, one of the videos that should display ...
0 votes
2 answers
46 views

How to add mp3 inbetween mp3 with ffmpeg - concatenation inbetween

I've 2 mp3 files. a.mp3 is 1000 seconds long and b.mp3 is 10 seconds long. I'd like to add b.mp3 to a.mp3 starting from 50s seconds, so the output will be 1010 seconds long. How can I achieve it with ...
0 votes
1 answer
362 views

mplayer play multiple videos each with -audiofile

I have 10 videos from 01.mkv to 10.mkv and 10 matching external audio tracks. I want to run mplayer to play all videos consecutively, each with matching audio, e.g.: mplayer 01.mkv -audiofile 01.mka ...
113 votes
8 answers
244k views

How to extract one frame of a video every N seconds to an image?

How can I convert a video file to a sequence of images, for example one frame every N seconds. Can mplayer or ffmpeg do this? I have used MPlayer to grab screenshots manually but I would like to ...
50 votes
4 answers
50k views

How can I get the length of a video file from the console?

Suppose we have a video file some_video. How can I get its length from a shell script (with mplayer/transcode/gstreamer/vlc/ffmpeg/whatever)? VIDEO_LENGTH_IN_SECONDS=`ffmpeg .... -i some_video ... | ...
5 votes
3 answers
5k views

Play audio-only file with subtitles, possibly use some still image as stub

Is it possible to make mplayer display subtitles while playing an audio-only file? I've already tried: mplayer filename.mp3 -sub filename.srt but no luck - it just doesn't creates a viewport as ...
1 vote
1 answer
776 views

Mplayer slow to play network stream

I am using mplayer to play a network stream. It works quite well, but there is significant lag before starting up. For example, the following command takes about 5s to start playing. mplayer -loop 0 ...
0 votes
0 answers
511 views

MPlayer doesn't play libopus in TCP MPEG-TS stream by ffmpeg

I'm trying to setup ultra-low p2p streaming using FFMPEG and MPlayer with MPEG-TS stream over TCP. As aac codec introduces notable additional latency, I'd like to use libopus instead. When I do so, ...
1 vote
1 answer
5k views

How do I create a streamable and seekable MP4?

I want to create an MP4 that supports seeking and streaming. DASH appears to be what I want except that the segment seek points are stored in an external file (the MPD) which doesn't work for my ...
0 votes
0 answers
1k views

Play m3u8 file via mplayer having encrypted m4s contents

I have init.mp4, playlist.m3u8 and multiple .m4s files which are encrypted. When I try playing the video via MPlayer playlist.m3u8, it gives error like: MPlayer 1.3.0 (Debian), built with gcc-7 (C) ...
1 vote
2 answers
538 views

Control mplayer ran by xargs

I feed mplayer with file list from another command: beet ls somequery -p | xargs -d '\n' mplayer When invoked this way, mplayer doesn't react on any standard keys, all I can do is to C-c interrupt ...
3 votes
1 answer
507 views

mplayer on windows loading input.conf

I have a copy of mplayer.exe for windows, version Sherpya-SVN-r30369-4.2.5. mplayer makes a directory mplayer within which is a single file, config. I have put options in here for video output and ...
4 votes
2 answers
4k views

What does the at symbol (@) with IPs mean in ffmpeg and vlc?

In vlc, ffmpeg, and mplayer, I see some docs and forum posts that start an IP with an at symbol, e.g., udp://@239.192.1.31:1234. Other times, I see it used to replace localhost, e.g. rtp://@:8005. ...
1 vote
3 answers
7k views

Playing all files in a directory with MPlayer for Windows

Using: mplayer "path\to\media\*.*" doesn't work with MPlayer for Windows. How do I play all files in a directory?
2 votes
1 answer
373 views

Play WEBM music on Debian headless

I'm able to play .mp3, .ogg, .m4a, etc., but .webm does not work. The error I get is: Playing La Caution-Thé à la Menthe Instrumentale.webm. [mkv] Unknown/unsupported audio codec ID 'A_OPUS' for ...
2 votes
1 answer
600 views

How to compile/install mplayer on MacOS with subtitle support?

This is a followup question to this question: In order to play video files with a sub title file on MacOS 10.13.6: How to install mplayer so that I am able to use subtitles (when using the command-...
0 votes
1 answer
249 views

Read and store the last line of the command line output of mplayer

I am writing a program to get the output of the video length played (time in seconds) in mplayer. Usually the output of mplayer is Playing video.mp4. Detected file format: QuickTime / MOV (...
1 vote
1 answer
435 views

Hardware accelerated mplayer does not render movie in Fedora 26

I bought a GPU for my Linux system just to be able to play movies without any glitches and issues of integrated graphics and get rid of messages like your "system is too slow to ...". Then I ...
2 votes
3 answers
7k views

ALSA - no surround playback with mplayer

When I run: speaker-test -c6 ...everything is fine. I get 5.1 playback. However, when I run: mplayer -channels 6 "some video with 5.1 audio" no audio plays. Here is what appears in the terminal:...
1 vote
3 answers
15k views

FLV video has no sound, when played with mplayer, VLC refuses to play it at all

I have downloaded this video http://www.youtube.com/watch?v=CpznCSeqMxw as a flv file. When I now try to play it, mplayer says Audio: no sound and shows the video, but no sound (which is, why I have ...
7 votes
2 answers
10k views

How to make mplayer use subtitles?

I am trying to use subtitles with a mkv file in the following way: mplayer video.mkv mplayer -sub video.srt video.mkv mplayer video.mkv -sub video.srt but only the video did play, but without any ...
2 votes
0 answers
1k views

How to repair/play really broken AVI file

A while back I was recording a video on a webcam using an app that saved the file to disk. Unfortunately the file got a little too large for a 32 bit OS to handle and crashed. I was left with an avi ...
2 votes
1 answer
862 views

Mplayer's synchronization playback not working for more than two videos locally

I'm using Mplayer to playback four (security) videos in sync locally. For the first video, I'm running: mplayer -udp-master -udp-ip 192.168.0.255 1_01_R_072018150000.avi For each of the ...
7 votes
2 answers
3k views

How to save mplayer's output when watching in ASCII mode (with aalib)

I was helping out a friend working on a presentation where he wants to show some videos he has taken but converted to ASCII art. I can do that quite easily with mplayer on a Linux box using aalib (-vo ...
0 votes
0 answers
24 views

Track played second in mplayer

I am using mplayer.js. I want to check no of second my track is played. I have used method gettime() but it gives me 00:00.
4 votes
1 answer
2k views

how to play audio files with crossfading on Linux?

Is it possible to play audio files with a crossfading effect (track i fades out, track i+1 fades in) on Linux? A special case is when a single track is repeated in an endless loop. I'm using mplayer, ...
0 votes
1 answer
92 views

Why does MPlayer and MEncoder crash when opening a non-existant VCD track?

When I run a the command $ mplayer vcd://2 on a VCD, it properly plays the video. However if I run $ mplayer vcd://3 or $ mencoder vcd://3 -audio-preload 0.0 -o file.avi -mc 0 -oac copy -ovc ...
9 votes
3 answers
7k views

Run mplayer from bash in background without extra bash

I would like to watch a movie with mplayer from bash in the background, like I do with all programs and there has never been any problems: mplayer Kick* & if you'd like to see Kickboxer, for ...
0 votes
1 answer
2k views

smplayer doesn't play video when mplayer does

I just installed mplayer with this ppa and smplayer with this one. I put the following in my ~.mplayer/config: vo=vdpau vc=ffh264vdpau,ffmpeg12vdpau, Now, mplayer works like a charm and vdpau is ...
0 votes
1 answer
228 views

MPlayer synchronized network playback issues

My team is trying to play different videos on slave machines. Each video is different but they are supposed to be synchronized in their play time. This is achieved by having a master machine that ...
4 votes
1 answer
1k views

How to set large, 3 minute, audio delay in video MPlayer?

I have a video where sound lags about 3 minutes behind video. I tried both MPlayer and VLC to play it. MPlayer refuses to start with error message: The delay option must be <= 100.000000: 180. ...
3 votes
0 answers
10k views

Extracting subtitles from MKV files with ffmpeg or mplayer

An MKV file containing multiple sets of subtitles refuses to play them on a SmartTV or similar devices, seeing no subtitles at all. mplayer manages the file without problems. Here's what is in the ...
3 votes
0 answers
1k views

Repairing a 3GP file

I was recording a video with my Droid when it froze. The resulting 3gp file was corrupted. I tried playing it in mplayer and VLC. My naive first attempt at repairing it was to try and rebuild a header ...
1 vote
1 answer
1k views

Having trouble reading a YUV video with mplayer/mencoder

I'm making some experiences with the YUV raw video format. This YUV video I created (with ppmtoy4m from mjpegtools, from a series of screenshots taken at 24 fps) plays OK with Totem, correct rate, ...
5 votes
6 answers
2k views

Is it possible to delete an MP3 file currently played in mplayer?

I would like to remove an MP3 file that is currently being played back in mplayer. If possible I would like to do it with an mplayer command. So that I don't have to quit mplayer and delete this file ...
4 votes
1 answer
6k views

Dump/load metadata with FFmpeg (WMA to MP3)

I need to convert WMA metadata into MP3 ID3 tags. FFmpeg should be able to dump them into a file and load them back to another using implemented mappers. I cannot find syntax of usage though: http://...
0 votes
0 answers
269 views

Are there any good mplayer tutorials?

Are there any good mplayer tutorials aimed at newbies? I know about man mplayer, but it's too complex to start from there. Please don't suggest using any mplayer front ends!
5 votes
2 answers
5k views

Get mplayer to display current time in hours and minutes

By default mplayer displays the current location in the video in seconds, which is less than useless. Example: A:4086.2 V:4086.2 A-V: 0.000 ct: 0.039 0/ 0 17% 2% 2.1% 3 0 ^--------^----- ...