Roku BrightSign Manual do Utilizador Página 10

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 26
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 9
10
roVideoPlayer
A Video Player is used to play back video files (using the generic ifMediaTransport Interface). If the
message port is set, the object will send events of type roVideoEvent. All object calls are asynchronous.
That is, video playback is handled in another thread from the script. The script will continue to run while
video is playing. Note that the HD600 will decode a maximum resolution of D1 (DVD Quality). HiDef
video is not able to be decoded. However, the HD2000 will decode to a maximum resolution of
1920x1080 interlaced, including HiDef video. The decoded video will be scaled to the output resolution
specified by roVideoMode.
NOTE:
Windows Media Player files for MPEG2 usually end in “mp2v” or “.mpg” to play in Windows
XP. Note also that to play MPEG2 files in Windows you need to download and install an MPEG2
codec.
Currently only MPEG2 files are supported by BrightSign
Currently all video files must have a 48Khz audio track, even if it is silence.
Currently only non-elementary MPEG2 video files are supported. The audio can be AC3 or PCM.
Interfaces:
ifSetMessagePort
rotVOID SetPort(rotOBJECT obj)
ifAudioControl – see roAudioPlayer for docs
ifVideoControl
rotBOOL SetViewMode(rotINT32 mode)
ifMediaTransport
rotBOOL PlayFile(rotSTRING filename)
rotBOOL Pause(rotVOID)
rotBOOL Resume(rotVOID)
rotBOOL Stop(rotVOID)
rotBOOL Play(rotVOID)
rotBOOL SetLoopMode(rotINT32 mode)
rotBOOL ClearEvents(rotVOID)
rotBOOL AddEvent(rotINT32 userdata, rotINT32 time_in_ms)
rotBOOL StopClear()
The view mode must be set before starting video playback.
view_mode values:
0 - Scale to fill (default). The aspect ratio can alter.
1 - Letterboxed and centered. The aspect ratio is maintained and the video has black borders.
2 - Fill screen and centered. The aspect ratio is maintained and the screen is filled.
Note – SetViewMode is not currently supported on the HD2000
MPEG2 video files are encoded with a specific aspect ratio, and output display resolutions have an aspect
ratio. Video display modes 1 and 2 use these aspect ratios to ensure that the video file aspect ratio is
preserved when it is displayed. The only time that this will fail is when a widescreen monitor displays a 4:3
output resolution such as 800x600 across the whole screen i.e. the monitor doesn't respect the aspect ratio.
Vista de página 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 25 26

Comentários a estes Manuais

Sem comentários