From Maurice Kinal@1:153/7001 to Johann Sebastian Bach on Saturday, August 15, 2020 04:33:08
Hey Johann!
Without xorg (and friends) libraries;
-={ '<Esc>:read !mplayer -vo help' starts }=-
MPlayer 1.4-10.2.0 (C) 2000-2019 MPlayer Team
Available video output drivers:
fbdev Framebuffer Device
fbdev2 Framebuffer Device
v4l2 V4L2 MPEG Video Decoder Output
cvidix console VIDIX
null Null video output
mpegpes MPEG-PES to DVB card
yuv4mpeg yuv4mpeg output for mjpegtools
png PNG file
jpeg JPEG file
tga Targa output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame
-={ '<Esc>:read !mplayer -vo help' ends }=-
With xorg (and some friends) libraries;
-={ '<Esc>:read !mplayer -vo help' starts }=-
MPlayer 1.4-10.2.0 (C) 2000-2019 MPlayer Team
Available video output drivers:
vdpau VDPAU with X11
xv X11/Xv
gl_nosw OpenGL no software rendering
x11 X11 ( XImage/Shm )
xover General X11 driver for overlay capable video output drivers
gl OpenGL
gl_tiled X11 (OpenGL) - multiple textures version
dga DGA ( Direct Graphic Access V2.0 )
fbdev Framebuffer Device
fbdev2 Framebuffer Device
matrixview MatrixView (OpenGL)
v4l2 V4L2 MPEG Video Decoder Output
xvidix X11 (VIDIX)
cvidix console VIDIX
null Null video output
mpegpes MPEG-PES to DVB card
yuv4mpeg yuv4mpeg output for mjpegtools
png PNG file
jpeg JPEG file
tga Targa output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame
-={ '<Esc>:read !mplayer -vo help' ends }=-
No skins for the gui version but as long as gtk+2 is available they can easily be added. However if I do use mplayer in xorg I just use the same commandline as I do on the 'linux' terminal except with the '-vo xv' or '-vo x11' or ... switch on an xterm commandline. Also all this can be scripted out in bash to make it more powerful of an app. For example I have a bash script with a 'scan' line (<- requires ffmpeg) that determines the size of a fullscreen output on the 'linux' terminal;
aspect_ratio=$(ffprobe -v error -select_streams v:0 -show_entries stream=display_aspect_ratio -of csv=s=x:p=0 $1)
if [ "$aspect_ratio" == "4:3" ]
then
Resolution=1440
else
Resolution=1920
fi
$1 in the above is the movie to be played. The resolutions in this case needs to be adjusted for whatever the maximum resolutions are for the machine's display. It works great for '-vo fbdev2' on the 'linux' terminal commandline for a widescreen monitor.
As you've said; Touch the right key at the right time and the instrument will play itself. Yes indeed.
Life is good,
Maurice
... Don't cry for me I have vi.
--- GNU bash, version 5.0.18(1)-release (x86_64-pc-linux-gnu)
* Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)
Who's Online
Recent Visitors
Tddybear Monday, January 13, 2025 10:30:50
from Jackson, Michigan
via Telnet