在目标上使用Qt 5.3 QML视频获取错误:“找不到资源”代码在主机系统上均有效,均为Linux

时间:2018-11-26 22:57:00

标签: qt qml gstreamer

thurberdog [2:23 PM]
Have video running on host system, but not embedded arm imx6 target getting classic error out of gstreamer which is the correct 0.10 for Qt 5.3 and the multimedia flag is set in the project file. First the error then the code QML debugging is enabled. Only use this in a safe environment.
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_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
GStreamer; Unable to pause - "file:///home/Videos/big_buck_bunny_1080p_h264.mov"
GStreamer; Unable to play - "file:///home/Videos/big_buck_bunny_1080p_h264.mov"
GStreamer; Unable to pause - "file:~///Projects/Slider1/video/big_buck_bunny_1080p_h264.mov"
GStreamer; Unable to play - "file:~///Projects/Slider1/video/big_buck_bunny_1080p_h264.mov"
GStreamer; Unable to pause - "file:~///Projects/Slider1/video/big_buck_bunny_1080p_stero.avi"
GStreamer; Unable to play - "file:~///Projects/Slider1/video/big_buck_bunny_1080p_stero.avi"
GStreamer; Unable to pause - "file:///home/reach/Projects/Slider1/video/SampleVideo_1280x720_1mb.flv"
GStreamer; Unable to play - "file:///home/reach/Projects/Slider1/video/SampleVideo_1280x720_1mb.flv"
GStreamer; Unable to pause - "file:///home/reach/Projects/Slider1/video/SampleVideo_1280x720_1mb.mkv"
GStreamer; Unable to play - "file:///home/reach/Projects/Slider1/video/SampleVideo_1280x720_1mb.mkv"
GStreamer; Unable to pause - "file:///home/reach/Projects/Slider1/video/SampleVideo_1280x720_1mb.mp4"
GStreamer; Unable to play - "file:///home/reach/Projects/Slider1/video/SampleVideo_1280x720_1mb.mp4"
Error: "Resource not found."
Timeout waiting for reply from server.
files exist on target
here QML debugging is enabled. Only use this in a safe environment.
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_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
GStreamer; Unable to pause - "file:///home/Videos/big_buck_bunny_1080p_h264.mov"
GStreamer; Unable to play - "file:///home/Videos/big_buck_bunny_1080p_h264.mov"
GStreamer; Unable to pause - "file:~///Projects/Slider1/video/big_buck_bunny_1080p_h264.mov"
GStreamer; Unable to play - "file:~///Projects/Slider1/video/big_buck_bunny_1080p_h264.mov"
GStreamer; Unable to pause - "file:~///Projects/Slider1/video/big_buck_bunny_1080p_stero.avi"
GStreamer; Unable to play - "file:~///Projects/Slider1/video/big_buck_bunny_1080p_stero.avi"
GStreamer; Unable to pause - "file:///home/reach/Projects/Slider1/video/SampleVideo_1280x720_1mb.flv"
GStreamer; Unable to play - "file:///home/reach/Projects/Slider1/video/SampleVideo_1280x720_1mb.flv"
GStreamer; Unable to pause - "file:///home/reach/Projects/Slider1/video/SampleVideo_1280x720_1mb.mkv"
GStreamer; Unable to play - "file:///home/reach/Projects/Slider1/video/SampleVideo_1280x720_1mb.mkv"
GStreamer; Unable to pause - "file:///home/reach/Projects/Slider1/video/SampleVideo_1280x720_1mb.mp4"
GStreamer; Unable to play - "file:///home/reach/Projects/Slider1/video/SampleVideo_1280x720_1mb.mp4"
Error: "Resource not found."
Timeout waiting for reply from server.

欢迎任何线索或猜测,我能够播放音频文件而不会出现问题

1 个答案:

答案 0 :(得分:0)

简单的GStreamer未能在目标上找到视频文件,因为它尚未放置在目标上。始终仔细检查目标文件:)