MPlayer scripts


0. Contents

   1. Purpose
      1.1. Launching mplayer
      1.2. Listing the playing history
      1.3. Picking a suitable video mode
   2. Downloading

1. Purpose

Utilities for using MPlayer in the Linux framebuffer console.

1.1. Launching mplayer

# mplay Naruto\ -\ 13\(sub,a1\).avi
That's it. At the end it lists the playing history.

1.2. Listing the playing history

mplayfilt lists which parts of the video were played, like this:
Played pos: 0.1 - 3.7
Played pos: 26.4 - 26.4 - up 22.7
Played pos: 47.4 - 47.5 - up 21.0
Played pos: 52.8 - 53.4 - right 5.3
Played pos: 61.0 - 61.4 - right 7.6
Played pos: 82.0 - 82.0 - up 20.6
Played pos: 102.0 - 102.8 - up 20.0
Played pos: 82.0 - 84.9 - down -20.8
Played pos: 90.1 - 90.7 - right 5.2
Played pos: 82.0 - 181.0 - left -8.7
Paused
Played pos: 181.3 - 340.5

This is useful if you wish to locate a part to copy to another avi file (mencoder -ss # -endpos #), and a lot cleaner than dumping the whole output of mplayer anyway.

1.3. Picking a suitable video mode

mplaymode reads /etc/fb.modes and picks the most suitable screen mode (least blank, highest vrefresh) to play a video fullscreen.
Usage: mplaymode <xres> <yres>

2. Downloading

Downloading help

  • Do not download everything - you only need one file (newest version for your platform)!
  • Do not use download accelerators or you will be banned from this server before your download is complete!

Date (Y-md-Hi) acc        Size Name                
2002-1229-2119 r--        4644 mplayscript-1.0.0.tar.bz2
Back to the source directory index at Bisqwit's homepage