UMP (Unified Media Platform)

12.14 Using MPlayer and TvTime

 

As mentioned previously in this document, the device offers a wide variety of applications in the Desktop Mode which also includes the default media player for the OSD, MPlayer and the TvTime application. MPlayer is a very powerful application that provides more flexibility than almost any other software media playback application available at the current time, and therefore its complete usage and functionality goes beyond the scope of this document, though some basic information is provided below.

MPlayer

By default all audio and video material and any TV broadcasts are handled by MPlayer in the OSD, though this is hardly apparent due to the way that the OSD communicates with and controls the application. Note that using MPlayer as a stand-alone application is very different to it’s functionality in the OSD.

To launch MPlayer open the QuickMenu in the Desktop Mode and select it from the Multimedia menu or select a media file from a File Manager window. If the file is recognized, MPlayer will be used to play it back. MPlayer is not listed in the Commands Menu of the OSD.

When launching MPlayer, you will see the default blue MPlayer logo in the main window and a small control window located below it. This is referred to as the Control window in this document. MPlayer supports both dragging and dropping a media file into the application’s main window or selecting a file in the Open dialog which can be accessed by right clicking in the main window and selecting ‘Open…’ from the menu.

MPlayer can be operated quite easily, and is optimized for the keyboard (UMP-R-3XX) but can be operated by the remote control (UMP-R-1XX with Mouse Mode enabled) in a limited fashion.

Although MPlayer allows you configure the behavior when certain keys are pressed and its entire list of keyboard shortcuts is beyond the scope of this document, the most commonly used default keys are listed below:

Left/Right Arrow

Seek backward/forward 10 seconds.

Up/Down

Seek forward/backward 1 minute.

PgUp/PgDn

Seek forward/backward 10 minutes.

[ / ]

Decrease/increase current playback speed by 10%.

Here is the continuation of the keyboard shortcuts overview from the previous page.

{ / }

Halve/double current playback speed.

Backspace

Reset playback speed to normal.

< / >

Go backward/forward in the playlist.

Home and End

next/previous play-tree entry in the parent list

Insert / Delete  (ASX playlists only)

next/previous alternative source.

P / Space

Pause (pressing again un-pauses).

.

Step forward. Pressing it will pause playback, then move one frame

Q / Escape

Stop playing and quit.

+ / -

Adjust audio delay by +/- 0.1 seconds.

/ / *

Decrease/increase volume.

9 / 0

Decrease/increase volume.

(  /  )

Adjust audio balance in favor of left/right channel.

M

Mute sound.

_ (MPEG-TS and libavformat only)

Cycle through the available video tracks

# (DVD, MPEG, Matroska, AVI and libavformat)

Cycle through the available audio tracks.

Tab (MPEG-TS only)

Cycle through the available programs.

F

Toggle fullscreen (also see -fs).

T

Toggle stay-on-top (also see -ontop).

W / E

Decrease/increase pan-and-scan range.

O

Toggle OSD states: none / seek / seek + timer / seek + timer + total time.

D

Toggle frame dropping states: none / skip display / skip decoding (see -framedrop and -hardframedrop).

V

Toggle subtitle visibility.

J

Cycle through the available subtitles.

Y / G

Step forward/backward in the subtitle list.

F

Toggle displaying forced subtitles.

 


Here is the continuation of the keyboard shortcuts overview from the previous page.

 

A

Toggle subtitle alignment: top / middle / bottom.

X / Z

Adjust subtitle delay by +/- 0.1 seconds.

R / T

Move subtitles up/down.

I

Show filename on the OSD.

! / @

Seek to the beginning of the previous/next chapter.

Enter

Start playing.

L

Load file.

T

Load subtitle.

C

Open skin browser.

P

Open playlist.

R

Open preferences.

H / K

Select previous/next channel.

N

Change norm.

U

Change channel list.

For more information on MPlayer and its advanced functionality, see the built-in help function, select the MPlayer Help bookmark from the bookmarks menu in the Web Browser (see section 7 of this chapter) or visit the official documentation at the

http://www.mplayerhq.hu/design7/info.html.

TvTime

This application is offered as an alternative for MPlayer when watching TV, though it does not interoperate with the OSD as smoothly as MPlayer and is therefore disabled by default. You can enable TvTime for TV viewing from the OSD by disabling the ‘tv.mplayer’ plugin, and activating ‘tv.tvtime’ in the Web Interface under Plugins -> TV.

TvTime offers more intuitive navigation and control with the mouse (UMP-R-2XX, UMP-R-3XX) than MPlayer, and doesn’t even require a keyboard, once the initial configuration has been completed.


TvTime

Due to TvTime’s extensive mouse support and the fact that the keyboard controls for MPlayer are not mapped to the remote control (UMP-R-1XX), it is the recommended way of watching TV in the Desktop Mode. The mouse (UMP-R-3XX, keyboard is optional) is the recommended input device for TvTime, though the common remote control can be used with Mouse Mode enabled.

If you decide to use TvTime in the OSD, there is one single parameter which only needs to be changed of you wish to add command line syntaxes, or execute a different binary. This parameter is listed under Settings -> All ->Tvtime in the Web Interface.

TVTIME = '/usr/bin/tvtime'

Here you can specify the binary to execute when TvTime is called or add syntaxes.

To launch TvTime open the QuickMenu in the Desktop Mode and select it from the Multimedia menu. TvTime is not listed in the Commands Menu, though it effectively behaves like a command when used in the OSD.

TvTime can be very practical if you want to check whether you can receive signal without configuring the TV_CHANNELS parameter, as it supports automatic channel setup and can be configured entirely independently of the OSD.

Below is a short overview of the commonly used keyboard (UMP-R-3XX) controls for the TvTime application:

Escape or Q

Quit

F1 or Tab

Show menu

Up/Down

Change channels

0-9 and Enter

Change channels

Backspace

Jump to previous channel

I

Change input

M

Mute

+/-

Volume control

F

Fullscreen

S

Take a screenshot

D

Display debug statistics

 

Here is the continuation of the keyboard shortcuts overview from the previous page.

Left/Right

Channel fine-tuning

< / >

Overscan setting

E

Toggle audio mode (stereo/mono/SAP)

A

Change output aspect ratio

R

Renumber current channel

V

Toggle always-on-top with supporting window managers

P

Toggle pulldown detection (NTSC only)

T

Change deinterlacer

=

Change attempted output framerate

F5/F6/F7

Picture settings

C

Toggle closed caption decoding (NTSC only)

Insert

Change matte mode

Due to the fact that TvTime is very comprehensive application, its complete configuration is beyond the scope of this document. For more information on its advanced configuration facilities or functionality, see the built-in Help function or visit the official documentation at http://tvtime.sourceforge.net/usage.html.