Open cl2006ky opened 8 years ago
加环境变量QTAV_LOG=all来输出log看看。你系统不支持opengl吗?不支持的话会很卡。有其它硬件加速解码或渲染接口吗?
我使用的是嵌入式arm 版本,没有支持OpenGL的。QT 4.8 在嵌入式里面可以支持OpenGL吗? 我看到你们的程序也没有使用-qws参数,你们使用的是桌面版本吗?
Best Regards
提示:此邮件的内容与附件均为发送给收件人的机密文件,请您恪守保密义务,未经我方书面同意,勿向第三人透露。如果此邮件误发给您,请立即回执通知发送人,并且删除此邮件的所有信息;严禁任何未经授权的使用、复制以及转发。 The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. If you have received this transmission in error, please immediately notify the sender by return e-mail and delete this message and its attachments. Any unauthorized use, copying or dissemination of this transmission is prohibited. Neither the confidentiality nor the integrity of this message can be vouched for following transmission on the Internet.
发件人: WangBin 发送时间: 2016-07-02 15:53 收件人: wang-bin/QtAV 抄送: Martin_Chen; Author 主题: Re: [wang-bin/QtAV] 在目标板上运行,出现如下的问题,播放的视频显示不出来。 (#666) 加环境变量QTAV_LOG=all来输出log看看。你系统不支持opengl吗?不支持的话会很卡。有其它硬件加速解码或渲染接口吗? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
qt支持opengl。你板子不支持的话没办法了。是不是桌面版没影响
现在可以支持OpenGL了,但是还是运行不起来。
~/bin# ./Player -f /mnt/test_video.mp4 AudioResampler::Register(..., FFmpeg) Singleton 0xc6348 created... VideoDecoder::Register(..., CUDA) Singleton 0xc65e0 created... VideoRenderer::Register(..., OpenGLWindow) Singleton 0xc69a0 created... SubtitleProcessor::Register(..., FFmpeg) Singleton 0xc6c00 created... AudioDecoder::Register(..., FFmpeg) Singleton 0xc6dc0 created... AudioEncoder::Register(..., FFmpeg) Singleton 0xc6e48 created... ImageConverter::Register(..., FFmpeg) Singleton 0xc6ed0 created... MediaIO::Register(..., QIODevice) Singleton 0xc71a0 created... MediaIO::Register(..., QFile) AudioOutputBackend::Register(..., null) Singleton 0xc7288 created... VideoDecoder::Register(..., FFmpeg) VideoEncoder::Register(..., FFmpeg) Singleton 0xc7360 created... registerRenderers........... VideoRenderer::Register(..., OpenGLWidget) VideoRenderer::Register(..., QGLWidget2) VideoRenderer::Register(..., Widget) VideoRenderer::Register(..., GraphicsItem) "QtAV 1.11.0(Jul 4 2016, 13:53:49)\nMultimedia framework base on Qt and FFmpeg.\nDistributed under the terms of LGPLv2.1 or later.\nShanghai University->S3 Graphics->Deepin, Shanghai, ChinaCopyright (C) 2012-2016 Wang Bin (aka. Lucas Wang) wbsecg1@gmail.com\nDonate: http://qtav.org/donate.html\nSource: https://github.com/wang-bin/QtAV\nHome page: http://qtav.org" QT_XCB_GL_INTEGRATION: "xcb_glx" ("./Player", "-f", "/mnt/test_video.mp4") set log file: "/root/bin/log-Player.txt" Logger Debug: vo: gl Debug: QtAV 1.11.0(Jul 4 2016, 13:53:49) Multimedia framework base on Qt and FFmpeg. Distributed under the terms of LGPLv2.1 or later. Shanghai University->S3 Graphics->Deepin, Shanghai, ChinaCopyright (C) 2012-2016 Wang Bin (aka. Lucas Wang) wbsecg1@gmail.com Donate: http://qtav.org/donate.html Source: https://github.com/wang-bin/QtAV Home page: http://qtav.org Debug: "Build with Qt-5.6.0" Debug: "FFmpeg/Libav configuration: --enable-cross-compile --target-os=linux --cross-prefix=arm-linux- --cc=arm-linux-gcc --enable-shared --arch=arm --disable-yasm --prefix=/usr/local/arm" Debug: "Build with avutil-55.17.103" Debug: "Build with avcodec-57.24.102" Debug: "Build with avformat-57.25.100" Debug: "Build with avfilter-6.31.100" Debug: "Build with avdevice-57.0.101" Debug: "Build with swresample-2.0.101" Debug: "Build with swscale-4.0.100" Debug: engine: "LibASS" SubtitleProcessor::id("LibASS") Not found Unknown id Debug: engine: "FFmpeg" SubtitleProcessor::id("FFmpeg") Debug: engine: "FFmpeg" SubtitleProcessor::id("FFmpeg") VideoDecoder::id("FFmpeg") VideoDecoder::id("FFmpeg") Warning: "can not load cuda!" Debug: -f set: "/mnt/test_video.mp4" Debug: Registered audio backends: ("null") Fatal: EGLFS: OpenGL windows cannot be mixed with others. Aborted
你编译一个qt opengl例子跑跑看
registerRenderers........... QDesktopServices::storageLocation 6 not implemented VideoRenderer::id("Widget") Unknown id 运行的程序平台:S5P4412 arm linux