** Description changed: Since Ubuntu 14.04 LTS I have problem with displaying videos through QGraphicsProxyWidget. All videos are blue colored. Everything works fine with phonon-backend-vlc, and worked flawlessly on ubuntu 13.10 and older. Platform: Ubuntu 14.04 (latest) x64 - all derivates are the same Python: 2.7+ and PySide 1.2.1 or PyQt 4.10.4 Package version: phonon-backend-gstreamer 4.7.1+git20140403-0ubuntu1 Code to reproduce bug: (works both on PySide and PyQt) ------------------------------------------------------------------------------------------------------------------------------ from PyQt4.QtGui import * from PyQt4.QtCore import * from PyQt4.phonon import Phonon app = QApplication([]) app.setApplicationName("MyApp") file_path = u"/home/milan/small.mp4" # change here! gv = QGraphicsView() scene = QGraphicsScene(gv) gv.setScene(scene) media_src = Phonon.MediaSource(file_path) media_obj = Phonon.MediaObject() media_obj.setCurrentSource(media_src) video_widget = Phonon.VideoWidget() audio_out = Phonon.AudioOutput(Phonon.VideoCategory) Phonon.createPath(media_obj, video_widget) Phonon.createPath(media_obj, audio_out) playerProxy = scene.addWidget(video_widget) # rect = QGraphicsRectItem(0, 0, 100, 100) # rect.setBrush(Qt.red) # rect.setFlag(QGraphicsItem.ItemIsMovable) # scene.addItem(rect) media_obj.play() gv.show() app.exec_() ------------------------------------------------------------------------------------------------------------------------- Code without QGraphicsProxyWidget: (to test phonon functionality) ------------------------------------------------------------------------------------------------------------------------- from PyQt4.QtGui import * from PyQt4.QtCore import * from PyQt4.phonon import Phonon app = QApplication([]) app.setApplicationName("MyApp") file_path = u"/home/milan/small.mp4" # change here ! media_src = Phonon.MediaSource(file_path) media_obj = Phonon.MediaObject() media_obj.setCurrentSource(media_src) video_widget = Phonon.VideoWidget() audio_out = Phonon.AudioOutput(Phonon.VideoCategory) Phonon.createPath(media_obj, video_widget) Phonon.createPath(media_obj, audio_out) media_obj.play() video_widget.show() app.exec_() -------------------------------------------------------------------------------------------------------------------------- Since phonon-backend-gstreamer version has been updated to 4.7.1 with Ubuntu 14.04, I believe this is a bug which needs to be fixed. + + Edit: Downgrading phonon-backend-gstreamer to version from Ubuntu 13.10 + works fine. + + Edit 2: This issue also affects Ubuntu 14.10 official beta (for now).
-- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to phonon-backend-gstreamer in Ubuntu. https://bugs.launchpad.net/bugs/1354901 Title: blue videos with QGraphicsProxyWidget To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/phonon-backend-gstreamer/+bug/1354901/+subscriptions -- kubuntu-bugs mailing list kubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs