Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Cannot play .mp4 videos on IMX6 linux_bsp image
Has anybody encountered this problem wherein the application can play videos in your desktop development environment but when crosscompiling and putting it on the target board (IMX6 ubuntu linaro linux_bsp) it cannot play the videos.
At first I couldn't play the videos on my desktop environment (ubuntu 14.04)
I resolved it by the following commands:
apt-get install gstreamer0.10-ffmpeg
I plugged the target board to the internet and did the same commands. It still cannot play the videos. Does anybody have an idea regarding this problem?
Ok I have redirected the stderr and stdout to a file and the output of the application is:
QEglFSImx6Hooks will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
If this is not desired, you can override this via: export QT_GLFS_IMX6_NO_FB_MULTI_BUFFER=1
defaultServiceProvider::requestService(): no service found fo - "org.qt-project.qt.mediaplayer"
This maybe due to the fact that our IMX6 board does not have the plugins/mediaservice particularly the libgstmediaplayer.so. Does anyone know how to create this library? And which directory in the IMX6 do I put this if I have successfully cross compiled it?