Questions tagged [mplayer]

MPlayer is a free and open source media player.

The program is available for all major operating systems, including Linux and other Unix-like systems, Microsoft Windows and Mac OS X. Versions for OS/2, Syllable, AmigaOS, MorphOS and AROS Research Operating System are also available. A port for DOS using DJGPP is also available.

237 questions
3
votes
0 answers

I want to make a CLI program asynchronous using nodejs

Specifically I want to have nodejs process running in the background that can spawn child processes (in this case playing music files with mplayer) and then I want to control this from a separate program that doesn't run continuously. So if I run…
olleicua
  • 2,039
  • 2
  • 21
  • 33
3
votes
2 answers

mplayer/VLC video playlist with pauses

Before I start re-encoding a bunch of video files into a single one... Is there a way to create a playlist, in any format supported by either Mplayer or VLC (or both), which instructs the player to pause for N seconds before moving on to the next…
sphakka
  • 457
  • 4
  • 11
3
votes
1 answer

mplayer does not work when Python script run in background

I have a python script that plays some audio files with mplayer. This is how I call mplayer in the code: subprocess.call(["mplayer","-msglevel","all=-1",audiofile]) it works fine if I run the script in foreground... However if I run the script in…
fis83
  • 33
  • 3
3
votes
1 answer

How to change title of MPlayer window?

Can I change title of MPlayer window? I play a video with this command: mplayer pinguin.mpg
Dmitro
  • 1,489
  • 4
  • 22
  • 40
3
votes
1 answer

init.d: starting mplayer via "start-stop-daemon"

with an Ubuntu machine I'd like to run MPlayer like a daemon. In foreground the following configuration is exactly what I need: mplayer -slave -idle -input file=/tmp/mplayercontrol. Now, I wrote the following script: # /etc/init.d/mplayerd ### BEGIN…
Fabio Mora
  • 5,339
  • 2
  • 20
  • 30
3
votes
1 answer

How to read/open files with space in name

I'm trying to develop a server for mplayer using Java but I can't open files that have spaces in name (e.g. "File with space.mp3"). I'm following this tutorial here. The problem is, every time I try to open a file with spaces in name the…
keysuke
  • 97
  • 1
  • 1
  • 9
3
votes
5 answers

Get current playing file in MPlayer slave mode

Problem: I can't find any way to reliably get the current playing file in an MPlayer playlist. Here is how far I have gotten. This working ash script monitors a text file with the path to the current playlist. When I update the file, the script…
fodder
  • 181
  • 3
  • 10
3
votes
2 answers

How can I get the stop position in mplayer when I quit?

If I have a script that plays a file using mplayer and I stop the playback half way through, is there a way to store the playback position where it stopped?
Tomcomm
  • 233
  • 2
  • 6
  • 16
3
votes
1 answer

How to check whether mplayer plays a file or not?

I am trying to check if mplayer is playing an mp3 file. I currently use this line from python strace -p " + str(mplayer.pid) + " 2>&1 | head -n 200 | grep 'read(3' That is because I know that mplayer makes system calls when reading file from…
Vintage
  • 238
  • 1
  • 2
  • 13
2
votes
1 answer

determine video file's (typical?) keyframe frequency

Is there any way to use common tools (ffmpeg? mplayer/mencoder? mkvmerge? etc) to find how often keyframes appear in a given video file? {and thereby finding the minimum seek size?} It seems like such an obvious statistic that there "must" be some…
pdkl95
  • 187
  • 1
  • 10
2
votes
1 answer

mpylayer, PyQt4 and lineEdit

Consider the minimal example below. It works perfectly until I uncomment the following lines: # self.mainwi = QtGui.QWidget(self) # self.lineEdit1 = QtGui.QLineEdit(self.mainwi) # self.setCentralWidget(self.lineEdit1) If those lines are…
student
  • 1,636
  • 3
  • 29
  • 53
2
votes
2 answers

How To playback to memory with mplayer

I need to embed a video player into my program (C++) but I cannot use XEmbed, because I must do some postprocessing. Is it possible to write the output as a raw RGB to a buffer of memory like you can do with ffmpeg?
Alessandro Pezzato
  • 8,603
  • 5
  • 45
  • 63
2
votes
2 answers

Unicode problems with Emacs EMMS and mp3info/mplayer

I have a problem with my Emacs-emms configuration. It seems that the Unicode special characters in the songs ID3tags appear with their unicode not rendered. For example, Trentemøller (music band) appears as Trentem\370ller. It seems it comes from…
user556433
2
votes
1 answer

How to loop the video on mplayer with Raspberry Pi?

I'm currently trying to play a video clip using a Raspberry Pi with 3.5-inch touch display. I know that omxplayer has the function to make it loop, but from some reason omxplayer can't play my video on 3.5inch LCD display. So I have only the option…
m-1127
  • 21
  • 2
2
votes
2 answers

Address of a Global Variable in the Heap Address Range

I was debugging the MPlayer-1.3.0 source code, and I saw a global variable whose address (returned by GDB or even simple printing) was in the range for the heap allocations, instead of the data section. I checked the heap range using…
TheAhmad
  • 810
  • 1
  • 9
  • 21
1 2
3
15 16