Videos Specification
The Video application manages and plays various types of video files.
The available files are listed using the Qtopia document model.
The videos are categorized and information about the files is displayed.
Features
Supported Formats
Videos supports a range of video formats including:
Scanning for Video Documents
Video files are searched for in the following locations:
- Directories returned by QPEApplication::documentDir()
- All mounted file systems returned by Storage::fileSystems() where the
file system is for a removable media device (for example SD cards, CF cards)
As files are found, they can be filtered and listed according to
the user's selection of a category.
Re-scanning takes place when the program is notified of document changes.
Events that cause an update of the listed files are:
- Another application or process changes a property of an existing document.
- A document is added or removed.
- A removable storage card is inserted or removed and the corresponding
filesystem is mounted or unmounted.
Video Documents List
- Sort - the list of video files can be alphabetically sorted.
- Up/Down - the displayed list can be re-ordered by the user.
- Category - files in the list can be added to a Category.
- Add to Category - categories can be used to sort videos
into different collections in order to create virtual playlists.
- Users can therefore add files to a category as well as switch to
different category views.
- Properties - individual video properties can be displayed and edited, including:
- The document name
- Category associations
- The media codec information, including codec, bitrate and so on, can be displayed.
Playing Video Files
When a video file is selected from the list for playing,
the appropriate decoder plugin is found and initialized with the file to be played. The
application then displays the user interface in order to provide user control of the file's playback.
Different decoder plugins can be installed in the system and detected by the player.
Video files are also played when selected
from the documents list of the Qtopia Launcher. When launched from the documents
list the player user interface is immediately displayed and the scanning for documents is avoided.
Playback Options
When a video file is selected and played the user is able to perform the following
operations:
- Pause - halt the playback at the current position.
- Resume - continue playback from the current position.
- Fast forward / Rewind - move the slider or press the forward or backward buttons
to move the position in the file to a position earlier or later in the video.
- Previous / Next video - to skip to a previous or later video allowing movement
forwards and backwards through the video list.
- Looping - allows the same video to be played once or repeatedly (until stopped).
- Fullscreen - the video can be displayed in fullscreen mode either by tapping
or clicking on the video pane, or as an option in a menu.
- Volume - the volume can be adjusted while the video is playing.
Playback Keypad Support
For keypad phones hardware keys are mapped to player actions. During playback of a video the following mappings are used:
- Key-Up - increases the volume of the video.
- Key-Down - decreases the volume of the video.
- Key-Select - Pause/Resume play of the video.
- Key-Left - if held for greater that a few hundred milliseconds, the player seeks forward
through the video, otherwise it plays the next video.
- Key-Right - if held for greater that a few hundred milliseconds, the player seeks backwards through the video, else it plays the previous video.
Playback Status
When a video file is played the following information, if available, is displayed:
- Video duration
- Current position in the video
Copyright © 2005 Trolltech
| Trademarks
| Qtopia version 2.2.0
|