GNOME Bugzilla – Bug 349684
Unable to record in 16bpp display modes
Last modified: 2006-08-04 18:47:42 UTC
Please describe the problem: Istanbul hangs with a link error between ffmpegcolorspace and videorate when recording screencasts in 16bpp display modes. Steps to reproduce: 1. run X under 16bpp modes 2. launch Istanbul 3. start recording 4. stop recording Actual results: Recording fails with the following output: DEBUG: final pipeline: istximagesrc name=videosource ! video/x-raw-rgb,framerate=10/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=1600,height=1200,framerate=10/1 ! theoraenc ! oggmux name=mux ! filesink location=/tmp/tmpYMfEZn Traceback (most recent call last):
+ Trace 69910
self.current_screencast.start_recording()
self._pipeline = gst.parse_launch(final_pipeline)
Stopping the failed recording gives: Traceback (most recent call last): File "/home/descender/installs/istanbul/lib/python2.4/site-packages/istanbul/main/tray_icon.py", line 62, in _trayicon_clicked self.current_screencast.stop_recording() File "/home/descender/installs/istanbul/lib/python2.4/site-packages/istanbul/main/screencast.py", line 136, in stop_recording self._vsource.set_state(gst.STATE_NULL) AttributeError: Screencast instance has no attribute '_vsource' Istanbul hangs here. Expected results: Recording should proceed normally Does this happen every time? Yes Other information: This is probably related to #349633.
Created attachment 70081 [details] GST debug log GST debug log at '*:5'
DEBUG (0x933f3f0 - 0:00:03.041105000) GST_CAPS(10738) gstpad.c(1999):gst_pad_peer_get_caps: get peer caps of videorate0:sink (0x9411180) DEBUG (0x933f3f0 - 0:00:03.042597000) GST_CAPS(10738) gstpad.c(1892):gst_pad_get_caps_unlocked: pad getcaps videorate0:src returned video/x-raw-rgb, bpp=(int)16, depth=(int)16, endianness=(int)1234, red_mask=(int)0, green_mask=(int)0, blue_mask=(int)0, width=(int)1600, height=(int)1200, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ] is interesting, the masks are wrong.
DEBUG (0x933f3f0 - 0:00:03.041294000) GST_CAPS(10738) gstpad.c(1875):gst_pad_get_caps_unlocked: get pad caps of videosource:src (0x94110c0) DEBUG (0x933f3f0 - 0:00:03.041433000) GST_CAPS(10738) gstpad.c(1892):gst_pad_get_caps_unlocked: pad getcaps videosource:src returned video/x-raw-rgb, bpp=(int)16, depth=(int)16, endianness=(int)1234, red_mask=(int)0, green_mask=(int)0, blue_mask=(int)0, width=(int)1600, height=(int)1200, framerate=(fraction)[ 1/2147483647, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ] It gets that from istximagesrc.
Fixed in CVS. Please retry.
Confirm fix.