|    LINUX    |    Torvalds farts & fans know what he ate    |    8,232 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 6,518 of 8,232    |
|    Maurice Kinal to Johann Sebastian Bach    |
|    the right key at the right time    |
|    15 Aug 20 04:33:08    |
   
   MSGID: 1:153/7001 5f376584   
   CHRS: UTF-8 4   
   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)   
   SEEN-BY: 1/123 90/1 120/340 123/130 226/30 227/114 702 229/101 424   
   SEEN-BY: 229/426 452 616 664 240/5832 249/206 317 400 292/854 317/3   
   SEEN-BY: 322/757 342/200 633/280   
   PATH: 153/7001 757 261/38 320/219 221/1 280/464 229/101 426   
      
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca