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
115
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
  • 3,150
56
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.
  • 17,755
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,549
17
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
  • 181
11
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
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
  • 3,050
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.
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…
8
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 - 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,106
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,566
  • 15
  • 67
  • 91
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
6
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
  • 387
6
votes
3 answers

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 soon as it sees that there is no video. -vo x11…
vdudouyt
  • 161
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…
1
2 3
10 11