I cannot capture Audio

MacBook Pro 2.33 GHz
Final Cut Pro 5.1.4
Quicktime Pro 7.1.5
JVC Camcorder GR-DV4000E
Connected via firewire direct to the MacBook
I have reinstalled Quicktime and trashed the FCP preferences.
When I go to Audio/Video settings>Capture Presets and edit my DV PAL 48 kHz settings under Quicktime Video Settings I get [Missing] DV Video and under Quicktime Audio Settings [Missing] DV Audio.
In the digitizer menu under Quicktime Video Settings there is an item DV Video. If I select DV Video it does show next to input my camcorder (GR-DV4000). But when I select DV Video, there is not anymore a setting DV Audio in the menu under Quicktime Audio Settings (not even the [Missing] DV Audio setting).
This behavior does not change if I select View>Reset AV Devices.
I can capture video, but though there seems to be an audio file, it is silent. If I select Show Audio Waveforms in the timeline, there is no waveform visible. The viewer does have a stereo tab but it shows no (visible) audio waveforms.
In System Settings, Capture Audio and Video to Separate Files is disabled. Enabling this does not make any difference.
Is this a known bug? Anything I do wrong? Anything I could try?
MacBook Pro Mac OS X (10.4.9) 2 GB Memory
MacBook Pro Mac OS X (10.4.9) 2 GB Memory
MacBook Pro Mac OS X (10.4.9) 2 GB Memory
MacBook Pro Mac OS X (10.4.9) 2 GB Memory
MacBook Pro Mac OS X (10.4.9) 2 GB Memory
MacBook Pro Mac OS X (10.4.9) 2 GB Memory
MacBook Pro Mac OS X (10.4.9) 2 GB Memory
MacBook Pro   Mac OS X (10.4.9)   2 GB Memory

Were the capture settings and any other settings the
same for your test with the powerbook?
Have you successfully captured on your macbook pro
prior to your current problems?
If so, have you made any changes to your system,
software updates, system updates, Third party apps or
plugins?
In your original post you mention that though
there seems to be an audio file, it is silent
what exactly does this mean? Do you get a green
audio track after capturing, but it is silent? Is
there any movement in the levels meter (next to the
toolbar)? Is there definitely audio on the tape(s)
in question (do you hear it playing it on the cam?)
Do any other tapes work?
When I originally asked what the capture settings
are, I was wondering if you have set FCP to capture
audio from Ch1 when it was recorded to Ch2 on the
camera i.e are you capturing audio 'Ch1 + Ch2', Ch1
(L), CH2 (R), 'Stereo', 'Mono mix'?
The Capture settings were exactly the same.
This is the first time I try to capture on the MacBook Pro.
I used the migration assistant to transfer my software on the Powerbook to the MacBook Pro.
I get 4 green audio tracks that are silent. There is no movement in the audio meters, nor on the timeline, nor in the capture window.
There is audio on the tapes. I have captured 11 different tapes that are all silent. Everything works on the Powerbook. The sound on the tapes is 16 bit stereo. Capture was set to record Left and Right linked as a stereo file.
I think this happens because I cannot select DV Audio in the Audio/Video Settings.
The strange thing is that I get [Missing] DV Video and [Missing] DV Audio in the Audio/Video Settings. In the menu under Video Settings I can select DV Video, but when I select this, there is no more DV Audio in the menu under Audio Settings.
The tapes were captured with [Missing] DV Video and [Missing] DV Audio. This captures the video but not the audio.
MacBook Pro Mac OS X (10.4.9) 2 GB Memory

Similar Messages

  • Cannot Capture Audio via AJA IoHD

    I suddenly cannot capture audio via my AJA IoHD. I am using a JVC ProHD deck which connects through SDI to the IoHD and then into the Mac via FW800.
    The system audio is routed to the IoHD. FCP AJA IoHD 720p 59.94 Apple ProRes 422 (HQ) easy setup is selected. Capture Clip Settings are set to capture 8 channels of audio, 48Khz 24 Bit.
    I've got to be missing something. Previously captured clips have audio and playback no problem. I can see it in the meters.
    Now when capturing I can hear the audio but nothing registers on the meters and once captured there is no audio on the clip.
    I cannot think of what I am missing. I've been racking my brain and pounding my fists for hours. (That hasn't worked either)
    Any ideas?

    Yes... forgot to mention that the audio box is checked in the log clip settings pane. It behaves as if it isn't though.
    I just called Apple support and they were decidedly unhelpful.

  • DigiVox A/D - Cannot render audio capture

    Hello, i have DigiVOX A/D. I configured it and I can watch TV. But when I try to capture it, there is a "Cannot render audio capture" message. I tried a lot of parameters changes but nothing helped. Can you please help?
    Juso

    So I did some more testing. Now it works this way:
    I can watch TV and it works OK. When I click capture it doesn't work and it writes error message "Cannot render audio capture". I go to settings and setup to capture only audio. I try to capture. I do some more modifications. It still doesn't work. But on some point of configuration (I could't find exaxtly when) the sound stops during watching. And if I try to capture at that time, it captures OK with audio and video. It doesn't matter whether I use Mpeg 2 or Mpeg 4. Both works. So I think codecs are OK. And it works so (no audio during watching and good audio and video during capture) till I close the application. When I start it again, there is sound when watching and error when clicking capture button. And again I can do some settings modification (random) and after some config steps it start capture but stops audio while watching.

  • WTK SDK 3.0 for OSX problem with capturing audio, emulator

    Hello all,
    i'm installed the WTK SDK 3.0 for osx and everything works well. Some test applications also work.
    Now I'm trying to realize my project and get strange error.
    I want to capture some audio form the microphone. But when i do so the Emulator strikes with this error:
    javax.microedition.media.MediaException: Player cannot be created for capture://audio
    so i tried this: System.getProperty("supports.recording") and it returns false. But when i read over the specification of the WTK it says that it should support the Audio capturing. Is this error based on the implementation of the WTK on OSX or have some Windows users also the same problem?
    here is my implementation for the Audio recording:
    public void commandAction(Command comm, Displayable disp){
            if(comm==recordCommand){
                try{
                    p = Manager.createPlayer("capture://audio");
                    p.realize();
                    RecordControl rc = (RecordControl)p.getControl("RecordControl");
                    ByteArrayOutputStream output = new ByteArrayOutputStream();
                    rc.setRecordStream(output);
                    rc.startRecord();
                    p.start();
                    messageItem.setText("recording...");
                    Thread.currentThread().sleep(5000);
                    messageItem.setText("done!");
                    rc.commit();
                    recordedSoundArray = output.toByteArray();
                    p.close();
                } catch (IOException ioe) {
                    errorItem.setLabel("Error");
                    errorItem.setText(ioe.toString());
                } catch (MediaException me) {
                    errorItem.setLabel("Error");
                    errorItem.setText(me.toString());
                } catch (InterruptedException ie) {
                    errorItem.setLabel("Error");
                    errorItem.setText(ie.toString());
            } else if(comm == playCommand) {
                try {
                    ByteArrayInputStream recordedInputStream = new ByteArrayInputStream
                          (recordedSoundArray);
                    Player p2 = Manager.createPlayer(recordedInputStream,"audio/basic");
                    p2.prefetch();
                    p2.start();
                }  catch (IOException ioe) {
                    errorItem.setLabel("Error");
                    errorItem.setText(ioe.toString());
                } catch (MediaException me) {
                    errorItem.setLabel("Error");
                    errorItem.setText(me.toString());
        any help would be grateful!
    thx and greetings
    Edited by: nYmou on Jun 1, 2010 3:44 AM

    Note: This thread was originally posted in the [Sun Java Wireless Toolkit|http://forums.sun.com/forum.jspa?forumID=82] forum, but moved to this forum for closer topic alignment.

  • Problems capturing audio under linux

    Hello. I have developed an application that captures audio using the Audio API of JFM. The problem is when I start capturing audio under Linux (all the audio devices are well configurated), the JVM returns the following error:
    java.lang.IllegalArgumentException : Illegal request to write non integral numbre of
    frames (13107 bytes)
    The piece of code that causes the error is :
    while(!stop) {
    numBytesRead = inputLine.read(data,0, data.length); bufferoutput.write(data,0,
    numBytesRead); }
    where inputLine is a TargetDataLine.
    Under Windows this runs OK. Anyone know why not under Linux?
    Thanks

    Hi!
    I'm developing a videoconferencing application on Linux and I can't
    capture audio; I get messages like these: "couldn't initialize audio device"
    or " or "java.io.IOException: Cannot open audio device for input." from JMStudio.
    Have you got any idea about the problem ?
    Thankyou.

  • Problem capturing audio

    Hello!!
    I am trying to capture audio using jmf 2.1.1.e in Linux (SuSE 8.1) with jdk 1.4.2_04. I have "alsa" properly installed. However, when I try to capture using jmstudio, I am shown "javaSound audio", LINEAR, 44100 Hz, 16 bits, stereo, little endian and after cliking OK I get :"Could't initialize the Capture Device".
    I also try to run a code to capture audio, using the following:
    Vector audioDevices = CaptureDeviceManager.getDeviceList(new AudioFormat(AudioFormat.LINEAR, 44100, 16, 2));
    CaptureDeviceInfo audioCDI = (CaptureDeviceInfo)audioDevices.elementAt(0); //I get javaSound
    ds = Manager.createDataSource(audioCDI.getLocator());
    processor = javax.media.Manager.createProcessor(ds);
    But I get the following exception:
    LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    LINEAR, 44100.0 Hz, 16-bit, Mono, LittleEndian, Signed
    LINEAR, 22050.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    LINEAR, 22050.0 Hz, 16-bit, Mono, LittleEndian, Signed
    LINEAR, 11025.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    LINEAR, 11025.0 Hz, 16-bit, Mono, LittleEndian, Signed
    LINEAR, 8000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    LINEAR, 8000.0 Hz, 16-bit, Mono, LittleEndian, Signed
    Audio not supported: interface TargetDataLine supporting format PCM_SIGNED, 44100.0 Hz, 16 bit, stereo, little-endian, audio data, and buffers of 22050 to 22050 bytes
    Audio not supported: interface TargetDataLine supporting format PCM_SIGNED, 44100.0 Hz, 16 bit, stereo, little-endian, audio data, and buffers of 22050 to 22050 bytes
    java.io.IOException: Cannot open audio device for input.
    javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.javasound.DataSource : java.io.IOException: Cannot open audio device for input.
    at javax.media.Manager.createDataSource(Manager.java:1012)
    at AVTransmit2.createProcessor(AVTransmit2.java:136)
    at AVTransmit2.start(AVTransmit2.java:54)
    at AVTransmit2.main(AVTransmit2.java:553)
    Exception in thread "main" java.lang.NullPointerException
    at AVTransmit2.waitForState(AVTransmit2.java:460)
    at AVTransmit2.createProcessor(AVTransmit2.java:188)
    at AVTransmit2.start(AVTransmit2.java:54)
    at AVTransmit2.main(AVTransmit2.java:553)
    Has anybody ever had this problem?? Do you know where the problem is? Do you know how to solve it??
    Could you be so kind as to help me, please???
    Thank you very much in advance.

    Hi wew64.
    I m new to JMF. I just made a simple media player not any more. can you please tell me what is "alsa" and "arts".
    actually I want to control my Sound card properties like "Microphone, Line In, etc...." is it possible in java if it is please tell me.
    I will be very thankful to you
    I m very upset about it because it is minimum 3-weeks late, my project is pending on this stage. All i want to do, just to mute the volume of "line in" (property in my sound card, which takes audio data from a TvTunner card and leaves this audio data out to the speakers.)so that only the audio from my computer's( any application like media player) can goes to the speakers, not the audio comming from the TvTunner(My TvTunner is opperated by the application provided by the vendor, I did not develop this on my own in java. I just made my media player in java). Yes this is the PROBLEM that both audios from TvTunner card and from My Application are being transmitted to speakers simultanously. But i want, when my application is running, the audio comming from TvTunner should be muted and when my application is exited, the TvTunner's audio should be unmuted. And this is only done by Line In property because Audio from TvTunner card is got by the Sound card through the Line In property.
    I tried my best to find out the solution but could not get any thing right.
    Please Help me
    thanks
    Khurram

  • Capturing audio from soundcard!

    Can anybody help me? When i compile this code no problems appears, however when i execute the program this is shown to:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    c:\Sun\SDK\jdk\bin>java JCapture
    javax.media.NotConfiguredError: setContentDescriptor cannot be called before con
    figured
    at com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:3
    42)
    at com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java
    :123)
    at JCapture.doIt(JCapture.java:69)
    at JCapture.main(JCapture.java:27)
    Exception in thread "main" javax.media.NotConfiguredError: setContentDescriptor
    cannot be called before configured
    at com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:3
    42)
    at com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java
    :123)
    at JCapture.doIt(JCapture.java:69)
    at JCapture.main(JCapture.java:27)
    The code is this:
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.util.Iterator;
    import java.util.Vector;
    import javax.media.CaptureDeviceInfo;
    import javax.media.CaptureDeviceManager;
    import javax.media.DataSink;
    import javax.media.Manager;
    import javax.media.MediaLocator;
    import javax.media.Processor;
    import javax.media.datasink.DataSinkEvent;
    import javax.media.datasink.DataSinkListener;
    import javax.media.datasink.EndOfStreamEvent;
    import javax.media.protocol.DataSource;
    import javax.media.protocol.FileTypeDescriptor;
    public class JCapture
    CaptureDeviceInfo captureDeviceInfo = null;
    DataSink dataSink = null;
    public static void main(String[] args)
    JCapture jCapture = new JCapture();
    jCapture.doIt();
    System.exit(0);
    private void doIt()
    // retrieve list of available capture devices
    Vector vector = CaptureDeviceManager.getDeviceList(null);
    Iterator it = vector.iterator();
    while(it.hasNext())
    CaptureDeviceInfo deviceInfo = (CaptureDeviceInfo)it.next();
    if("DirectSoundCapture".equals(deviceInfo.getName()))
    captureDeviceInfo = deviceInfo;
    break;
    // exit if no capture devices found
    if(captureDeviceInfo == null)
    System.err.println("No capture devices found!");
    System.exit(-1);
    try
    // get media locator from capture device
    MediaLocator mediaLocator = captureDeviceInfo.getLocator();
    // create processor
    Processor p = Manager.createProcessor(mediaLocator);
    // configure the processor
    p.configure();
    // set the content type
    p.setContentDescriptor(new FileTypeDescriptor(FileTypeDescriptor.WAVE));
    // realise the processor
    p.realize();
    // get the output of processor
    DataSource dataSource = p.getDataOutput();
    // create medialocator with output file
    MediaLocator dest = new MediaLocator("file://c:\\myFile.wav");
    // create datasink passing in output source and medialocator specifying our output file
    dataSink = Manager.createDataSink(dataSource,dest);
    // create dataSink listener
    dataSink.addDataSinkListener
    // anonymous inner class to handle DataSinkEvents
    new DataSinkListener()
    // if end of media, close data writer
    public void dataSinkUpdate(DataSinkEvent dataEvent)
    // if capturing stopped, close DataSink
    if(dataEvent instanceof EndOfStreamEvent)
    dataSink.close();
    // open the datasink
    dataSink.open();
    // start the datasink
    dataSink.start();
    // start the processor
    p.start();
    getConsolePress();
    // stop the processor
    p.stop();
    // close the processor
    p.close();
    catch(Exception e)
    e.printStackTrace();
    System.exit(-1);
    System.out.println("Finished!!");
    public void getConsolePress() throws Exception
    InputStreamReader isr = new InputStreamReader(System.in);
    BufferedReader input = new BufferedReader(isr);
    String line;
    System.out.println("Press x to stop capturing...");
    while (!(line = input.readLine()).equals("x"))
    System.out.println("Press x to stop capturing...");
    return;
    }

    I compiled and ran your code and saw
    the error you described, but could not fix it ..
    OTOH - here is some code I was mucking
    about with recently (it was adapated from an
    example I found on a forum, but I cannot recall
    where), it seemed to work quite well, without
    ever creating a processor.
    Maybe that might help?
    import java.awt.FlowLayout;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import javax.swing.JFileChooser;
    import javax.swing.JFrame;
    import javax.swing.JButton;
    import javax.swing.JOptionPane;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.InputStream;
    import java.io.FileOutputStream;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import javax.sound.sampled.AudioSystem;
    import javax.sound.sampled.AudioFormat;
    import javax.sound.sampled.AudioFileFormat;
    import javax.sound.sampled.AudioInputStream;
    import javax.sound.sampled.DataLine;
    import javax.sound.sampled.SourceDataLine;
    import javax.sound.sampled.TargetDataLine;
    public class AudioRecorder extends JFrame{
      boolean stopCapture = false;
      ByteArrayOutputStream byteArrayOutputStream;
      AudioFormat audioFormat;
      TargetDataLine targetDataLine;
      AudioInputStream audioInputStream;
      SourceDataLine sourceDataLine;
      File file;
    //  AudioFileFormat.Type fileType;
      /** The recorder will request enough memory for this lengh
      of time of audio recording.More might be possible.*/
      static int minutes = 4;
      /** channels - 1 for mono, 2 for stereo. */
      static int channels = 2;
      /** bytes - 1 means 8 bit, 2 means 16 bit, 3 means 24 bit. */
      static int bytes = 2;
      /** Samples per second, sample rate in Hertz. */
      static int samplerate = 44100;
      /** Default size of the audio array before expansion.
      Guarantees there is 'minutes' of memory for recording
      'bytes' of sound depth in 'channels' at 'samplerate'. */
      static int size = samplerate*channels*bytes*60*minutes;
      /** Make the temp buffer, for this fraction of a second. */
      static int timeperiod = 20;
      /** An arbitrary-size temporary holding
      buffer
      enough for 3 minutes of sampling in
      stereo at 16 bit, 44100Hz */
      //static byte tempBuffer[];
      static byte tempBuffer[] = new byte[samplerate*channels*bytes/timeperiod];
      public static void main(
        String args[]){
        if (args.length==0) {
          new AudioRecorder(null);
        } else {
          new AudioRecorder(args[0]);
      }//end main
      public AudioRecorder(String outputFileName){//constructor
        setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
        setLocation(100,50);
        final JButton captureBtn =
          new JButton("Capture");
        final JButton stopBtn =
          new JButton("Stop");
        final JButton playBtn =
          new JButton("Save");
        captureBtn.setEnabled(true);
        stopBtn.setEnabled(false);
        playBtn.setEnabled(false);
        captureBtn.addActionListener(
          new ActionListener(){
            public void actionPerformed(
            ActionEvent e){
              captureBtn.setEnabled(false);
              stopBtn.setEnabled(true);
              playBtn.setEnabled(false);
              captureAudio();
        getContentPane().add(captureBtn);
        stopBtn.addActionListener(
          new ActionListener(){
            public void actionPerformed(
              ActionEvent e){
              captureBtn.setEnabled(true);
              stopBtn.setEnabled(false);
              playBtn.setEnabled(true);
              //Terminate the capturing of
              // input data from the
              // microphone.
              stopCapture = true;
            }//end actionPerformed
          }//end ActionListener
        );//end addActionListener()
        getContentPane().add(stopBtn);
        playBtn.addActionListener(
          new ActionListener(){
            public void actionPerformed(
              ActionEvent e){
              //Play back all of the data
              // that was saved during
              // capture.
              saveAudio();
            }//end actionPerformed
          }//end ActionListener
        );//end addActionListener()
        getContentPane().add(playBtn);
        getContentPane().setLayout(new FlowLayout());
        setTitle("IMAR");
        setDefaultCloseOperation(
          EXIT_ON_CLOSE);
        setSize(250,70);
        setVisible(true);
        if ( outputFileName==null ) {
          JFileChooser fc = new JFileChooser();
          int returnVal = fc.showSaveDialog(null);
          if(returnVal == JFileChooser.APPROVE_OPTION) {
            outputFileName = fc.getSelectedFile().toString();
          } else {
            outputFileName = "default.wav";
        file = new File(outputFileName);
        FileOutputStream fout;
        try {
          fout=new FileOutputStream(file);
        } catch (FileNotFoundException e1) {
          e1.printStackTrace();
      }//end constructor
      //This method captures audio input
      // from a microphone and saves it in
      // a ByteArrayOutputStream object.
      private void captureAudio(){
        try{
          //Get everything set up for
          // capture
          audioFormat = getAudioFormat();
    /*      AudioFormat.Encoding[] encodings =
            AudioSystem.getTargetEncodings(audioFormat);
          for(int ii=0; ii<encodings.length; ii++) {
            System.out.println( encodings[ii] );
          DataLine.Info dataLineInfo =
            new DataLine.Info(
              TargetDataLine.class, audioFormat);
          targetDataLine = (TargetDataLine)
            AudioSystem.getLine(dataLineInfo);
          targetDataLine.open(audioFormat);
          targetDataLine.start();
          System.out.println( "AR.cA: " + targetDataLine );
          audioInputStream = new
            AudioInputStream(targetDataLine);
          //Create a thread to capture the
          // microphone data and start it
          // running.It will run until
          // the Stop button is clicked.
          CaptureThread ct = new CaptureThread();
          Thread captureThread =
            new Thread(ct);
          captureThread.start();
        } catch (Exception e) {
          e.printStackTrace();
          System.exit(0);
        }//end catch
      }//end captureAudio method
      //This method plays back the audio
      // data that has been saved in the
      // ByteArrayOutputStream
      private void saveAudio() {
        try{
          //Get everything set up for
          // playback.
          //Get the previously-saved data
          // into a byte array object.
          byte audioData[] =
            byteArrayOutputStream.
            toByteArray();
          //Get an input stream on the
          // byte array containing the data
          InputStream byteArrayInputStream
            = new ByteArrayInputStream(audioData);
          AudioFormat audioFormat =
            getAudioFormat();
          AudioInputStream audioInputStreamTemp =
            new AudioInputStream(
              byteArrayInputStream,
              audioFormat,
              audioData.length/audioFormat.
                getFrameSize());
          audioInputStream =
            AudioSystem.getAudioInputStream(
              AudioFormat.Encoding.PCM_SIGNED,
              audioInputStreamTemp );
          DataLine.Info dataLineInfo =
            new DataLine.Info(
            SourceDataLine.class,
            audioFormat);
          sourceDataLine = (SourceDataLine)
            AudioSystem.getLine(dataLineInfo);
          sourceDataLine.open(audioFormat);
          sourceDataLine.start();
          //Create a thread to play back
          // the data and start it
          // running.It will run until
          // all the data has been played
          // back.
          Thread saveThread =
            new Thread(new SaveThread());
          saveThread.start();
        } catch (Exception e) {
          e.printStackTrace();
          System.exit(0);
        }//end catch
      }//end playAudio
      //This method creates and returns an
      // AudioFormat object for a given set
      // of format parameters.If these
      // parameters don't work well for
      // you, try some of the other
      // allowable parameter values, which
      // are shown in comments following
      // the declarations.
      private AudioFormat getAudioFormat(){
        float sampleRate = 44100.0F;
        //8000,11025,16000,22050,44100
        int sampleSizeInBits = channels*8;
        //8,16
    //    int channels = 2;
        //1,2
        boolean signed = true;
        //true,false
        boolean bigEndian = false;
        //true,false
        return new AudioFormat(
          sampleRate,
          sampleSizeInBits,
          channels,
          signed,
          bigEndian);
      }//end getAudioFormat
      //===================================//
      /** Inner class to capture data from
      microphone */
      class CaptureThread extends Thread{
        public void run(){
          byteArrayOutputStream =
             new ByteArrayOutputStream(size);
          stopCapture = false;
          try{//Loop until stopCapture is set
            // by another thread that
            // services the Stop button.
            while(!stopCapture){
              //Read data from the internal
              // buffer of the data line.
              int cnt = targetDataLine.read(
                tempBuffer,
                0,
                tempBuffer.length);
              if(cnt > 0){
                //Save data in output stream
                // object.
                byteArrayOutputStream.write(
                  tempBuffer, 0, cnt);
              }//end if
            }//end while
            byteArrayOutputStream.close();
          }catch (Exception e) {
            e.printStackTrace();
            System.exit(0);
          }//end catch
        }//end run
      }//end inner class CaptureThread
      /** Inner class to play back the data
      that was saved. */
      class SaveThread
        extends Thread {
        public void run(){
          try{
            if (AudioSystem.isFileTypeSupported(
              AudioFileFormat.Type.WAVE,
                audioInputStream)) {
              AudioSystem.write(audioInputStream,
                AudioFileFormat.Type.WAVE, file);
            JOptionPane.showMessageDialog(null,"Clip Saved!");
          } catch (Exception e) {
            e.printStackTrace();
            System.exit(0);
          }//end catch
        }//end run
      }//end inner class PlayThread
      //===================================//
    }//end outer class AudioCapture.java

  • Iphone 4 cannot record audio while video recording

    Cannot record audio while capturing video. I cleaned voicerecorder situated next to headphones jag but problem still persist. How I troubleshoot this problem?

    Hello Livon4090,
    Thanks for using Apple Support Communities.
    If you're also having issues with people hearing you on a phone call, along with this issue where you don't hear audio in a recorded video, please follow the directions in the article linked to below.
    If your voice is too faint or sounds unclear using iPhone, or iPod touch
    Take care,
    Alex H.

  • Capture audio from MIC and decode bitsream

    Hi, I am new to windows phone 8.1. I want to capture audio from the MIC using MediaCapture, first I can capture to the audio using recordToSorageFileAsync but I cannot capture it to just to a memory steam, how is this done? Also after it is captured either
    way the recorded data needs to be broken up into a byte array, so that I can bit decode, i.e. I need to determine what is a high and what is a low, the audio is Manchester encoded given a 1 = 25mSec on 25mSec off and a zero = 25mSec off 25mSec on, how can
    I decode the audio to find out this pattern, the audio pattern will have a fixed preamble of FF followed by the data.

    StartRecordToStreamAsync
    method provide the possibility to save to memory stream.

  • Unable to capture audio from BlackMagic HD Extreme via Voice Over tool

    Hi !
    I'm trying to capture audio via my BlackMagic HD Extrem card using the Voice Over tool in FCP6, but I can't, no audio is incoming.
    I can ingest audio with video using log and capture, then I know my card and my cables are working.
    I tried to set the BM card as audio input in my Audio's System Prefereces Pane, but it isn't working either.
    I've been looking on the BM website, but I found nothing.
    Can you help me ?
    Thx

    Thanks for the reply.
    Looking at system preferences I found that audio input was set microphone. Don't know how it happened. I switched it to DeckLink and now FCP displays 16 input channels in Log and Capture dialog. I didn't try to capture yet but I think it solved the problem, because before I had only two channels displyed.

  • Anyone ever use a Canon XH A1 with FCP 5.1.4? I cannot capture at present.

    I tried to start a new project with different setting for SD, and all the settings I originally had for my HD project changed, now I cannot capture anymore. It took me a while to configure all the settings for HD with the 2:3:3:3 pulldown, but now I'm just plain confused. Anyone know a solution?

    I shot in HD in the 24F mode on a Canon XH A1. I've been capturing fine, but now the camera is not recognized ever since I created a new project with different settings.I created those project settings thinking they would only apply to that project (an SD one), and now I cannot figure out the steps to get back to where I was. This is what I wrote down to for my "In System Settings" that worked:
    Video Quality: Dynamic
    Frame Rate: Full
    Pulldown Pattern: 2:3:3:2
    Frame Offset: 4
    Record (Full Quality).
    Easy Setup - HDV-1080i60
    Then I set my compressor for HDV 1080p24.
    Now this simply doesn't work and I cannot capture.
    Is there a way to revert back to my old settings before I created a different project?
    Very confused why I cannot recognize my camera.

  • Capturing audio only in fcp5

    I am rather new to Final Cut Pro 5 and have been trying to teach myself as I go along. I am, however, having trouble capturing audio seperate from video. I am shooting a 16mm film and need to capture audio and video to seperate files in order to synch them for edit. While I am able to capture straight video (i.e. without audio) I am unable to capture straight audio (i.e. without video in the same file). The only way that I have been able to capture audio is if some form of video is captured along with it. How can I capture an audio only file. I am using FCP 5 on a PowerBook G4 - capturing through a "Dazzle Hollywood DV Bridge" with a Canon ZR 45 for video and a Sony TCD D8 portable DAT for audio. Any information is greatly appreciated and I patiently await your response(s).
    Thank you,
    Tayman Strahorn

    I am rather new to Final Cut Pro 5 and have been trying to teach myself as I go along. I am, however, having trouble capturing audio seperate from video. I am shooting a 16mm film and need to capture audio and video to seperate files in order to synch them for edit. While I am able to capture straight video (i.e. without audio) I am unable to capture straight audio (i.e. without video in the same file). < </div>
    My welcome also but, as a beginner, you really need to run the tutorials and learn how to use the resources you paid for when you got your applications.
    Look in the online help system for audio only. Look in the manual index for audio only. Examine the chapter on capturing.
    How are you doing Video Only if you don't understand the Clip Settings function or where it is located?
    You can force DV to build separate audio and video files while capturing but it's not recommended (dunno why not). If you force separate files, you can simply delete the ones you don't want.
    bogiesan

  • I have a 2008 black macbook and access UK tv through a purchased proxy site. I want to buy a sony bravia internet connected tv to watch the channels in more comfort. Sony tell me this won't work - that the tv cannot capture my macbook content. Any advice?

    I have a 2008 black MacBook and acess UK tv through a puchased proxy. I want to purchase a Sony Bravia internet connected tv and stream the site through a tv - Sony tell me this won't work - that a latest model tv cannot capture content and sites from a MacBook - is this true???? Surely there is a solution? Any help or advice welcome.

    They are correct.  The only stream you can wireless connect the TV to a Mac is through an AppleTV, and that's purchased content on iTunes, and your own homemade content that is H.264 MPEG-4 that is 1800kbps.   Conversion of commercial video to that format is illegal, and hence how can not be stated on the forum.    Alternatively, as long as the TV is HDMI, you can wired connect it to your MacBook using the same advice here:
    https://discussions.apple.com/message/16531141#16531141

  • Cannot play audio CD with Creative MediaSource Pla

    Hi All,
    I recently installed an Audigy 2 ZS Platinum soundcard and the Creative MediaSource Player software. I also purchased Creative 5. Analog speakers. Have everything configured pretty well now and really enjoying the enhanced sounds!
    My problem is that I cannot play audio CDs using the MediaSource Player. I can see my DVD Player and CD Player in the MediaSource Player 'Source' column and a list of all the tracks on the CD. (no track info, just track numbers and length)
    When I double-click on a track it cycles through all the tracks and then places an 'X' next to each one in the 'Now Playing' list window. If I have other music files from my harddri've available, it will start playing one of them.
    I've tried different CDs with the same results.
    I can use both the DVD and CD dri'ves to play an audio CD if I use any other player (Winamp, Windows Media Player, etc.) and use both dri'ves everyday for loading software and reading files. It will also read the demo DVD Audio disk that came with the card using the DVD-Audio player they provide so I'm pretty sure there's nothing wrong with the hardware or drivers.
    I've read all the info that came with the card and on the Creative Web site and have been through every configuration screen multiple times but haven't found a switch that turns this feature on.
    Would like to get this working so I can standardize on one player that allows me to use all the advanced features of my new card.
    Thanks in advance for any light you can shed on this.
    Jay Perez

    A good way to see what kinds of things you might need for something like vlc is to look at the optional dependencies for the package.  So if you do pacman -Qi vlc if the package is installed on your system already, or pacman -Si vlc if not yet installed, you can see in the output what kinds of optional dependencies there are.  Typically there is a short description of the extra functionality that the optional dependency can provide as well. 
    So in the case of vlc (and the libcdio optional dep) I get:
    $ pacman -Qi vlc
    Name           : vlc
    <SNIP>
    Optional Deps  : avahi: for service discovery using bonjour protocol [installed]
                     <SNIP SOME MORE>
                     projectm: for ProjectM visualisation plugin
                     libcaca: for colored ASCII art video output [installed]
                     libgme: for libgme plugin [installed]
                     librsvg: for SVG plugin [installed]
                     gnome-vfs: for GNOME Virtual File System support
                     libgoom2: for libgoom plugin
                     vcdimager: navigate VCD with libvcdinfo [installed]
                     xosd: for xosd support
                     aalib: for ASCII art plugin [installed]
                     libmtp: for MTP devices support [installed]
                     smbclient: for SMB access plugin [installed]
                     libcdio: for audio CD playback support [installed]
                     ttf-freefont: for subtitle font
                     ttf-dejavu: for subtitle font [installed]
                     opus: for opus support [installed]
                     libssh2: for sftp support [installed]
    <SNIP>
    Last edited by WonderWoofy (2013-08-24 18:45:56)

  • Emulator on OSX don't support capturing audio, is this a BUG?? SDK 3.0

    Hello all,
    well i'm trying to capture audio with the emulator on OSX. When i test the System Properties for capturing audio i always get FALSE.
    I tried the same application on Windows XP with the SDK 3.0 and it works, i'm getting True and can capture the audio with my microphone.
    Now i want to know if this is only a Bug and could be fixed or is the support for capturing audio on Mac OSX not implemented yet?
    Thanks
    Greetings

    What kind of problem about the display image in signature?
    How do you add the image into the message body when you send the message?
    Does it show correct through Web-based access?
    Outlook 2007 doesn't support some of Style Element, you may reference the link as below:
    http://www.campaignmonitor.com/css/
    Thanks.
    Tony Chen
    TechNet Community Support
    Thanks for your reply,  I know that some Style Elements won't be supported in Outlook, but this is not the reason.
    Please refer to my post previously, I post it but get no response.
    http://social.technet.microsoft.com/Forums/office/en-US/481170b1-f23f-4d46-9914-823326491846/is-this-a-bug-of-outlook-2007-about-images-displaying-in-signature?forum=outlook

Maybe you are looking for