我试图在Raspberry Pi 2 B中使用QtMediaPlayer播放video。源代码如下: QMediaPlayer *media; QVideoWidget *video; … … media = new QMediaPlayer(parent); video = new QVideoWidget(parent); media->setVideoOutput(video); media->setMedia(QUrl::fromLocalFile("/home/pi/Desktop/test3.mp4")); media->play(); 但结果是一个空白的video屏幕,并出现以下错误: ** (Bus:2148): WARNING **: ffmpegcolorspace-vo: size 1105920 is not a multiple of unit size 829440 Error: "GStreamer encountered a general stream error." 系统信息 运行最新的raspbian Jessie OS,安装Qt5.3,安装gstreamer0.10-plugins-good / bad / ugly / ffmpeg和Installed Mpeg-2 […]