Qt Multimedia C++ 類

C++ 類為多媒體內容提供瞭更多控製,相比 QML 替代。若應用程序服務於復雜用例,譬如解碼媒體文件、訪問視頻或音頻緩衝,請使用 C++ 替代。有關 C++ 類支持的復雜音頻、視頻及攝像頭用例的更多細節,參考 Multimedia 概述 .

名稱空間

QAudio 包含用於音頻類的枚舉
QMediaMetaData 提供元數據屬性標識符
QMultimedia 包含用於整個 Qt Multimedia 庫的雜項標識符

Qt Multimedia 模塊

QAudioBuffer 錶示具有特定格式和采樣率的一批音頻樣本
QAudioBuffer::StereoFrame 立體聲音頻幀的簡單包裹器
QAudioDecoder 允許解碼音頻
QAudioDeviceInfo 查詢音頻設備及其功能的接口
QAudioFormat 存儲音頻流參數信息
QAudioInput 從音頻輸入設備接收音頻數據的接口
QAudioOutput 把音頻數據發送到音頻輸齣設備的接口
QAudioProbe 允許監視正播放 (或錄製) 音頻
QAbstractAudioDeviceInfo 用於音頻後端的基類
QAbstractAudioInput 訪問 QAudioInput 以訪問由插件提供的音頻設備
QAbstractAudioOutput 用於音頻後端的基類
QAudioSystemPlugin 音頻插件抽象基
QSound 播放 .wav 聲音文件的方法
QSoundEffect 播放低延遲音效的辦法
QCamera::FrameRateRange FrameRateRange 錶示最小和最大速率的幀速率範圍
QCamera 係統攝像頭設備接口
QCameraExposure 用於曝光相關攝像頭設置的接口
QCameraFocus 用於對焦和縮放相關攝像頭設置的接口
QCameraFocusZone 用於攝像頭自動對焦的區域信息
QCameraImageCapture 用於錄製媒體內容
QCameraImageProcessing 用於圖像處理相關攝像頭設置的接口
QCameraInfo 有關攝像頭設備的一般信息
QCameraViewfinderSettings 取景器設置集
QAudioDecoderControl 訪問 QMediaService 音頻解碼功能
QAudioEncoderSettingsControl 訪問履行音頻編碼媒體服務的設置
QAudioInputSelectorControl Audio input selector media control
QAudioOutputSelectorControl Audio output selector media control
QAudioRoleControl 控製媒體對象音頻角色
QCameraCaptureBufferFormatControl Control for setting the capture buffer format
QCameraCaptureDestinationControl Control for setting capture destination
QCameraControl Abstract base class for classes that control still cameras or video cameras
QCameraExposureControl 允許控製攝像頭曝光參數
QCameraFeedbackControl Allows controlling feedback (sounds etc) during camera operation
QCameraFlashControl Allows controlling a camera's flash
QCameraFocusControl Supplies control for focusing related camera parameters
QCameraImageCaptureControl Control interface for image capture services
QCameraImageProcessingControl Abstract class for controlling image processing parameters, like white balance, contrast, saturation, sharpening and denoising
QCameraInfoControl Camera info media control
QCameraLocksControl Abstract base class for classes that control still cameras or video cameras
QCameraViewfinderSettingsControl Abstract class for controlling camera viewfinder parameters
QCameraViewfinderSettingsControl2 訪問攝像頭媒體服務的取景器設置
QCameraZoomControl Supplies control for optical and digital camera zoom
QImageEncoderControl Access to the settings of a media service that performs image encoding
QMediaAudioProbeControl 允許控製媒體對象探測音頻數據
QMediaAvailabilityControl Supplies a control for reporting availability of a service
QMediaContainerControl Access to the output container format of a QMediaService
QMediaGaplessPlaybackControl Access to the gapless playback related control of a QMediaService
QMediaNetworkAccessControl Allows the setting of the Network Access Point for media related activities
QMediaPlayerControl Access to the media playing functionality of a QMediaService
QMediaRecorderControl 訪問 QMediaService 錄製功能
QMediaStreamsControl Media stream selection control
QMediaVideoProbeControl Allows control over probing video frames in media objects
QMetaDataReaderControl Read access to the meta-data of a QMediaService's media
QMetaDataWriterControl Write access to the meta-data of a QMediaService's media
QRadioDataControl Access to the RDS functionality of the radio in the QMediaService
QRadioTunerControl Access to the radio tuning functionality of a QMediaService
QVideoDeviceSelectorControl Video device selector media control
QVideoEncoderSettingsControl Access to the settings of a media service that performs video encoding
QVideoRendererControl 把視頻渲染到 QAbstractVideoSurface 的媒體控件
QVideoWindowControl 把視頻渲染到窗口的媒體控件
QMediaContent Access to the resources relating to a media content
QMediaPlayer 允許播放媒體源
QMediaPlaylist 要播放的媒體內容列錶
QMediaResource Description of a media resource
QMediaBindableInterface 用於擴展媒體對象功能的對象基類
QMediaControl Base interface for media service controls
QMediaObject 用於多媒體對象的公共基
QMediaService Common base class for media service implementations
QMediaServiceCameraInfoInterface Interface provides camera-specific information about devices supported by a camera service plug-in
QMediaServiceDefaultDeviceInterface Interface identifies the default device used by a media service plug-in
QMediaServiceFeaturesInterface Interface identifies features supported by a media service plug-in
QMediaServiceProviderPlugin Interface provides an interface for QMediaService plug-ins
QMediaServiceSupportedDevicesInterface Interface identifies the devices supported by a media service plug-in
QMediaServiceSupportedFormatsInterface Interface identifies if a media service plug-in supports a media format
QMediaTimeInterval 錶示時間間隔采用整數精度
QMediaTimeRange 錶示一組零個或多個不相交的時間間隔
QRadioData Interfaces to the RDS functionality of the system radio
QRadioTuner Interface to the systems analog radio device
QAudioRecorder 用於錄製音頻
QAudioEncoderSettings 音頻編碼器設置集
QImageEncoderSettings 圖像編碼器設置集
QVideoEncoderSettings 視頻編碼器設置集
QMediaRecorder 用於錄製媒體內容
QAbstractPlanarVideoBuffer 抽象平麵視頻數據
QAbstractVideoBuffer 抽象視頻數據
QAbstractVideoFilter 錶示應用於通過 VideoOutput 類型接收視頻幀的過濾器
QVideoFilterRunnable 錶示擁有所有圖形 計算資源,履行實際過濾 (或計算) 的過濾器實現
QAbstractVideoSurface 視頻呈現錶麵的基類
QVideoFrame 錶示視頻數據幀
QVideoProbe 允許監視視頻幀播放或錄製
QVideoSurfaceFormat 指定視頻呈現錶麵的流格式

Qt Multimedia Widgets 模塊

QCameraViewfinder 攝像頭取景器小部件
QGraphicsVideoItem 顯示 QMediaObject 産生視頻的圖形項
QVideoWidget 呈現媒體對象産生視頻的小部件
QVideoWidgetControl 實現視頻小部件的媒體控件