imx6ul在原子出厂的QT综合例程视频播放实验(基于QT5.5.1的V1.5版本),修改加载文件不通过播放列表,直接通过加载资源文件目录方法(mediaPlayer->setMedia(QMediaContent(QUrl(QString("/opt/media/test_movie.avi"))));)在windows下测试正常,在alpha开发板上运行时提示Home directory not accessible: Permission deniedGStreamer; Unable to pause - "/opt/media/test_movie.avi"
GStreamer; Unable to pause - "/opt/media/test_movie.avi"
Warning: "Failed to connect: Connection refused"
ASSERT failure in QVector<T>:perator[]: "index out of range", file /opt/fsl-imx-x11/4.1.15-2.1.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/include/qt5/QtCore/qvector.h, line 427
Aborted
这个是在回事儿呢,并且在原子出厂的QT例程里也是提示Home directory not accessible: Permission denied,只是还能播放,是不是在alpha上这样弄资源目录不对呢。
我也重新写了个不用歌曲列表的方法,在windows下播放正常,在imx6ul上播放也不行,从windows下的QT移植到imx6ul上也播放不了,提示这个错误
Home directory not accessible: Permission denied
GStreamer; Unable to pause - "/opt/media/test_movie.avi"
GStreamer; Unable to pause - "/opt/media/test_movie.avi"