简体   繁体   中英

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)

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. But I suspect the webkit by default links to /usr/lib/gstreamer-1.0 directory and hence cannot find required libs.

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.

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.

Could you please provide more information about your bblayers, your local.conf?

Have you enabled GStreamer in QtMultimedia? If not, please add this line into your local.conf. PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer010 gstreamer"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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