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.

151 questions
110
votes
8 answers

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 automate this for a long video.
Liam
  • 2,970
  • 5
  • 29
  • 34
41
votes
4 answers

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 ... | grep -o .....`
Vi.
  • 16,755
  • 32
  • 111
  • 189
22
votes
4 answers

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?
Colonel Panic
  • 12,303
  • 21
  • 63
  • 81
11
votes
4 answers

Is it possible to completly remove Ubuntu's video player "totem"?

To watch videos, I use Mplayer, which works great. But Ubuntu insists on playing every video file it encounters with "Totem", which I guess is a video player. I use linux primarily on my laptop, and often on travels, where I have no internet…
Manu
  • 2,981
  • 9
  • 50
  • 73
10
votes
3 answers

Keep mplayer open after video playback

Is it possible to make mplayer freeze in the last frame of the video instead of closing? I am using CLI version of mplayer in linux.
André Puel
  • 295
  • 3
  • 9
10
votes
3 answers

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-pushing the soundcard...
nato
9
votes
3 answers

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 example. But, this doesn't bring up the window, instead it…
Emanuel Berg
  • 509
  • 6
  • 11
8
votes
2 answers

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 know there is no configuration in this program.…
galih_ken
  • 91
  • 1
  • 1
  • 3
7
votes
1 answer

mplayer - Scale video to window size

When I open a video with mplayer2 it "scales" to my window size. E.g. The original being 720p. When I open the same file with mplayer it displays the video in its default resolution it seems, only cropped: I read the manual page and tried the…
Alex
  • 2,036
  • 4
  • 22
  • 33
7
votes
2 answers

Why is VLC slower than MPV/MPlayer?

Every time I try to seek a local video with VLC, there is a noticable lag, as opposed to MPlayer/MPV, no matter what "ultrafast" x264 presets or loop filter skipping is used. What's the fundamental reason for that?
user216280
7
votes
1 answer

mplayer fontconfig annoyance on windows

The mplayer build I use on windows reloads the font cache every time I restart my computer. I found out the cause of this is that I clear the temp dir on restart and it keeps the font cache there. I wondered: how to make mplayer do not always reload…
n611x007
  • 6,336
  • 14
  • 61
  • 88
7
votes
2 answers

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 aa). But that only plays the movie, transcoding…
danakim
  • 203
  • 1
  • 3
  • 5
7
votes
2 answers

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 subtitles. I also pressed several buttons while…
Alex
  • 570
  • 4
  • 31
  • 60
5
votes
2 answers

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 ^--------^----- This is the current location in seconds. Well, so…
enigmaticPhysicist
  • 683
  • 1
  • 8
  • 23
5
votes
6 answers

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 with rm or open another terminal and delete the…
mabalenk
  • 153
  • 2
  • 6
1
2 3
10 11