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.

233 questions
4
votes
2 answers

Python: Parse stream title with mplayer

I'm writing a simple frontend in Python to play and record internet radio channels (e.g. from shoutcast) using mplayer (in a subprocess). When a user clicks a station the following code is run: url = http://77.111.88.131:8010 # only an example cmd…
frigg
  • 1,479
  • 4
  • 20
  • 38
4
votes
1 answer

Avoiding visual artifacts when embedding MPlayer in PyGTK

I'm trying to create a basic PyGTK app to embed MPlayer inside a window (since it otherwise doesn't work well with tiling WM's, which I like). I'll put my code so far at the end of this post, but basically my setup currently involves a Window…
12qu
  • 161
  • 1
  • 6
4
votes
1 answer

Linux tee command with multiple fifo. fifo blocks tee

I am trying to develope one program to play and record some rtmp streames. The program is developed in Qt. i am using the rtmpdump and mplayer. since both are running in seperate process, i am using a fifo to pass the stream from rtmpdump to…
user937065
  • 41
  • 4
4
votes
1 answer

MPlayer: change sound pitch and speed independently

I have spent some time experimenting with MPlayer slave mode protocol: in a custom application I have two controls: one for changing pitch and one for changing speed. This is easy to implement using the scaletempo filter and *speed_set* /…
andrei
  • 265
  • 3
  • 7
3
votes
2 answers

How do I create an EDL (Edit Decision List) file using SMPlayer

I'm trying to find out how to create a .edl (Edit Decision List) file using SMPlayer. I know how to do it using mplayer (i.e. mplayer -edlout file.edl). But I can't figure it out for SMPlayer. All I could find is how to play a video using an .edl…
Matt
  • 895
  • 1
  • 9
  • 19
3
votes
1 answer

Subprocess.Popen stops ( or malfunctions) after a few seconds

I am a complete beginner so apologies for any mistakes. This is my code in Python 3.5. It executes in Raspbian on a Raspberry Pi 3. import subprocess radio = subprocess.Popen(["mplayer",…
Rinogg
  • 136
  • 7
3
votes
3 answers

How do I get a MP3 file's details (like the author, title, album, year, etc.) with not too complicated coding?

I just want a simple piece of code that can give me the author, album, year, title and genre from a mp3 file. If one can, in the form of variables so that I can work with that. All I want to do is let this information show in a label. Eg. lblArtist,…
Armand Maree
  • 478
  • 1
  • 6
  • 19
3
votes
1 answer

How does MPlayer recognize an MJPEG stream?

Since MJPEG over http consists basically on the transmission of a series of JPEG images seperated by a defined seperator, how does MPlayer recognize that it is an MJPEG stream? Thank you
Emy
  • 45
  • 6
3
votes
2 answers

Reading console output from mplayer to parse track's position/length

When you run mplayer, it will display the playing track's position and length (among some other information) through, what I'd assume is, stdout. Here's a sample output from mplayer: MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team Cannot…
xfx
  • 1,260
  • 6
  • 17
3
votes
1 answer

mplayer.py works fine in interactive python shell, but not in script

File playing normaly in python shell. Same code in script not playing, but getting right duration. What is wrong? >>> import mplayer >>> p = mplayer.Player() >>> p.loadfile('announce_vlad.wav') Script: import mplayer p =…
user4968
  • 33
  • 3
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

mplayer failing to play on-line .pls files when started from cron

I've built a system using a Rasberry Pi and a piFace. Push buttons are used to naviagate a menu system and select various options. These include playing (using mplayer) locally stored mp3 and m4a files and streaming audio from remote sites in mp3…
KirbyJames
  • 55
  • 1
  • 8
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,359
  • 4
  • 19
  • 39
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
  • 4,939
  • 2
  • 16
  • 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
  • 8
1
2
3
15 16