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
4
votes
1 answer

Creating a Motion JPEG frame by frame with variable frame-rate

I'm analyzing a number of solutions to the problem that I have in hand: I'm receiving images from a device and I need to make a video file out of it. However, the images arrive with a somewhat random delay between them and I'm looking for the best…
ivarec
  • 2,542
  • 2
  • 34
  • 57
4
votes
1 answer

libcaca - changing ascii glyphs to Katakana

I am creating a video effect that is supposed to look as in "Matrix" movie, but a bit different ("Matrix"-like video output will be mixed with an altered alpha channel with real video, so it will look half real, half with digits). I am using simply…
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…
Fredrik
  • 1,741
  • 4
  • 24
  • 40
4
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
  • 75
  • 1
  • 8
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
  • 171
  • 1
  • 6
4
votes
2 answers

Python: Send command to mplayer under slave mode

I'm trying to send command via pipe to mplayer when running it under slave mode like this: import subprocess, time # start mplayer song = 'mysong.mp3' cmd = ['mplayer', '-slave', '-quiet', song] p = subprocess.Popen(cmd, stdout=subprocess.PIPE,…
kakyo
  • 10,460
  • 14
  • 76
  • 140
4
votes
2 answers

mplayer slave: set volume before starting the playback

I know this is about a specific program (mplayer back-end); however it will be used to program a front-end so I hope it is still considered on-topic on Stack Overflow. I want to run two mplayer slave instances which will be used to fade between…
leemes
  • 44,967
  • 21
  • 135
  • 183
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
  • 315
  • 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
  • 925
  • 2
  • 9
  • 19
3
votes
1 answer

How to batch generate EDL (edit decision list) files for a folder of videos with different run times

How can I skip an exact amount of seconds from the start, and another amount of seconds from the end, for a collection of videos whose durations differ? This is the format for the EDL I am using with kodi 0:00:00 0:01:20. 3 So if the video is…
DnK
  • 31
  • 1
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
  • 488
  • 2
  • 6
  • 21
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
  • 7
3
votes
1 answer

slave mode mplayer pipe

I am loading mplayer in slave mode like this: mplayer -slave -idle -input file=/tmp/pipe the pipe file contains: loadfile /mymusic/1.mp3 Sofar it's running my 1.mp3 as expected. But i want to append seek and pause into the pipe but it doesn't…
TMpic
  • 73
  • 8
3
votes
3 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,329
  • 8
  • 18
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
1
2
3
15 16