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

How to stretch the width of mpv/mplayer by keeping the height of the video same

I have a screen which is in portrait mode and want to play some videos on it using mpv or mplayer on just lower 70% of the screen area. But since the screen is in portrait mode the video (which is also landscape) isnt getting stretched fully width…
vinita
  • 595
  • 1
  • 9
  • 24
0
votes
1 answer

Mplayer - Change track, play/pause with command line

Mplayer provides shortcuts to change the track and play/pause the music but they only work if the mplayer window has the focus. Is it possible, for example, to change the track currently played in mplayer with a command line? In that case, I could…
Zach
  • 600
  • 5
  • 16
0
votes
0 answers

ffplay - specify a input pixel format from UVC cam (via V4L2)

I develop a UVC device that can stream the video but its output format is RGB565, and UVC is not supported RGB. So, I declare my output is YUV422 (also 16 bit per pixel), now I can see my image but its color is incorrect (of course..). Is it…
Lak Fu
  • 165
  • 3
  • 12
0
votes
0 answers

SDL2 won't play with more than 6 audio channels

I am trying to stream (raw) video and audio from a capture device as part of my home media setup (with my pc acting similarly to a receiver in a typical home theatre setup), but the biggest problem I haven't been able to get past is that I haven't…
Hiko Haieto
  • 433
  • 2
  • 9
0
votes
1 answer

Streaming a YouTube playlist on Raspberry Pi and Python

I'm working on a Voice Assistant based on the Raspberry Pi (2 B+), and one of the functions I was looking to integrate was to play my playlist whenever I want it to. I tried out using youtube-dl and mplayer within os.system like so, inspired by this…
Souvik Saha
  • 167
  • 1
  • 1
  • 8
0
votes
1 answer

Using mplayer to extract icy metadata from audio stream (continuously)

I need to extract the ICY metadata from a live audio stream and was looking at doing this using mplayer as this outputs the metadata as it plays the audio stream. I'm open to other ways of doing this, the goal is to have the updated metadata (song…
omega1
  • 1,031
  • 4
  • 21
  • 41
0
votes
2 answers

MPlayer infinity loop with pipe

I'd like to use mplayer to play a video in an infinity loop with no interrupts between. So I tryied it with a mkfifo pipe. Like this one here. mkfifo pipe (cat pipe | mplayer -cache 10000 -cache-min 0 -really-quiet - ) & cat video.avi >> pipe …
YANNlK
  • 3
  • 2
0
votes
3 answers

bash loop over files mysterious bug

Can anyone tell me what's going on here: This: find . -name "*.mp3" | while read fname ; do echo "$fname"; ls -l "$fname"; echo mplayer "$fname" ; echo "$fname" ; done works absolutely fine as far as I can see, but if I actually…
John Lawrence Aspden
  • 17,124
  • 11
  • 67
  • 110
0
votes
1 answer

bash script variable content in cmd line interpreted as filename by mplayer

I have a script for playing movies through mplayer, for which I am attempting to include automatic conversion of 3D to 2D. Here is the relevant cmd line as it appears in the script mplayer -fs "${g[$i]}" -ss $f "${d%.*}".* -hardframedrop…
user985675
  • 293
  • 3
  • 10
0
votes
1 answer

How to view raw yuv files with mplayer?

As raw viewers like Vooya do not work for me on Mint19, I would like to view these files with mplayer. Someone on stackoverflow already asked similar questions, but these anwsers do not work for me too, as my YUV files are not I420. How could I view…
Galaxy
  • 1,129
  • 11
  • 27
0
votes
2 answers

Launch MPlayer in fullscreen mode

I'm trying to open a video in MPlayer in fullscreen mode from a Java application. I'm using the ProcessBuilder class to send the commands to MPlayer. The problem is, when I invoke MPlayer to play the video, nothing happens. It only shows up when I…
Manoel Afonso
  • 47
  • 1
  • 10
0
votes
1 answer

Run mplayer command in background replace &1 with 1

The formal way to run mplayer in background. mplayer some.mkv /dev/null 2>&1 & [3]9536 [3]9536 means pid of the mplayer command is 9536. If i replace &1 with 1 for the above command: mplayer some.mkv /dev/null 2>1 & [4]…
user7988893
0
votes
0 answers

playing audio from websoket using mplayer in python delayed 4 to 5 seconds

I start mplayer on a different process cmdline = ['mplayer', '-noconsolecontrols', '-nocache', '-'] player = subprocess.Popen(cmdline, stdin=subprocess.PIPE, stderr=subprocess.PIPE) I receive the audio data from…
0
votes
0 answers

How to send key press to terminal in Python3?

I'm working on a Python script to use my old rotary phone as input device for a webradio. The dialer is connected by GPIO to a Raspberry Pi3 and launches mplayer to play a station when I dial '1'. When I launch the script form terminal (by ssh) it…
Erik van Elten
  • 405
  • 1
  • 4
  • 10
0
votes
1 answer

Building Mplayer from sources in Linux

I've encountered a problem trying to build Mplayer from sources (svn version). I run 'configure' script with no parameters. It indicates no problems. FFmpeg compiles fine, but the last stage, that is building mplayer,…