User Tools

Site Tools


moviebox

MovieBox

The Qt documentation in C++ of this class can be read here: http://doc.trolltech.com/4.4/phonon.html

It contains useful functions for multimedia applications.

Implemented since KBasic V1.7.

Important It contains all functionality of Sound. For playing a video manually call Play.

KBasic does not implement the multimedia functionality itself, but relies on a backend to manage this. The backends do not manage the hardware directly, but use intermediate technologies: QuickTime on Mac, GStreamer on Linux, and DirectShow (which requires DirectX) on Windows.

The user may add support for new MIME types and effects to these systems, and the systems abilities may also be different. The support for multimedia MIME types, and audio effects in KBasic will therefore vary from system to system.

If you get an error message, while trying to play a movie on windows, you can determine the problem by looking at the Error and Success Codes of Microsoft DirectShow 9.0: http://msdn.microsoft.com/en-us/library/ms783645(VS.85).aspx

PROPERTIES

(Brightness)

Property Brightness As Integer (ReadWrite)

Sorry. Not implemented yet.


(Contrast)

Property Contrast As Integer (ReadWrite)

Sorry. Not implemented yet.


(Hue)

Property Hue As Integer (ReadWrite)

Sorry. Not implemented yet.


(Saturation)

Property Saturation As Integer (ReadWrite)

Sorry. Not implemented yet.


ScaleMode

Property ScaleMode As String (ReadWrite)

Possible values are

  • FitInView
  • ScaleAndCrop

AspectRatio

Property AspectRatio As String (ReadWrite)

Possible values are

  • AspectRatioAuto
  • AspectRatioWidget
  • AspectRatio4_3
  • AspectRatio16_9

moviebox.txt · Last modified: 2013/04/09 22:57 (external edit)