QtMultimedia: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Decode HTML entity names)
(Table layouts)
Line 1: Line 1:
{{Cleanup | reason=Auto-imported from ExpressionEngine.}}
 


'''English''' [[QtMultimedia_Turkce|Türkçe]]
'''English''' [[QtMultimedia_Turkce|Türkçe]]
Line 9: Line 9:
== Chart of backend completeness by platform ==
== Chart of backend completeness by platform ==


{background:#009900}. |''. Interface |''. AVFoundation|''. QuickTime 7 |''. DirectShow |''. WMF |''. GStreamer |''. Android |''. Blackberry |
 
|[[Doc:QAudioDecoderControl]] | | | | | | | |
{| border="1"
|[[Doc:QAudioEncoderSettingsControl]] | | | | | | | |
|- style="background-color:#00BB00;"
|[[Doc:QAudioInputSelectorControl]] | yes | | | | | | |
! Interface  
|[[Doc:QAudioOutputSelectorControl]] | | | | | | | |
! AVFoundation
|[[Doc:QCameraCaptureBufferFormatControl]] | | | | | | | |
! QuickTime 7  
|[[Doc:QCameraCaptureDestinationControl]] | | | | | | | |
! DirectShow  
|[[Doc:QCameraControl]] | yes | | | | | | |
! WMF  
|[[Doc:QCameraExposureControl]] | | | | | | | |
! GStreamer  
|[[Doc:QCameraFeedbackControl]] | | | | | | | |
! Android  
|[[Doc:QCmaeraFlashControl]] | | | | | | | |
! Blackberry  
|[[Doc:QCameraFocusControl]] | | | | | | | |
|-
|[[Doc:QCameraImageCaptureControl]] | yes | | | | | | |
|[[Doc:QAudioDecoderControl]] || || || || || || || |
|[[Doc:QCameraImageProcessingControl]] | | | | | | | |
|-
|[[Doc:QCameraLocksControl]] | | | | | | | |
|[[Doc:QAudioEncoderSettingsControl]] || || || || || || || |
|[[Doc:QCameraViewFinderSettingsControl]] | | | | | | | |
|-
|[[Doc:QCameraZoomControl]] | | | | | | | |
|[[Doc:QAudioInputSelectorControl]] || yes || || || || || || |
|[[Doc:QImageEncoderControl]] | | | | | | | |
|-
|[[Doc:QMediaAudioProbeControl]] | | | | | | | |
|[[Doc:QAudioOutputSelectorControl]] || || || || || || || |
|[[Doc:QMediaAvailabilityControl]] | | | | | | | |
|-
|[[Doc:QMediaContainerControl]] | | | | | | | |
|[[Doc:QCameraCaptureBufferFormatControl]] || || || || || || || |
|[[Doc:QMediaGaplessPlaybackControl]] | | | | | | | |
|-
|[[Doc:QMediaNetworkAccessControl]] | | | | | | | |
|[[Doc:QCameraCaptureDestinationControl]] || || || || || || || |
|[[Doc:QMediaPlayerControl]] | yes | yes | | | | | |
|-
|[[Doc:QMediaPlayListControl]] | | | | | | | |
|[[Doc:QCameraControl]] || yes || || || || || || |
|[[Doc:QMediaPlayListSourceControl]] | | | | | | | |
|-
|[[Doc:QMediaRecorderControl]] | yes | | | | | | |
|[[Doc:QCameraExposureControl]] || || || || || || || |
|[[Doc:QMediaStreamControl]] | | | | | | | |
|-
|[[Doc:QMediaVideoProbeControl]] | | | | | | | |
|[[Doc:QCameraFeedbackControl]] || || || || || || || |
|[[Doc:QMetaDataReaderControl]] | partial | yes | | | | | |
|-
|[[Doc:QMetaDataWriterControl]] | yes | | | | | | |
|[[Doc:QCmaeraFlashControl]] || || || || || || || |
|[[Doc:QRadioDataControl]] | | | | | | | |
|-
|[[Doc:QRadioTunerControl]] | | | | | | | |
|[[Doc:QCameraFocusControl]] || || || || || || || |
|[[Doc:QVideoDeviceSelectorControl]] | yes | | | | | | |
|-
|[[Doc:QVideoEncoderSettingsControl]] | | | | | | | |
|[[Doc:QCameraImageCaptureControl]] || yes || || || || || || |
|[[Doc:QVideoRendererControl]] | yes | yes | | | | | |
|-
|[[Doc:QVideoWidgetControl]] | yes | yes | | | | | |
|[[Doc:QCameraImageProcessingControl]] || || || || || || || |
|[[Doc:QVideoWindowControl]] | | yes | | | | | |
|-
|[[Doc:QCameraLocksControl]] || || || || || || || |
|-
|[[Doc:QCameraViewFinderSettingsControl]] || || || || || || || |
|-
|[[Doc:QCameraZoomControl]] || || || || || || || |
|-
|[[Doc:QImageEncoderControl]] || || || || || || || |
|-
|[[Doc:QMediaAudioProbeControl]] || || || || || || || |
|-
|[[Doc:QMediaAvailabilityControl]] || || || || || || || |
|-
|[[Doc:QMediaContainerControl]] || || || || || || || |
|-
|[[Doc:QMediaGaplessPlaybackControl]] || || || || || || || |
|-
|[[Doc:QMediaNetworkAccessControl]] || || || || || || || |
|-
|[[Doc:QMediaPlayerControl]] || yes || yes || || || || || |
|-
|[[Doc:QMediaPlayListControl]] || || || || || || || |
|-
|[[Doc:QMediaPlayListSourceControl]] || || || || || || || |
|-
|[[Doc:QMediaRecorderControl]] || yes || || || || || || |
|-
|[[Doc:QMediaStreamControl]] || || || || || || || |
|-
|[[Doc:QMediaVideoProbeControl]] || || || || || || || |
|-
|[[Doc:QMetaDataReaderControl]] || partial || yes || || || || || |
|-
|[[Doc:QMetaDataWriterControl]] || yes || || || || || || |
|-
|[[Doc:QRadioDataControl]] || || || || || || || |
|-
|[[Doc:QRadioTunerControl]] || || || || || || || |
|-
|[[Doc:QVideoDeviceSelectorControl]] || yes || || || || || || |
|-
|[[Doc:QVideoEncoderSettingsControl]] || || || || || || || |
|-
|[[Doc:QVideoRendererControl]] || yes || yes || || || || || |
|-
|[[Doc:QVideoWidgetControl]] || yes || yes || || || || || |
|-
|[[Doc:QVideoWindowControl]] || || yes || || || || || |
|}
 


=== Windows ===
=== Windows ===
Line 66: Line 115:
QtMultimedia's functionality for a given platform is defined using the Qt plugin system through the implementation of interfaces. These interfaces can be seen split several ways, but for our purposes they will be split between the high level and low level API's.
QtMultimedia's functionality for a given platform is defined using the Qt plugin system through the implementation of interfaces. These interfaces can be seen split several ways, but for our purposes they will be split between the high level and low level API's.


=== High-level Multimedia Interfaces:
=== High-level Multimedia Interfaces: ===
|''. Interface |''. Description |
 
|[[Doc:QAudioDecoderControl]] | Access to the audio decoding functionality of a QMediaService |
 
|[[Doc:QAudioEncoderSettingsControl]] | Access to the settings of a media service that performs audio encoding |
{| border="1"
|[[Doc:QAudioInputSelectorControl]] | Audio input selector media control |
|- style="background-color:#00BB00;"
|[[Doc:QAudioOutputSelectorControl]] | Audio output selector media control |
! Interface  
|[[Doc:QCameraCaptureBufferFormatControl]] | Control for setting the capture buffer format |
! Description  
|[[Doc:QCameraCaptureDestinationControl]] | Control for setting capture destination |
|-
|[[Doc:QCameraControl]] | Abstract base class for classes that control still cameras or video cameras |
|[[Doc:QAudioDecoderControl]] || Access to the audio decoding functionality of a QMediaService  
|[[Doc:QCameraExposureControl]] | Allows controlling camera exposure parameters |
|-
|[[Doc:QCameraFeedbackControl]] | Allows controlling feedback (sounds etc) during camera operation |
|[[Doc:QAudioEncoderSettingsControl]] || Access to the settings of a media service that performs audio encoding  
|[[Doc:QCameraFlashControl]] | Allows controlling a camera's flash |
|-
|[[Doc:QCameraFocusControl]] | Supplies control for focusing related camera parameters |
|[[Doc:QAudioInputSelectorControl]] || Audio input selector media control  
|[[Doc:QCameraImageCaptureControl]] | Control interface for image capture services |
|-
|[[Doc:QCameraImageProcessingControl]] | Abstract class for controlling image processing parameters, like white balance, contrast, saturation, sharpening and denoising |
|[[Doc:QAudioOutputSelectorControl]] || Audio output selector media control  
|[[Doc:QCameraLocksControl]] | Abstract base class for classes that control still cameras or video cameras |
|-
|[[Doc:QCameraViewfinderSettingsControl]] | Abstract class for controlling camera viewfinder parameters |
|[[Doc:QCameraCaptureBufferFormatControl]] || Control for setting the capture buffer format  
|[[Doc:QCameraZoomControl]] | Supplies control for optical and digital camera zoom |
|-
|[[Doc:QImageEncoderControl]] | Access to the settings of a media service that performs image encoding |
|[[Doc:QCameraCaptureDestinationControl]] || Control for setting capture destination  
|[[Doc:QMediaAudioProbeControl]] | Allows control over probing audio data in media objects |
|-
|[[Doc:QMediaAvailabilityControl]] | Supplies a control for reporting availability of a service |
|[[Doc:QCameraControl]] || Abstract base class for classes that control still cameras or video cameras  
|[[Doc:QMediaContainerControl]] | Access to the output container format of a QMediaService |
|-
|[[Doc:QMediaGaplessPlaybackControl]] | Access to the gapless playback related control of a QMediaService |
|[[Doc:QCameraExposureControl]] || Allows controlling camera exposure parameters  
|[[Doc:QMediaNetworkAccessControl]] | Allows the setting of the Network Access Point for media related activities |
|-
|[[Doc:QMediaPlayerControl]] | Access to the media playing functionality of a QMediaService |
|[[Doc:QCameraFeedbackControl]] || Allows controlling feedback (sounds etc) during camera operation  
|[[Doc:QMediaRecorderControl]] | Access to the recording functionality of a QMediaService |
|-
|[[Doc:QMediaStreamsControl]] | Media stream selection control |
|[[Doc:QCameraFlashControl]] || Allows controlling a camera's flash  
|[[Doc:QMediaVideoProbeControl]] | Allows control over probing video frames in media objects |
|-
|[[Doc:QMetaDataReaderControl]] | Read access to the meta-data of a QMediaService's media |
|[[Doc:QCameraFocusControl]] || Supplies control for focusing related camera parameters  
|[[Doc:QMetaDataWriterControl]] | Write access to the meta-data of a QMediaService's media |
|-
|[[Doc:QRadioDataControl]] | Access to the RDS functionality of the radio in the QMediaService |
|[[Doc:QCameraImageCaptureControl]] || Control interface for image capture services  
|[[Doc:QRadioTunerControl]] | Access to the radio tuning functionality of a QMediaService |
|-
|[[Doc:QVideoDeviceSelectorControl]] | Video device selector media control |
|[[Doc:QCameraImageProcessingControl]] || Abstract class for controlling image processing parameters, like white balance, contrast, saturation, sharpening and denoising  
|[[Doc:QVideoEncoderSettingsControl]] | Access to the settings of a media service that performs video encoding |
|-
|[[Doc:QVideoRendererControl]] | Media control for rendering video to a QAbstractVideoSurface |
|[[Doc:QCameraLocksControl]] || Abstract base class for classes that control still cameras or video cameras  
|[[Doc:QVideoWindowControl]] | Media control for rendering video to a window |
|-
|[[Doc:QMediaControl]] | Base interface for media service controls |
|[[Doc:QCameraViewfinderSettingsControl]] || Abstract class for controlling camera viewfinder parameters  
|[[Doc:QMediaService]] | Common base class for media service implementations | ===
|-
|[[Doc:QCameraZoomControl]] || Supplies control for optical and digital camera zoom  
|-
|[[Doc:QImageEncoderControl]] || Access to the settings of a media service that performs image encoding  
|-
|[[Doc:QMediaAudioProbeControl]] || Allows control over probing audio data in media objects  
|-
|[[Doc:QMediaAvailabilityControl]] || Supplies a control for reporting availability of a service  
|-
|[[Doc:QMediaContainerControl]] || Access to the output container format of a QMediaService  
|-
|[[Doc:QMediaGaplessPlaybackControl]] || Access to the gapless playback related control of a QMediaService  
|-
|[[Doc:QMediaNetworkAccessControl]] || Allows the setting of the Network Access Point for media related activities  
|-
|[[Doc:QMediaPlayerControl]] || Access to the media playing functionality of a QMediaService  
|-
|[[Doc:QMediaRecorderControl]] || Access to the recording functionality of a QMediaService  
|-
|[[Doc:QMediaStreamsControl]] || Media stream selection control  
|-
|[[Doc:QMediaVideoProbeControl]] || Allows control over probing video frames in media objects  
|-
|[[Doc:QMetaDataReaderControl]] || Read access to the meta-data of a QMediaService's media  
|-
|[[Doc:QMetaDataWriterControl]] || Write access to the meta-data of a QMediaService's media  
|-
|[[Doc:QRadioDataControl]] || Access to the RDS functionality of the radio in the QMediaService  
|-
|[[Doc:QRadioTunerControl]] || Access to the radio tuning functionality of a QMediaService  
|-
|[[Doc:QVideoDeviceSelectorControl]] || Video device selector media control  
|-
|[[Doc:QVideoEncoderSettingsControl]] || Access to the settings of a media service that performs video encoding  
|-
|[[Doc:QVideoRendererControl]] || Media control for rendering video to a QAbstractVideoSurface  
|-
|[[Doc:QVideoWindowControl]] || Media control for rendering video to a window  
|-
|[[Doc:QMediaControl]] || Base interface for media service controls  
|-
|[[Doc:QMediaService]] || Common base class for media service implementations  
|}


=== Low-level Multimedia Interfaces: ===
=== Low-level Multimedia Interfaces: ===

Revision as of 12:05, 25 March 2015


English Türkçe

QtMultimedia Module

For a full overview of the QtMultimedia module please checkout the Multimedia Overview in the Qt documentation.

Chart of backend completeness by platform

Interface AVFoundation QuickTime 7 DirectShow WMF GStreamer Android Blackberry
Doc:QAudioDecoderControl
Doc:QAudioEncoderSettingsControl
Doc:QAudioInputSelectorControl yes
Doc:QAudioOutputSelectorControl
Doc:QCameraCaptureBufferFormatControl
Doc:QCameraCaptureDestinationControl
Doc:QCameraControl yes
Doc:QCameraExposureControl
Doc:QCameraFeedbackControl
Doc:QCmaeraFlashControl
Doc:QCameraFocusControl
Doc:QCameraImageCaptureControl yes
Doc:QCameraImageProcessingControl
Doc:QCameraLocksControl
Doc:QCameraViewFinderSettingsControl
Doc:QCameraZoomControl
Doc:QImageEncoderControl
Doc:QMediaAudioProbeControl
Doc:QMediaAvailabilityControl
Doc:QMediaContainerControl
Doc:QMediaGaplessPlaybackControl
Doc:QMediaNetworkAccessControl
Doc:QMediaPlayerControl yes yes
Doc:QMediaPlayListControl
Doc:QMediaPlayListSourceControl
Doc:QMediaRecorderControl yes
Doc:QMediaStreamControl
Doc:QMediaVideoProbeControl
Doc:QMetaDataReaderControl partial yes
Doc:QMetaDataWriterControl yes
Doc:QRadioDataControl
Doc:QRadioTunerControl
Doc:QVideoDeviceSelectorControl yes
Doc:QVideoEncoderSettingsControl
Doc:QVideoRendererControl yes yes
Doc:QVideoWidgetControl yes yes
Doc:QVideoWindowControl yes


Windows

Linux & Embedded Linux

OS X & iOS

Multimedia support for apple products are provided by two plugins. The QuickTime 7 plugin is the legacy plugin, providing limited multimedia support to OS X 10.6, and is not actively developed. The AVFoundation plugin is available on OS X 10.7+ as well as iOS. This is the actively developed plugin and should be used where possible.

Android

Android Base-layer

Blackberry 10 (QNX)

QtMultimedia Plugin Interfaces

QtMultimedia's functionality for a given platform is defined using the Qt plugin system through the implementation of interfaces. These interfaces can be seen split several ways, but for our purposes they will be split between the high level and low level API's.

High-level Multimedia Interfaces:

Interface Description
Doc:QAudioDecoderControl Access to the audio decoding functionality of a QMediaService
Doc:QAudioEncoderSettingsControl Access to the settings of a media service that performs audio encoding
Doc:QAudioInputSelectorControl Audio input selector media control
Doc:QAudioOutputSelectorControl Audio output selector media control
Doc:QCameraCaptureBufferFormatControl Control for setting the capture buffer format
Doc:QCameraCaptureDestinationControl Control for setting capture destination
Doc:QCameraControl Abstract base class for classes that control still cameras or video cameras
Doc:QCameraExposureControl Allows controlling camera exposure parameters
Doc:QCameraFeedbackControl Allows controlling feedback (sounds etc) during camera operation
Doc:QCameraFlashControl Allows controlling a camera's flash
Doc:QCameraFocusControl Supplies control for focusing related camera parameters
Doc:QCameraImageCaptureControl Control interface for image capture services
Doc:QCameraImageProcessingControl Abstract class for controlling image processing parameters, like white balance, contrast, saturation, sharpening and denoising
Doc:QCameraLocksControl Abstract base class for classes that control still cameras or video cameras
Doc:QCameraViewfinderSettingsControl Abstract class for controlling camera viewfinder parameters
Doc:QCameraZoomControl Supplies control for optical and digital camera zoom
Doc:QImageEncoderControl Access to the settings of a media service that performs image encoding
Doc:QMediaAudioProbeControl Allows control over probing audio data in media objects
Doc:QMediaAvailabilityControl Supplies a control for reporting availability of a service
Doc:QMediaContainerControl Access to the output container format of a QMediaService
Doc:QMediaGaplessPlaybackControl Access to the gapless playback related control of a QMediaService
Doc:QMediaNetworkAccessControl Allows the setting of the Network Access Point for media related activities
Doc:QMediaPlayerControl Access to the media playing functionality of a QMediaService
Doc:QMediaRecorderControl Access to the recording functionality of a QMediaService
Doc:QMediaStreamsControl Media stream selection control
Doc:QMediaVideoProbeControl Allows control over probing video frames in media objects
Doc:QMetaDataReaderControl Read access to the meta-data of a QMediaService's media
Doc:QMetaDataWriterControl Write access to the meta-data of a QMediaService's media
Doc:QRadioDataControl Access to the RDS functionality of the radio in the QMediaService
Doc:QRadioTunerControl Access to the radio tuning functionality of a QMediaService
Doc:QVideoDeviceSelectorControl Video device selector media control
Doc:QVideoEncoderSettingsControl Access to the settings of a media service that performs video encoding
Doc:QVideoRendererControl Media control for rendering video to a QAbstractVideoSurface
Doc:QVideoWindowControl Media control for rendering video to a window
Doc:QMediaControl Base interface for media service controls
Doc:QMediaService Common base class for media service implementations

Low-level Multimedia Interfaces: