unable to record sound with istanbul

Bug #86281 reported by Stefano Costa
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Istanbul
Won't Fix
Medium
istanbul (Ubuntu)
Invalid
Undecided
Unassigned
Declined for Hardy by Daniel T Chen
pulseaudio (Ubuntu)
Invalid
Undecided
Unassigned
Declined for Hardy by Daniel T Chen

Bug Description

Binary package hint: istanbul

steko@cycnus:~$ istanbul
DEBUG: final pipeline: oggmux name=mux ! filesink location=/tmp/tmp8aQuFY istximagesrc name=videosource ! video/x-raw-rgb,framerate=10/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=1280,height=800,framerate=10/1 ! theoraenc ! queue ! mux. gconfaudiosrc name=audiosource ! audioconvert ! vorbisenc ! queue ! mux.

When I start recording, I get an error alert :
There was an error recording: Risorsa occupata o non disponibile.

Debug Information:
gstalsasrc.c(608): gst_alsasrc_open (): /pipeline0/audiosource/bin0/alsasrc0:
Device 'default' is busy

I have PulseAudio installed instead of ESD (don't know if it's related, just a guess)

Revision history for this message
Nanley Chery (nanoman) wrote :

I have got the same problem using Hardy. Whenever I enable the Record Sound option, record, then click to stop recording, Istanbul hangs on the saving to disk process. You mentioned you were using PulseAudio, and since Hardy uses PulseAudio by default, this may be the root of this problem.

Changed in istanbul:
status: New → Confirmed
Revision history for this message
Daniel T Chen (crimsun) wrote :

Are you able to record anything at all? Simply pressing record _should_ result in an error appearing immediately.

Changed in pulseaudio:
status: New → Invalid
Changed in istanbul:
status: Confirmed → Incomplete
Changed in istanbul:
status: Unknown → New
Revision history for this message
Lian (lian.hui.lui) wrote :

I can confirm this on Ubuntu Ultimate Edition 1.4 which is based on Feisty Fawn. Running istanbul from terminal gives this:
(istanbul:17003): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstfaad.so': /usr/lib/gstreamer-0.10/libgstfaad.so: undefined symbol: faacDecDecode

Clicking on record (with sound) gives this in the terminal:

DEBUG: final pipeline: oggmux name=mux ! filesink location=/tmp/tmpjV3gPi istximagesrc name=videosource display-name=:0.0 screen-num=0 use-damage=false ! video/x-raw-rgb,framerate=10/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=640,height=400,framerate=10/1 ! theoraenc ! queue ! mux. gconfaudiosrc name=audiosource ! audioconvert ! vorbisenc ! queue ! mux.

Recording without sound gives this:
DEBUG: final pipeline: istximagesrc name=videosource display-name=:0.0 screen-num=0 ! video/x-raw-rgb,framerate=10/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=640,height=400,framerate=10/1 ! theoraenc ! oggmux name=mux ! filesink location=/tmp/tmp2iKhnB

Recording without sound works.

Revision history for this message
Daniel T Chen (crimsun) wrote :

What if you use: pasuspender -- istanbul

Revision history for this message
Hew (hew) wrote :

The reporter has not responded, Nanley is experiencing bug 63996, and lian1238 is not using Ubuntu. In any case, Record Sound doesn't work while bug 63996 is open.

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in istanbul:
status: Incomplete → Invalid
Revision history for this message
Peter Schüller (schueller-p) wrote :

This issue seems to have persisted, see duplicate bug.

I also have this problem, trying to add missing information:

Using
$ pasuspender -- istanbul
changes the behavior:
without pasuspender: file input dialog pops up and then program terminates
with pasuspender: no file input dialog, no termination, but program hangs with the following output:

ps@peter:~$ pasuspender -- istanbul
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:37: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips = gtk.Tooltips()
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:77: DeprecationWarning: Use the new widget gtk.Tooltip
  _("Use a selector to select area of screen to capture."))
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:90: DeprecationWarning: Use the new widget gtk.Tooltip
  _("Select a window on the screen to capture"))
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:107: DeprecationWarning: Use the new widget gtk.Tooltip
  _("Tick this if you want to screencast a 3d application. This will however take more CPU power."))
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:119: DeprecationWarning: Use the new widget gtk.Tooltip
  _("Tick this if you want to record the mouse pointer during the screencast."))
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:133: DeprecationWarning: Use the new widget gtk.Tooltip
  _("Tick this if you want to record audio with the screencast. You can choose the audio device to record from in the Multimedia Systems Selector in Preferences."))
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:145: DeprecationWarning: Use the new widget gtk.Tooltip
  _("Select this if you do not want to scale down the size of the recording."))
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:169: DeprecationWarning: Use the new widget gtk.Tooltip
  _("Select this to scale down the recording resolution by 1/2."))
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:176: DeprecationWarning: Use the new widget gtk.Tooltip
  _("Select this to scale down the recording resolution by 1/4."))
DEBUG: final pipeline: oggmux name=mux ! filesink location=/tmp/tmpLcHwCA istximagesrc name=videosource display-name=:0.0 screen-num=0 show-pointer=false ! video/x-raw-rgb,framerate=10/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=1280,height=1024,framerate=10/1 ! theoraenc ! queue ! mux. gconfaudiosrc name=audiosource ! audioconvert ! vorbisenc ! queue ! mux.

strace on istanbul shows:
futex(0x9e770e8, FUTEX_WAIT_PRIVATE, 2, NULL

strace on pasuspender shows:
ppoll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=5, events=POLLIN}], 3, NULL, NULL, 8

Changed in istanbul:
importance: Unknown → Medium
Revision history for this message
Steeve McCauley (steeve-mccauley) wrote :

$ uname -a
Linux fiddle 2.6.32-24-generic-pae #43-Ubuntu SMP Thu Sep 16 15:30:27 UTC 2010 i686 GNU/Linux

$ pasuspender -- istanbul
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:37: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips = gtk.Tooltips()
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:77: DeprecationWarning: Use the new widget gtk.Tooltip
  _("Use a selector to select area of screen to capture."))
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:90: DeprecationWarning: Use the new widget gtk.Tooltip
  _("Select a window on the screen to capture"))
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:107: DeprecationWarning: Use the new widget gtk.Tooltip
  _("Tick this if you want to screencast a 3d application. This will however take more CPU power."))
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:119: DeprecationWarning: Use the new widget gtk.Tooltip
  _("Tick this if you want to record the mouse pointer during the screencast."))
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:133: DeprecationWarning: Use the new widget gtk.Tooltip
  _("Tick this if you want to record audio with the screencast. You can choose the audio device to record from in the Multimedia Systems Selector in Preferences."))
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:145: DeprecationWarning: Use the new widget gtk.Tooltip
  _("Select this if you do not want to scale down the size of the recording."))
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:169: DeprecationWarning: Use the new widget gtk.Tooltip
  _("Select this to scale down the recording resolution by 1/2."))
/usr/lib/pymodules/python2.6/istanbul/main/tray_popup.py:176: DeprecationWarning: Use the new widget gtk.Tooltip
  _("Select this to scale down the recording resolution by 1/4."))
DEBUG: final pipeline: istximagesrc name=videosource display-name=:0.0 screen-num=0 show-pointer=false ! video/x-raw-rgb,framerate=10/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=1920,height=1080,framerate=10/1 ! theoraenc ! oggmux name=mux ! filesink location=/tmp/tmpHXhZTC
istanbul: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

Changed in istanbul:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.