[maemo-developers] Problems with PyGst
From: Tomi Pieviläinen tomi.pievilainen at iki.fiDate: Wed Jan 13 14:59:45 EET 2010
- Previous message: way to hang up calls via dbus
- Next message: Debhelper 7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ok, here goes. All the time I'm wondering if the problems I get are from gst, pygst, qt, pyside or something else, but perhaps someone here can point me to the right direction, since there are people knowledgeable with gst, pyside and maemo here. http://koti.kapsi.fi/hukka/videolabel.py and http://koti.kapsi.fi/hukka/simpletest.py are a simple app to open a videofile and play it next to the buttons. It works most of the time on desktop, though I always seem to get an X Error: BadWindow (invalid Window parameter) 3 Major opcode: 3 (X_GetWindowAttributes) Resource id: 0x2800284 when setting the X id. But sometimes I get only audio and first: X Error: BadWindow (invalid Window parameter) 3 Major opcode: 2 (X_ChangeWindowAttributes) Resource id: 0x280028b X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Major opcode: 55 (X_CreateGC) Resource id: 0x280028b X Error: BadWindow (invalid Window parameter) 3 Major opcode: 3 (X_GetWindowAttributes) Resource id: 0x280028b X Error: BadGC (invalid GC parameter) 13 Major opcode: 70 (X_PolyFillRectangle) Resource id: 0x340000a and then a quick stream of: X Error: BadGC (invalid GC parameter) 13 Extension: 132 (Uknown extension) Minor opcode: 19 (Unknown request) Resource id: 0x340000a Running on N900, I always fail to get video and these errors appear. After repeated attempts I even got the N900 to crash and reboot. I'm testing the script with the 9.mp4 and Nokia_N900.mp4, both on desktop and N900. A simpler script http://koti.kapsi.fi/hukka/qt-gst-playbin2-label.py plays only audio on desktop without errors, but on N900 I see a black window opening and immediately closing, with the same BadGC errors and only audio. Even simpler scripts http://koti.kapsi.fi/hukka/qt-gst-videosrc-onewindow.py and http://koti.kapsi.fi/hukka/qt-gst-playbin2-onewindow.py work always, though with ogg (you can get it from http://www.bigbuckbunny.org/index.php/download/) the framerate is horrible due to cpu decoding (but that's not the point here, it plays). -- Tomi Pieviläinen, +358 400 487 504 A: Because it disrupts the natural way of thinking. Q: Why is top posting frowned upon? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100113/76fbc60d/attachment.pgp>
- Previous message: way to hang up calls via dbus
- Next message: Debhelper 7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]