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
1
vote
1 answer

How to output the grabbed video into a file with mplayer?

The mplayer command can grab video when to insert usb-camera into usb slot. mplayer -tv driver=v4l2:width=352:height=288:device=/dev/video0 tv:// The video grabed by usb-camera can be displayed on the screen, how to output the grabbed vedio into a…
showkey
  • 482
  • 42
  • 140
  • 295
1
vote
1 answer

Python Subprocess stdout PIPE for mplayer processes

I have written the following code as a frontend for mplayer using tkinter. However, I'm stuck trying to use commands like 'get_time_pos' from mplayer because the answer is very sporadically written into the PIPE. By this I mean that sometimes, it…
g0d
  • 57
  • 1
  • 7
1
vote
0 answers

Gtk# App on Mac -- calling mplayer as a process results in process window being shown

I have a gtk# media player app that is currently working on Windows! Yay! I just got it running on the mac, it uses mplayer for playing of media as a separate process in slave mode. The problem is that even though I am setting the ProcessStyle as…
nbarger27
  • 9
  • 5
1
vote
0 answers

Python streaming with mplayer

Hey everyone this is my first question so I apologize for any formatting errors/ignorance. I'm working on a personal assistant and I want it to stream youtube videos (audio only). I've managed to get it to find the url of the first video of a…
1
vote
1 answer

Process UDP packets and forward them at the same time

I have a question that is very similar to this question, but the solution provided is not working for me. And actually I want to do something a little different, so maybe there's a better way. My hope is to send UDP unicast packets (a video stream)…
Dan
  • 533
  • 8
  • 29
1
vote
2 answers

Play m4a in python script with mplayer

I'm posting to a URL, downloading an audio file (m4a) and trying to play it from the terminal with a Python script. When I type mplayer asdf.m4a in the terminal it plays fine. But when I execute the following code from mplayer import…
Chris Lavan
  • 23
  • 1
  • 4
1
vote
1 answer

python-mplayer not opening mp3 file

Hi Iam trying to build a small audio player, integrating mplayer into python I thought python-mplayer could do the job but I cannot get it to work. Any idea? seems like p.loadfile doesnt work as ps ax shows /usr/bin/mplayer -slave -idle…
Sebastian Heyn
  • 387
  • 3
  • 15
1
vote
1 answer

Stop mplayer thread in django

With a django button, I need to launch multiples music (with random selection). In my models.py, I have two functions 'playmusic' and 'playmusicrandom' : class Player() def playmusic(self, music): if self.isStarted(): self.stop() …
Isador
  • 595
  • 3
  • 10
  • 23
1
vote
0 answers

mplayer and "channel element 1.0 is not allocated"

I use mplayer to watch TV streams via rtmp protocol (rtmpdump|mplayer). I have a problem with playing one stream: mplayer does not play it and writes "[aac @ 0xb614f210]channel element 1.0 is not allocated" into a console. The other streams from…
nostromo
  • 11
  • 2
1
vote
0 answers

FFMpeg UDP streaming - random split video effect

I'm trying to get a simple local preview of my webcam from an FFMpeg udp stream using an embedded Mplayer window. I can view the live stream using MPlayer but the image is unstable. I'm using the following FFMpeg command: ffmpeg -f dshow…
Philmacs
  • 11
  • 1
1
vote
1 answer

Delphi, Handles in TPanel objects

I was reading the source code for tmplayer and MPUI, both media players that use MPlayer as a backend to play media files in Delphi and I noticed here as well as in other older codes that I tried to experiment with that I can't use…
dearn44
  • 3,198
  • 4
  • 30
  • 63
1
vote
1 answer

Using Python 3 on a Raspberry Pi, how to call MPlayer and passing a URL

(This is on a Raspberry Pi B running 2014-09-09-wheezy-raspbian, update and upgrade have been run, mplayer is installed and tested, coding using Python 3) I only dabble in Linux and Pi so I have come to the experts for guidance. Let me start by…
Randy K
  • 65
  • 6
1
vote
0 answers

substitution of 64kbyte binary by 64kbyte silence in endless audio stream on commandline

I try to do some stream manipulation with webradio streams. Goal is to use a pattern in triggerfile to substitute some seconds of the instream to silence in the outstream. I found bbe to possibly fit for that if I could bring something like bbe -e…
0800peter
  • 57
  • 2
1
vote
1 answer

QMP Widget fails to load video in QT5.3

Below is the code I'm using to display the video however when the program starts all that is seen is a black screen. Hopefully someone on stackies has used GMP Widget before, as completely lost what to do now #include "mainwindow.h" #include…
ION
  • 177
  • 1
  • 3
  • 16
1
vote
2 answers

sort, mplayer and xargs

I have a directory full of music files that I want to play in mplayer. I want to play these files in order of their track number which is the forth field (space separated) in their filename. I know I could do something like this: ls | sort -nk4 |…