Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

error while recording

Help
ace
2007-03-27
2013-06-03
  • ace
    ace
    2007-03-27

    Hi all,

    I get the following error while recording:

    tmp $ Initial recording window is set to:
    X:0   Y:0    Width:1600    Height:1200
    Adjusted recording window is set to:
    X:0   Y:0    Width:1600    Height:1200
    Your window manager appears to be KWin

    Initializing...
    Buffer size adjusted to 4096 from 4096 frames.
    Opened PCM device hw:0,1
    Playback frequency 22050Hz is not available...
    Using 48000Hz instead.
    Recording on device hw:0,1 is set to:
    2 channels at 48000Hz
    Capturing!

    tmp $ An error occured while reading sound data:
    Input/output error

    System is a SuSE-10.1, alsasound, arts, nVidia Corporation nForce3 250Gb AC'97 Audio Controller. Recording and sound via skype works. Any ideas?

    Ciao

    acepoint

     
    • Which version of recordMyDesktop are you using?

      If you only have one sound card then it should
      be hw:0,0 not hw:0,1.
      You can also try with plughw:0,0 and plughw:0,1.

      Also, if I recall correctly, Skype uses OSS and
      not ALSA, so you might want to compile recordMyDesktop
      with OSS as the primary sound backend(--enable-oss option
      in the configure script, present in 0.3.3 and later).

      You might also try recording sound with arecord, a commandline
      utility found in package alsa-utils.

      A command like this:
      ~$ arecord -D hw:0,1 -f S16_LE -r 48000 -c 2 --buffer-size=4096 out.wav

      will use the same settings as the ones you've posted above,
      so if this ends up recording sound correctly, let me know
      and I'll look further into it.

      John

       
    • ace
      ace
      2007-03-27

      Hi John,

      tx for your quick response. Don't kill me, but it works now. I definitely had this error message before:

      Couldn't open PCM device hw:0,0
      Error while opening/configuring soundcard hw:0,0

      I restarted alsa meanwhile, killed and restarted artsd and fiddled around with the configuration of kmix. But afair nothing decisively. Well, besides leaving my home pc alone for eight hours.

      Skype: since 1.3 alsa is available and works

      BTW, do you need someone making packages for Redhat, Ubuntu and SuSE? I already did some packaging in the past, and I'm still resposible for GNU Backgammon (www.gnubg.org).

      Ciao

      Achim

       
      • I'm glad it works. Failure to open the device means
        that it probably is busy recording already.
        If you weren't recording with another application,
        the device could have been locked due to a previous
        process that has not exited correctly.

        Thanks for offering to do packages but it is not needed.
        recordMyDesktop is present in Fedora Extras,
        Ubuntu Feisty(universe), Debian main in unstable
        (which means it'll soon be in all derivatives, if not already)
        and Guru's RPM site(http://linux01.gwdg.de/~pbleser/index.php)
        is serving RPMs for SUSE from 9.2 up to 10.2 on x86 and x86_64.

        Also, I've chosen to not offer any binary packages through this
        site, as I wouldn't be able to provide support for them.
        Thanks anyway, though.

        John