After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 349684 - Unable to record in 16bpp display modes
Unable to record in 16bpp display modes
Status: RESOLVED FIXED
Product: istanbul
Classification: Other
Component: general
HEAD CVS
Other All
: Normal normal
: ---
Assigned To: Istanbul maintainers
Istanbul QA maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-02 16:49 UTC by Chong Kai Xiong
Modified: 2006-08-04 18:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GST debug log (123.36 KB, application/x-bzip)
2006-08-02 16:52 UTC, Chong Kai Xiong
Details

Description Chong Kai Xiong 2006-08-02 16:49:06 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):
  • File "/home/descender/installs/istanbul/lib/python2.4/site-packages/istanbul/main/tray_icon.py", line 56 in _trayicon_clicked
    self.current_screencast.start_recording()
  • File "/home/descender/installs/istanbul/lib/python2.4/site-packages/istanbul/main/screencast.py", line 109 in start_recording
    self._pipeline = gst.parse_launch(final_pipeline)
gobject.GError: could not link videorate0 to ffmpegcsp0

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.
Comment 1 Chong Kai Xiong 2006-08-02 16:52:45 UTC
Created attachment 70081 [details]
GST debug log

GST debug log at '*:5'
Comment 2 Zaheer Abbas Merali 2006-08-04 08:38:58 UTC
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.
Comment 3 Zaheer Abbas Merali 2006-08-04 08:40:27 UTC
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.
Comment 4 Zaheer Abbas Merali 2006-08-04 10:30:12 UTC
Fixed in CVS.  Please retry.
Comment 5 Chong Kai Xiong 2006-08-04 18:47:42 UTC
Confirm fix.