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

How to make mplayer continue after pausing it via a named pipe?

Create a named pipe. mkfifo /tmp/mplayer-control Run it in slave mode mplayer -slave -input file=/tmp/mplayer-control mymusic.mp3 Now in another terminal i can make mplayer pause or quit echo "pause" > /tmp/mplayer-control echo "quit" >…
user7988893
2
votes
2 answers

Is any command to stop and pause the mplayer using the PId

hello friends i am playing mplayer from my qt application using the play button....i have two more buttons called pause and stop....in play button i used system ("mplayer "+s.toAscii()+"&"); where s is the playlist. In the pause button i used…
yamuna mathew
  • 71
  • 1
  • 4
2
votes
1 answer

raspberry use mplayer meet "audio device got stuck"

I want to use the raspberry pi to play audio through the Bluetooth.I google a lot of ways but did not solve the problems I encountered.I use mplayer to play audio, encountered "audio device got stuck" error.
左东旭
  • 21
  • 2
2
votes
0 answers

video timelapse with timestamp overlay

I'm reconstructing a video from a large amount of jepg files. I'd like to keep a trace of original images' timestamp (at least every N minutes) Since there is no mainstream video container format allowing per-frame metadata, I could use a text…
drzraf
  • 451
  • 4
  • 11
2
votes
0 answers

MPlayer -wid not working in Swing JFrame

I'm trying to embed a video with the MPlayer interface in a Javax.Swing JFrame, but I can't get it to work. This is what I've done: Player p = new Player(); p.setTitle("JMPlayer"); p.setVisible(true); …
Fuczi Fuczi
  • 415
  • 1
  • 5
  • 13
2
votes
0 answers

OpenCV outputting blurred/interlaced video using V4L2

I'm trying to read stream in a video feed from an EasyCap (UTV007) device. Running on a Raspberry Pi 3B, with latest Raspbian. Using OpenCV2, and Python 2.7 So far I am able to read in a clear feed when using V4L2 and mplayer with the following…
2
votes
1 answer

Copy displayed picture on a TPanel into a TImage

I've embedded MPlayer video results into TPanel successfully, BUT can't copy TPanel results into a TImage. ONLY the normal picture of TPanel is copied into TImage : Embedding is performed using piping and MPlayer wid command line parameters.…
SAMPro
  • 1,068
  • 1
  • 15
  • 39
2
votes
0 answers

python subprocess communicate with mplayer via bash

I am running this code #!/usr/bin/env python2.7 cmd = "mplayer -slave -input file=/home/user/mplayer-control duha.mp4 -loop 3000" import subprocess process = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE, stdin=subprocess.PIPE) output =…
peter
  • 4,289
  • 12
  • 44
  • 67
2
votes
2 answers

JAVA IPC on Windows

I want to open a named pipe using Java and extract the content of that archive (rar / zip /etc..) to a named pipe, then run Mplayer with the location of that pipe and play the movie. I tried to open IPC in Java using this project CLIPC but, my code…
shay
  • 1,317
  • 4
  • 23
  • 35
2
votes
2 answers

Stream radio using SOCKS in a terminal

I want to listen to the online radio "tunein.com" via terminal, but there is a limitation: the website is blocked on my network, so I have to use proxy to access it. I've set up a SOCKS 5 proxy for this purpose, but I do not know how to use it from…
berlloon
  • 41
  • 6
2
votes
1 answer

MPlayer libavformat/tls_securetransport.c fatal error: Security/Security.h: No such file or directory

I am trying to compile MPlayer with ./configure --enable-gui from mplayer-checkout-2015-05-07 on openSUSE 13.2 (Harlequin) (x86_64). I get the following error: libavformat/tls_securetransport.c:35:31: fatal error: \ Security/Security.h: No such file…
2
votes
1 answer

Video streaming on Android app with motion on Raspberry Pi

I am trying to view a live streaming by motion on my Raspberry Pi through an Android App written with Android Studio...I have compound this code using mplayer: public class MainActivity extends ActionBarActivity implements SurfaceHolder.Callback,…
user3476509
  • 171
  • 10
2
votes
1 answer

How to use ffmpeg to stream x11 via netcat?

These are the commands I'm trying to use Server side: ffmpeg -f x11grab -video_size cif -framerate 25 -i :0.0+10,20 -f avi - | nc -l 1500 Client side: nc 1500 | mplayer -vo x11 -cache 3000 - It seems to be streaming on the server…
alasin
  • 172
  • 3
  • 15
2
votes
1 answer

Terminal giving "Unknown option on the command line: -gf" error with YouTube video streaming script using youtube-dl and mplayer

I have made a bash script where I can stream a YouTube video with youtube-dl and play it with mplayer. I based it on this terminal command: $ mplayer -ontop -cookies -cookies-file ./cookie.txt $(youtube-dl -gf 34 --cookies ./cookie.txt…
user3082122
  • 23
  • 1
  • 4
2
votes
1 answer

use python to split a video file into a set of parts

I use the following python code to split a FLV video file into a set of parts ,when finished ,only the first part video can be played ,the other parts are corrupted.I wonder why and Is there some correct ways to split video files the code format is…
iMath
  • 2,326
  • 2
  • 43
  • 75