0
点赞
收藏
分享

微信扫一扫

Qt6 QML Book/多媒体/小结

知年_7740 2022-01-31 阅读 75
qtqt6qml

Summary

小结

The media API provided by Qt provides mechanisms for playing and capturing video and audio. Through the VideoOutput element, video streams can be rendered in the user interface. Through the MediaPlayer element, most playback can be handled, even though the SoundEffect can be used for low-latency sounds. For capturing, or recording camera streams, a combination of CaptureSession and Camera elements can be used.

Qt提供的媒体API提供了播放和捕获视频和音频的机制。通过VideoOutput元素类型,可以在用户界面中呈现视频流。通过MediaPlayer元素类型,可以处理大多数播放,即使SoundEffect可以用于低延迟声音。为了捕获或记录相机流,可以使用CaptureSession和相机元素Camera的组合。

举报

相关推荐

Qt6 QML Book/动态QML/动态QML

Qt6 QML Book/画布/渐变

Qt6 QML Book/Qt for Python/安装过程

Qt6 QML Book/网络设置/HTTP请求

Qt6 QML Book/扩展QML/用C++扩展QML

Qt6 QML Book/存储/本地存储-SQL

Qt6 QML Book/网络设置/Web Sockets

0 条评论