诺基亚 Qt SDK 和 Qt Mobility API
看起来诺基亚 Qt SDK 没有提供 QtMultimediaKit 包,该包是 Qt 的一部分移动API 1.0.2。
例如,我无法使用 QMediaPlayer 播放 *.mp4 文件 (Simbiot^3)
QMediaPlayer *player = new QMediaPlayer;
playlist = new QMediaPlaylist(player);
playlist->append(QUrl("http://example.com/myfile1.mp4"));
playlist->setCurrentPosition(1);
player->play();
有谁知道如何使用 QMediaPlayer 配置诺基亚 Qt SDK?
谢谢。
It looks like Nokia Qt SDK does not provide QtMultimediaKit with the package which is a part of Qt Mobility API 1.0.2.
e.g. I cannot use QMediaPlayer to play *.mp4 file (Simbiot^3)
QMediaPlayer *player = new QMediaPlayer;
playlist = new QMediaPlaylist(player);
playlist->append(QUrl("http://example.com/myfile1.mp4"));
playlist->setCurrentPosition(1);
player->play();
Is anyone know how to configure the Nokia Qt SDK with QMediaPlayer?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您谈论的是 qmediaplayer 示例,它包含在 SDK 安装中,但它使用平台的编解码器(Windows 上默认为 Phonon+DShow 后端,Linux 上默认为 Phonon+installed 后端,Mac 上默认为 Phonon+Quicktime)。如果您有 qmediaplayer,但无法播放 mp4 文件,则需要安装编解码器以支持播放该文件。
If you're talking about the qmediaplayer example, it is included in the SDK install, but it uses the platform's codecs (by default Phonon+DShow backend on Windows, Phonon+installed backends on Linux, Phonon+Quicktime on Mac). If you have qmediaplayer, but can't play an mp4-file, you will need to install codecs to support playing that file.
经过几天的谷歌搜索,我从诺基亚论坛找到了答案。他们似乎无法通过谷歌搜索:-(
http: //discussion.forum.nokia.com/forum/showthread.php?199772-Is-QT-mobility-part-of-Nokia-QT-SDK
After couple of day googleing, I found answer from Nokia Forum. They're not appear to be google able :-(
http://discussion.forum.nokia.com/forum/showthread.php?199772-Is-QT-mobility-part-of-Nokia-QT-SDK