简体   繁体   English

无法在Linux ARM机器上的基于Qt5的Web浏览器中播放视频文件

[英]Not able to play video file in Qt5 based Web browser on Linux ARM machine

I am using Yocto Buildsystem to generate customized Linux Image with Qt5.4 support in it for TI AM335x based ARM platform, here in Yocto I have selected components those are required for Qt5 based Webbrowser so as to play HTML5 audio and video files such as: - qtmultimedia - gstreamer (1.0) - qtscript - qtwebsockets - qtimageformats - libgles-omap3 - lighttpd - gst-ffmpeg - gst-fluendo-mp3 - gstreamer (0.10) 我正在使用Yocto Buildsystem为基于TI AM335x的ARM平台生成具有Qt5.4支持的自定义Linux映像,在Yocto中,我选择了基于Qt5的Webbrowser所需的组件,以便播放HTML5音频和视频文件,例如: -qtmultimedia-gstreamer(1.0)-qtscript-qtwebsockets-qtimageformats-libgles-omap3-lighttpd-gst-ffmpeg-gst-fluendo-mp3-gstreamer(0.10)

Here after building the final image. 在这里构建最终图像之后。 I found that there are both gstreamer and gstreamer-1.0 directories in /usr/lib, also the required ffmpeg libs are located in /usr/lib/gstreamer directory. 我发现/ usr / lib中同时存在gstreamer和gstreamer-1.0目录,所需的ffmpeg库位于/ usr / lib / gstreamer目录中。 But I suspect the webkit by default links to /usr/lib/gstreamer-1.0 directory and hence cannot find required libs. 但是我怀疑该Webkit默认链接到/​​usr/lib/gstreamer-1.0目录,因此找不到所需的库。

When I tried the manually copy the ffmepg related libs in /usr/lib/gstreamer-1.0 directory from /usr/lib/gstreamer, then I got the libav related version error. 当我尝试从/ usr / lib / gstreamer手动复制/usr/lib/gstreamer-1.0目录中的ffmepg相关库时,出现了libav相关版本错误。

Please guide me regarding who to configure webkit or webcore .bb file so that it links to both the gstreamer directories in /usr/lib and can thus play HTML5 audio and video files in qt5 based web-browser. 请指导我有关谁配置webkit或webcore .bb文件,以便它链接到/ usr / lib中的gstreamer目录,从而可以在基于qt5的Web浏览器中播放HTML5音频和视频文件。

Could you please provide more information about your bblayers, your local.conf? 您能否提供有关您的bblayer的更多信息,您的local.conf?

Have you enabled GStreamer in QtMultimedia? 您是否在QtMultimedia中启用了GStreamer? If not, please add this line into your local.conf. 如果没有,请将此行添加到您的local.conf中。 PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer010 gstreamer"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM