Xvidcap record sound with Alsa

Hello guys,
I'm running the latest version of xvidcap 64bit from the repos and would like to record audio as well as video. I run also alsa and thought I would have sound when I install alsa-oss as I've read somewhere that xvidcap needs OSS to record audio.
Can anyone help me out how to enable sound recording?
Thank you

Try wiki re alsamixer settings.

Similar Messages

  • [SOLVED]No Sound with ALSA - Intel Corporation 82801G HD Audio

    Hey all,
    I've succesfully installed Arch Linux. My past two attempts have met with failure, all because of my own failure to read and follow directions correctly. This time everything is installed correctly. I am running Kdemod3 on my laptop with Arch and everything works great. I LOVE Pacman and the simplicity of Arch's configuration files. It's super fast and all together simple. My only remaining problem is this:
    My sound with ALSA is not functioning. I followed the installation instructions at the arch wiki and after unmuting all of my channels I still would not get any sound. My sound module is snd_hda_intel and it is detected, loaded and the whole nine yards (as far as I can tell). My user is a member of the 'audio' user group also. I looked at the troubleshooting tips on the bottom of the Wiki but decided not to try them as they do not seem to pertain to my card (snd_hda_intel) but I will try them if anyone would like me to.
    If anyone has any ideas, they'd be greatly appreciated!:D Anything I can provide that you need I will be more than willing to provide.
    Thanks for such a great distribution,
    Dan
    Last edited by JazzDan (2008-06-29 05:06:35)

    Problem resolved. I ran alsaconf, selected my soundcard, and everything was working from there out. Thanks MisfitI38 on the IRC!!!

  • Recording sound with Soundbooth

    I managed to record sound with the system 'sound recorder', but when I try to record sound in soundbooth with the same mic (simple cheap mic) there is nothing showing on the meter and nothing records. Can somebody please explain to me what is the problem?

    While Premiere and Soundbooth both support a Windows audio standard called ASIO, both also include a driver that will let you use audio devices that do not support this format.  The driver is configured by default, but may not always select the proper input port - depending on the audio device and what Windows reports to the application.
    Fortunately, it's not too difficult to tinker around and find the right setting.  In Soundbooth, choose Edit > Preferences > Audio Hardware...  In the dialog that pops up, you should see a drop-down labeled "Default Device"  If you are running Soundbooth CS4, you should see "Soundbooth 2.0 WDM Sound" listed here.  Click the Settings button, and in the new dialog, click the "Input" tab.  Here you'll see a list of input ports for your selected audio device.  Make certain your microphone port is enabled, and click OK a few times to get back to the main program.  Click the Record button and make sure the microphone input is selected in the Port: dropdown.  Try recording and see if this solves the problem.
    If it still does not record, or you do not see the proper input to enable, you may need to verify the proper audio device is selected, or if you're running Windows Vista, that the input port you want to use is enabled in Window's Audio settings.  You can find this by right clicking on the speaker icon in your system try and choose "Recording Devices."
    Good luck!
    Durin

  • Distorted / choppy recorded sound with Audigy 2 ZS and Vista 64-bit

    Hi, I wonder if anybody has any idea of why this issue is happening. First let me give you my PC specs:
    CPU: AMD Phenom II X4 940 @ 3.0 GHz
    Mobo: Gigabyte GA-M57SLI-S4 rev. 2.0
    Graphics: 2 x BFG GeForce 8800 GT 52MB
    RAM: 4 x GB G.Skill PC6400 @ 800 MHz
    Sound: Creative SB Audigy 2 ZS
    TV Tuner:? Hauppauge WinTV PVC PCI II (26xxx)
    OS: Windows Vista Ultimate 64-bit SP
    ?So here's the deal. I have no problems whatsoever with audio playback with this sound card. The issue I am having is while recording sound with it. When I record my voice via a Microphone with the Windows Sound Recorder and then play it back, my voice sounds very choppy. It sounds as if I was talking in front of a fan. The same happens with any program I try to use. If I use Audacity to record sound, the playback is also distorted / choppy. The main problem is with Skype, as I cannot use it to talk to people because they cannot understand what I'm saying because of the issue. Does anybody has any ideas why this happens? My PC is a dual boot PC with Vista 64-bit and XP 32-bit, and this issue only happens with Vista. Sound recorded plays back fine under Windows XP.
    I am using the latest drivers available for this card from the Creative site.
    I'd appreciate your help,
    Daniel

    StormPetrel wrote:
    A little bit off topic here, but 64bit does not mean more performance at all lol.
    Sure, but there are in some cases drastic performence diferences. Under a fresh installed Vista X64 i have less CPU usage, as under 32 bit. But of course X64 uses more RAM (some tasks are double 32 and 64 bit).But the main reason I have more performence is, that the games I often play, get almost a boost. Dont ask me why, but under 64 bit EAW and FOC have the same FPS as under 32 bit. But under X64 I use a bit more Details and a higher resolution. (both are 32 bit games, so its a bit funy )?______________________?Sure there are other ways to install the drivers. But if some Setup dosent work, the first thing I try is to get it via Divice Management. And as this worked for me, I dont waste time to try other methods (Had bad experience, you can break the driver faster than install it *G*)?______________________?Some Questions I have left (after a few hours undr X64 with Creative Drivers):?Could it be, that the driver causes sometimes havy CPU usage?Could it also be, that the driver causes some lags, after you copy a file (the end sound, copy is finihed, but takes more time for "final finish", than without the drivers) - I know that Vista has some problems, on some PCs with copy, and that MS has an inoficial Patch (but dosent help for my PC so far)

  • Recording Sound with video

    I was previously able to record sound at the same time that I captured video, now I can't. I use the on board camera to capture video and an external mic. I need to know how to capture video and sound simultaneously.

    Go to your Sound in the System Preferences and see if it is set up properly and you can test the microphone there. Then open up iChat prefernces, Audio/Video and see how that is set up and see if your audio works as you speak there. there have been some problems with that, and i think you fix it by resetting the PRAM or NVRAM
    http://support.apple.com/kb/ht1379
    worth a try
    roger

  • IMovie not recording sound with iSight image

    In system preferences > sound, I have Built-in microphone selected. But Audacity won't record sound (never works anyway) and iMovie will record image from the iSight, but no sound.
    What am I missing?

    You're welcome. After further investigation, not only does the volume in the system preferences affect the mic, the actual "voice over" (microphone icon) does as well, even though I'm recording with iSight and not, specifically, a voice over.
    However, fantastic YouTube video diaries or whatever they're called must be done on a PC or a Mac that knows how to shut up. If there's one thing right now that's about to make this computer fly through the air, it's the fans that rev up to 6000 and even an external mic picks up the noise. Not much I can do about it. Maybe Snow Leopard and iLife '09 solved the issue.

  • [SOLVED] Low sound with ALSA

    Hi! I'm using alsa on a laptop with master, speaker and PCM at 100%, and I still can't get an output as loud as I'd like.
    On ubuntu with pulseaudio, I had the option of setting the volume to 120% on the sound preferences menu, which made a desirable volume level for me. Is there an equivalent thing in arch? Is this like setting PCM to something higher than 0b?
    Cheers!
    Last edited by orlox (2010-08-14 20:09:46)

    Just installed pulseaudio. Not really a solution to the name of this thread, since I didn't get a loud volume with ALSA, but it solves my problem of having low volume on my PC

  • No sound with ALSA & Fluidsynth enabled (as normal user)

    Ahoy!
    I'm using pure ALSA (no pulseaudio) and I have a problem that when I start Fluidsynth I have no sound anymore. Without starting Fluidsynth, everything is working just fine.
    I can play sound with Fluidsynth enabled though when I add myself to the audio group. However, I didn't need to do that in the past. In fact, I have Fluidsynth up and running with ALSA on my laptop and everything works just fine and I remember reading in the wiki that the user is not supposed to be added to the audio group.
    Here's some information:
    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: A2G [AuzenTech X-Meridian 2G], device 0: Multichannel [Multichannel]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: A2G [AuzenTech X-Meridian 2G], device 1: Digital [Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    cat /proc/asound/cards
    0 [A2G ]: CMI8788 - AuzenTech X-Meridian 2G
    C-Media Oxygen HD Audio at 0xc000, irq 17
    1 [NVidia ]: HDA-Intel - HDA NVidia
    HDA NVidia at 0xfa080000 irq 17
    aconnect -o
    client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
    client 16: 'AuzenTech X-Meridian 2G' [type=kernel]
    0 'AuzenTech X-Meridian 2G MIDI'
    And here's how it looks like when I start Fluidsynth (including the error message I get):
    USER@PROBLEM ~ % speaker-test -c 2
    speaker-test 1.0.28
    Playback device is default
    Stream parameters are 48000Hz, S16_LE, 2 channels
    Using 16 octaves of pink noise
    Rate set to 48000Hz (requested 48000Hz)
    Buffer size range from 2048 to 16384
    Period size range from 1024 to 1024
    Using max buffer size 16384
    Periods = 4
    was set period_size = 1024
    was set buffer_size = 16384
    0 - Front Left
    1 - Front Right
    ^CWrite error: -4,Interrupted system call
    xrun_recovery failed: -4,Interrupted system call
    Transfer failed: Interrupted system call
    USER@PROBLEM ~ % sudo systemctl start fluidsynth.service
    USER@PROBLEM ~ % sudo systemctl status fluidsynth.service
    ● fluidsynth.service - FluidSynth Daemon
    Loaded: loaded (/usr/lib/systemd/system/fluidsynth.service; disabled)
    Active: active (running) since Sat 2014-10-04 10:11:18 UTC; 6s ago
    Main PID: 1017 (fluidsynth)
    CGroup: /system.slice/fluidsynth.service
    └─1017 /usr/bin/fluidsynth -is -a alsa -m alsa_seq -r 48000 /usr/s...
    Oct 04 10:11:19 PROBLEM fluidsynth[1017]: fluidsynth: warning: Requested...d
    Hint: Some lines were ellipsized, use -l to show in full.
    USER@PROBLEM ~ % speaker-test -c 2
    speaker-test 1.0.28
    Playback device is default
    Stream parameters are 48000Hz, S16_LE, 2 channels
    Using 16 octaves of pink noise
    ALSA lib pcm_dmix.c:989:(snd_pcm_dmix_open) unable to create IPC semaphore
    Playback open error: -13,Permission denied
    aconnect -o
    client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
    client 16: 'AuzenTech X-Meridian 2G' [type=kernel]
    0 'AuzenTech X-Meridian 2G MIDI'
    client 128: 'FLUID Synth (1017)' [type=user]
    0 'Synth input port (1017:0)'
    Any ideas?
    Last edited by Janusz11 (2014-10-04 08:26:54)

    Thanks. I've set Fluidsynth up the way it is described in the wiki (FluidSynth). If I'm not mistaken it is already started with the "-a alsa" option through the config file (SYNTHOPTS="-is -a alsa -m alsa_seq -r 48000" ).
    Well, since adding the user to the audio group fixes the problem I'll do that now.

  • Record sound with mic, phase shift 180 degrees, then play?

    I'm looking to record something with a microphone, phase shift it (up to 180 degrees), then play it into a speaker.
    Is there a way to do this in Labview?
    I have various DAQ boards (NI 9233) and a microphone, the Sound and Vibration suite, and a PC with speakers.
    Solved!
    Go to Solution.

     In LabVIEW>>Help>>Find Examples... search "sound", there are some examples.
    Attachments:
    wav recorder.JPG ‏137 KB
    sound player.JPG ‏120 KB

  • How do you record sound with Apple headphones Mac Pro?

    (2008 Mac Pro)  I'm trying to record a voice over on iMovie, and it won't record sound no matter what option I use for the sound input.  I'm plugging my apple headphones into the headphone jack like I do on my MacBook (which works).  I know  that the Macbook has an in/out in one jack, but is it not the same for the Mac Pro?  I've tried sticking the headphones in the back audio out where I can plug my stereo in and it wont even plug in.  Also I know its not iMovie because Quicktime doesn't work with audio recording either.

    The Mac Pro is not compatible with analog microphones.  Its headphone jack is for output only.  It does not work with headset microphones.  Its audio in jack is line-level, so would need a pre-amp to work with most microphones.
    The simplest solution is a USB headset or microphone.
    <http://store.apple.com/us/browse/home/shop_mac/mac_accessories/music_creation>

  • Cant get stereo sound with alsa

    i installed arch about 5 or 6 months ago and setup alsa for sound
    The problem is that only the left speaker is working.  Somehow i have gone all this time without ever noticing.  I probably would still have not noticed except i booted into windows the other day, for the first time in about a year, and realized that I had two speakers working with media player.
    i've scanned through the wiki and done some google and forum searching, but i can't seem to find anything about getting stereo sound to work with alsa.
    Is anybody else having this problem?  What can i do to make both speakers work?
    Last edited by tjwoosta (2009-04-30 19:35:44)

    [tj@myhost ~]$ amixer contents
    numid=2,iface=MIXER,name='Master Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=1,iface=MIXER,name='Master Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
    : values=31,31
    | dBscale-min=-46.50dB,step=1.50dB,mute=0
    numid=7,iface=MIXER,name='PCM Playback Volume'
    ; type=INTEGER,access=rw---RW-,values=2,min=0,max=255,step=0
    : values=255,255
    | dBscale-min=-51.00dB,step=0.20dB,mute=0
    numid=5,iface=MIXER,name='Capture Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=4,iface=MIXER,name='Capture Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=15,step=0
    : values=15,15
    | dBscale-min=0.00dB,step=1.50dB,mute=0
    numid=8,iface=MIXER,name='Digital Capture Volume'
    ; type=INTEGER,access=rw---RW-,values=2,min=0,max=120,step=0
    : values=0,0
    | dBscale-min=-30.00dB,step=0.50dB,mute=0
    numid=3,iface=MIXER,name='Input Source' ; type=ENUMERATED,access=rw------,values=1,items=3
    ; Item #0 'Mic'
    ; Item #1 'Front Mic'
    ; Item #2 'CD'
    : values=0
    numid=6,iface=MIXER,name='Mux Capture Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=4,step=0
    : values=0,0
    | dBscale-min=0.00dB,step=10.00dB,mute=0
    [tj@myhost ~]$
    i have no idea what any of this means

  • Photo booth will not record sound with video

    I have always been able to record sound when using photo booth. Now i cant seem to do it.

    Have you got your Input Sound in System Prefs set to Internal microphone or Line in?

  • How to record sound with JMF?

    I just want to record a clip of sound and save it in a WAV file. I exhausted the web but just couldn't find a tutorial. Would someone be kind enough to give me a tutorial or a sample code? The simpler the better. Thanks.

    Hi there,
    The following lines of code will record sound for 5 sec and save it in file C:/test.wav.
    import java.io.IOException;
    import javax.media.CannotRealizeException;
    import javax.media.DataSink;
    import javax.media.Format;
    import javax.media.Manager;
    import javax.media.MediaLocator;
    import javax.media.NoDataSinkException;
    import javax.media.NoProcessorException;
    import javax.media.NotRealizedError;
    import javax.media.Processor;
    import javax.media.ProcessorModel;
    import javax.media.format.AudioFormat;
    import javax.media.protocol.FileTypeDescriptor;
    public class WAVWriter {
         public void record(){
              AudioFormat format = new AudioFormat(AudioFormat.LINEAR, 44100, 16, 1);
              ProcessorModel model = new ProcessorModel(new Format[]{format}, new FileTypeDescriptor(FileTypeDescriptor.WAVE));
              try {
                   Processor processor = Manager.createRealizedProcessor(model);
                   DataSink sink = Manager.createDataSink(processor.getDataOutput(), new MediaLocator("file:///C:/test.wav"));
                   processor.start();
                   sink.open();
                   sink.start();
                   Thread.sleep(5000);
                   sink.stop();
                   sink.close();
                   processor.stop();
                   processor.close();
              } catch (NoProcessorException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (CannotRealizeException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (NoDataSinkException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (NotRealizedError e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (InterruptedException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public static void main(String[] args) {
              new WAVWriter().record();
    }I hope this will help. Don't forget to go through JMF guide (http://www.cdt.luth.se/~johank/smd151/jmf/jmf2_0-guide.pdf), especially page 81... it's not always helpfull, but sometimes, it may give you some good answers.
    Happy coding!!!

  • How to record sound with Java Sound?

    I just want to record a clip of sound and save it to a WAV file. I exhausted the web but didn't find a tutorial. Would someone be kind enough to give me a tutorial or a sample code? The simpler the better. Thanks.

    Here's the code I used to record and play sound. Hope the length do not confound you.
    import javax.sound.sampled.*;
    import java.io.*;
    // The audio format you want to record/play
    AudioFormat.Encoding encoding = AudioFormat.Encoding.PCM_SIGNED;
    int sampleRate = 44100;
    byte sampleSizeInBits = 16;
    int channels = 2;
    int frameSize = 4;
    int frameRate = 44100;
    boolean bigEndian = false;
    int bytesPerSecond = frameSize * frameRate;
    AudioFormat format = new AudioFormat(encoding, sampleRate, sampleSizeInBits, channels, frameSize, frameRate, bigEndian);
    //TO RECORD:
    //Get the line for recording
    try {
      targetLine = AudioSystem.getTargetDataLine(format);
    catch (LineUnavailableException e) {
      showMessage("Unable to get a recording line");
    // The formula might be a bit hard :)
    float timeQuantum = 0.1F;
    int bufferQuantum = frameSize * (int)(frameRate * timeQuantum);
    float maxTime = 10F;
    int maxQuantums = (int)(maxTime / timeQuantum);
    int bufferCapacity = bufferQuantum * maxQuantums;
    byte[] buffer = new byte[bufferCapacity]; // the array to hold the recorded sound
    int bufferLength = 0;
    //The following has to repeated every time you record a new piece of sound
    targetLine.open(format);
    targetLine.start();
    AudioInputStream in = new AudioInputStream(targetLine);
    bufferLength = 0;
    for (int i = 0; i < maxQuantums; i++) { //record up to bufferQuantum * maxQuantums bytes
      int len = in.read(buffer, bufferQuantum * i, bufferQuantum);
      if (len < bufferQuantum) break; // the recording may be interrupted
      bufferLength += len;
    targetLine.stop();
    targetLine.close();
    //Save the recorded sound into a file
    AudioInputStream stream = AudioSystem.getAudioInputStream(new ByteArrayInputStream(buffer, 0, bufferLength));
    AudioFileFormat.Type fileType = AudioFileFormat.Type.WAVE;
    File file = new File(...); // your file name
    AudioSystem.write(stream, fileType, file);
    //TO PLAY:
    //Get the line for playing
    try {
      sourceLine = AudioSystem.getSourceDataLine(format);
    catch (LineUnavailableException e) {
      showMessage("Unable to get a playback line");
    //The following has to repeated every time you play a new piece of sound
    sourceLine.open(format);
    sourceLine.start();
    int quantums = bufferLength / bufferQuantum;
    for (int i = 0; i < quantums; i++) {
      sourceLine.write(buffer, bufferQuantum * i, bufferQuantum);
    sourceLine.drain(); //Drain the line to make sure all the sound you feed it is played
    sourceLine.stop();
    sourceLine.close();
    //Or, if you want to play a file:
    File audioFile = new File(...);//
    AudioInputStream in = AudioSystem.getAudioInputStream(audioFile);
    sourceDataLine.open(format);
    sourceDataLine.start();
    while(true) {
      if(in.read(buffer,0,bufferQuantum) == -1) break; // read a bit of sound from the file
      sourceDataLine.write(buffer,0,buffer.length); // and play it
    sourceDataLine.drain();
    sourceDataLine.stop();
    sourceDataLine.close();You may also do this to record sound directly into a file:
    targetLine.open(format);
    targetLine.start();
    AudioInputStream in = new AudioInputStream(targetLine);
    AudioFileFormat.Type fileType = AudioFileFormat.Type.WAVE;
    File file = new File(...); // your file name
    new Thread() {public void run() {AudioSystem.write(stream, fileType, file);}}.start(); //Run this in a separate thread
    //When you want to stop recording, run the following: (usually triggered by a button or sth)
    targetLine.stop();
    targetLine.close();Edited by: Maigo on Jun 26, 2008 7:44 AM

  • Recording sound with Siemens API

    Hello, there is only com.siemens.mp.media package instead of javax.microedition.media on my Siemens C55. It containes most of classes from MMAPI but class RecordControl is missing:( Is there some other approach how to record sound in java on this telephone? There is built-in dictafone creating WAVs..
    Thank you for answers.
    Honza

    While Premiere and Soundbooth both support a Windows audio standard called ASIO, both also include a driver that will let you use audio devices that do not support this format.  The driver is configured by default, but may not always select the proper input port - depending on the audio device and what Windows reports to the application.
    Fortunately, it's not too difficult to tinker around and find the right setting.  In Soundbooth, choose Edit > Preferences > Audio Hardware...  In the dialog that pops up, you should see a drop-down labeled "Default Device"  If you are running Soundbooth CS4, you should see "Soundbooth 2.0 WDM Sound" listed here.  Click the Settings button, and in the new dialog, click the "Input" tab.  Here you'll see a list of input ports for your selected audio device.  Make certain your microphone port is enabled, and click OK a few times to get back to the main program.  Click the Record button and make sure the microphone input is selected in the Port: dropdown.  Try recording and see if this solves the problem.
    If it still does not record, or you do not see the proper input to enable, you may need to verify the proper audio device is selected, or if you're running Windows Vista, that the input port you want to use is enabled in Window's Audio settings.  You can find this by right clicking on the speaker icon in your system try and choose "Recording Devices."
    Good luck!
    Durin

Maybe you are looking for

  • Read from text file: time to number

    Ok short question. I've been using labview for logging data to a text file. I made it comma separated and looks like this: absolute time, relative time (since start exp), channel 1 data, channel 2 data. Well, I can sucessfully read from textfile and

  • Get an E-Mail-Notification if there is a alert for a SAP-System in DSWP

    Hello, how can i get an E-Mail-Notification when there is a alert in a SAP-System? I know that alerts are shown in the transaction dswp under System Monitoring but exists a alternative to get these alerts via E-Mail? In the transaction rz21 autoreact

  • Put All Day Events in a New Order?

    I have some events that I list as all day events that repeat so I can see which of my day care kids I have on which days. These events are all in 1 calendar (I have multiple calendars). There seems to be no rhyme or reason to the order they are liste

  • Unable to load sequence!!

    I have a sequence which was previously loading properly but now it refuses to load due to an apparant "Incorrect File Format" error (see attached image). It's very important I get this sequence to load other I will have lost a lot of work. Does anyon

  • Proper Way to Post a Web Template to the Intranet.

    Is there a more structured way of posting a report to the intranet, other than just copying and pasting the link to your intranet page.