TIP: Click on subject to list as thread! ANSI
echo: linux
to: JOHANN SEBASTIAN BACH
from: MAURICE KINAL
date: 2020-08-15 04:33:00
subject: the right key at the righ

Hey Johann!

Without xorg (and friends) libraries;

-={ ':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
-={ ':read !mplayer -vo help' ends }=-

With xorg (and some friends) libraries;

-={ ':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
-={ ':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)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.