How to capture audio properties

According to the Oracle Intermedia User's Guide I should be able to capture the properties for the attributes format, encoding type, number of channels, sampling rate and sample size of the audio data using the setProperties method of the ORDAudio object.
However if I try to use this method based on the examples in the User's guide I get the AUDIO_PLUGIN_EXCEPTION. Who has suggestions?

What is the full error stack? You will get an exception if the audio file is not understood by setproperties or the audio data is corrupt. See the release notes in $ORACLE_HOME/ord/im/admin/README.txt for
supported formats.
null

Similar Messages

  • How to capture audio??

    Dear sir,
    Have anyone know how to capture audio use JMF?
    Have anyone can give me a reference URL?

    I think there is everything you need here:
    http://java.sun.com/products/java-media/jmf/2.1.1/guide/
    http://java.sun.com/products/java-media/jmf/2.1.1/guide/JMFCapturing.html
    Regards,
    Paul

  • How to capture audio encoded by pcm at 16 Bits,2 channel, 44KHz samples by using crossbridge

    sorry for trouble you,  i want realtime encode aac+ audio using adobe flash, but i can't get raw pcm audio using as3 api 's micphone interface. SampleDataEvent.SAMPLE_DATA.
    so i want to use directshow to replace to get raw audio data, but i don't know how to get it, could you give me some advice?
    thanks.
    FYI
    as3 micphone 's api now support pcma/pcmu, but the rate is just 8kHz, how can i capture 32KHz or  44KHz samples.
    thanks.

    Hi,
    directshow is not the easyeest way to do it.
    take a look at PortAudio, a nice lib which allow to get raw pcm audio.
    http://portaudio.com/docs/v19-doxydocs/api_overview.html
    Regards,
    Philippe

  • How can capture audio with labview

        I desired to make a audio equalizer vi using lab view. Audio will be taken from microphone. How can I capture sound from microphone with labview?

    See the example "Sound Card AutoPower Spectrum" This allows you to sample from an input device through your sound card, and take a spectrum.  you should be able to bin the spectrum by frequency bands, and show the histogram of frequencies.  You probably can even selectively resample and scale the frequencies, mix the signal and output the new sounds but I hav not tried this (I am not an audiophile so this is beyond my scope of expertise)  Good luck  ,
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • How to capture audio into buffer

    i currently doing a voip apllication using SIP as the protocol
    since the j2me now doesnt only have the jsr 180
    its not enough to support voip call
    wat i wan to do is capture d audio then put in buffer then send out through d socket to another client and its automatically plays it
    can this work?
    its seen like converting the text conversation into voice conversation
    but sadly i dont know how to implement the real-time voice conversation
    can anyone help me?

    Hi,
    you have to deal with OCCI Metadata. To start look here
    http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14294/metadata.htm#BABFEDDJ
    Regards,
    Michael

  • Audio Q: How to capture and play back later?

    Hi,
    Looking at the JMStudio app, it's pretty clear how to capture audio and stream it out through the speakers. What I don't understand is how to capture audio, stop, and at a later time, play that stream back. In particular, I'd like to be able to play it back beginning at a specific position. I see the Positionable interface, but I haven't found any demo code for a DataSource that implements it. Any help appreciated,
    +scott                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    you have to stream your media to a file and later re-open it. To do this, simply get a DataSink and use it to save on a file.

  • Using Flex to capture audio from Flash

    Hi!
    I've been trying for a while to figure out how to capture audio from a flash-application (http://www.delorean.se/mixer)
    and store it as a mp3-file.
    Since I've studied Java for 2 years I thought I'd try and use it to capture the audio but I'm running into problems all the time,
    and I've been advised to look up Flex by other Java users.
    So, I got some questions:
    Is Flex a good tool to use to capture audio from flash-applications and store the audio as a mp3-file?
    Is Flex hard to learn (I've been working with Eclipse for a long time so the IDE shouldn't be a problem and learning another language/framework is always nice)
    Any tips in general?
    Any answers would make me very happy!
    Thanks!

    physical are closed : how will it managed the queues and overspill queues when target is not present? Also the data dictionary must reflect the primary but If you run capture, then you introduce rules that are not on primary: How ?

  • How to open sounds and audio properties using Labview function

    Hi All,
    How to open the sounds and audio properties of the control panel using the Labview system exe vi.
    Is there any dll also to open this property.
    If there is dll which is that and how to program the dll to serve my purpose.
    Solved!
    Go to Solution.

    Have you looked at the "Graphics and Sounds" section within the Functions Palette (Block Diagram)? There are VI's that already exist for this.
    R
    Message Edited by JoeLabView on 09-04-2008 07:44 AM
    Attachments:
    sounds.PNG ‏12 KB

  • How to capture two audio channels on seperate tracks?

    Does anybody know how to get audio from two or more channels on seperate tracks when capturing in Premier pro!
    I have used two mics, but the audio is on the same track when i have capturede the video. Any suggestions?

    Highlight the clip in the Project window and then Clip - Audio Options - Breakout to Mono.
    You will get two mono tracks as separate files in the project window but they won't be linked to the video clip

  • How do I capture audio only, no video?

    I'm trying to capture an audio cassette, patched RCA/XLR to a Kona Card, to a G5 tower running FCP6. Since I want to capture audio only, I unchecked the video box in the clip settings tab of the LogCapture window. But when I capture now, I get a message saying "This operation could not be completed as there is no video".
    How can I capture audio only? Can't turn off the video in Kona ctrl panel, must be in FCP.
    Thanks in advance for the help.

    Yes, as I mentioned, I did uncheck that video box, after which I got the message 'operation could not be completed as there is no video' (& capture failed). My capture setting is to Kona, but I've also tried Generic, but no luck.
    This then led to my first crash course in SoundtrackPro, which is now recording the audio I needed. But I would love to figure out why FCP is not letting me capture audio w/o video, so any further suggestions are appreciated.

  • How to stream audio and video captured from mic and webcam in sync.

    I am working on a video chat project. I need to capture audio and video from mic and webcam and create rtp stream for them. How can I proceed for this. Any source code help will be highly appreciated. Otherwise just guide me how to do this and point to any good resource which is directly related to my need.
    Thanx.

    t.b.m
    As mentioned by you, i am doing exactly like that . I have coded transmitter class. But at the receiver side it is unable to play the stream. I am posting my code . Can you please help with me with any mistake i m making in my code ?? Or with way I should receive stream at receiver side. Plz see my code. I am streaming to ip address 172.31.80.67.
    package heyram;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.media.control.*;
    import javax.media.protocol.*;
    import javax.media.format.*;
    import java.io.IOException;
    import java.util.Vector;
    import java.net.InetAddress;
    import java.awt.*;
    import java.io.*;
    import java.net.InetAddress;
    import javax.media.*;
    import javax.media.protocol.*;
    import javax.media.protocol.DataSource;
    import javax.media.format.*;
    import javax.media.control.TrackControl;
    import javax.media.control.QualityControl;
    import javax.media.rtp.*;
    import javax.media.rtp.rtcp.*;
    import com.sun.media.rtp.*;
    import java.lang.Thread.*;
    public class HEYRAM{
    Format[] format=new Format[2];
    Vector[] devices=new Vector[2];
    CaptureDeviceInfo[] di=new CaptureDeviceInfo[2];
       SessionManager rtpsm = new com.sun.media.rtp.RTPSessionMgr();
    Processor p=null;
    Processor p1=null;
    boolean result;
    public HEYRAM(String address,int port,int ttl){
        try{
                InetAddress destaddr = InetAddress.getByName(address);
                SessionAddress sessaddr = new SessionAddress(destaddr,
                                                             port,
                                                             destaddr,
                                                             port + 1);
                String cname = rtpsm.generateCNAME();
                    String username = null;
                try {
                username = System.getProperty("user.name");
            } catch (SecurityException e){
                username = "jmf-user";
            // create our local Session Address
            SessionAddress localaddr = new SessionAddress();
                SourceDescription[] userdesclist= new SourceDescription[]
                    new SourceDescription(SourceDescription
                                          .SOURCE_DESC_EMAIL,
                                          "[email protected]",
                                                                     1,
                                          false),
                    new SourceDescription(SourceDescription
                                          .SOURCE_DESC_CNAME,
                                          cname,
                                          1,
                                          false),
                    new SourceDescription(SourceDescription
                                          .SOURCE_DESC_TOOL,
                                          "JMF RTP Player v2.0",
                                          1,
                                          false)
                rtpsm.initSession(localaddr,
                                userdesclist,
                                0.05,
                                0.25);
                rtpsm.startSession(sessaddr,ttl,null);
            } catch (Exception e) {
                System.err.println(e.getMessage());
                //return null;
        // rtpsm.initSession(localAddress, defaultUserDesc, rtcp_bw_fraction, rtcp_sender_bw_fraction);
            // rtpsm.startSession(...);
    public void createVideoSession()
        format[1] = new VideoFormat(VideoFormat.YUV);
        devices[1]= CaptureDeviceManager.getDeviceList( format[1]);
         di[1]= null;
            if (devices[1].size() > 0) {
                 di[1] = (CaptureDeviceInfo)devices[1].elementAt(0);
                  System.out.println(di[1].toString());
            else {
                // exit if we could not find the relevant capture device.
             System.out.println("1234jjfjsajfjasf1");
                System.exit(-1);
            // Create a processor for this capture device & exit if we
            // cannot create it
            try {
                p1 = Manager.createProcessor(di[1].getLocator());
            } catch (IOException e) {
                System.out.println("1234jjfjsajfjasf2");
                System.exit(-1);
            } catch (NoProcessorException e) {
                System.out.println("1234jjfjsajfjasf3");
                System.exit(-1);
            // at this point, we have succesfully created the processor.
            // Realize it and block until it is configured.
           // p1.configure();
         result = waitForState(p1, Processor.Configured);
         if (result == false)
         System.out.println("Couldn't realize processor");
            p1.setContentDescriptor(new ContentDescriptor( ContentDescriptor.RAW_RTP));
            // block until it has been configured
            TrackControl track[] = p1.getTrackControls();
            boolean encodingOk = false;
            // Go through the tracks and try to program one of them to
            // output ULAW_RTP data.
            for (int i = 0; i < track.length; i++) {
                if (!encodingOk && track[i] instanceof FormatControl) {
                    if (((FormatControl)track).
    setFormat( new VideoFormat(VideoFormat.YUV)) == null) {
    track[i].setEnabled(false);
    else {
    encodingOk = true;
    else {
    // we could not set this track to gsm, so disable it
    track[i].setEnabled(false);
    // Realize it and block until it is realized.
    p1.realize();
    result = waitForState(p1, Processor.Realized);
         if (result == false)
         System.out.println("Couldn't realize processor");
    // block until realized.
    // get the output datasource of the processor and exit
    // if we fail
    DataSource ds = null;
    try {
    ds = p1.getDataOutput();
    } catch (NotRealizedError e){
    //System.exit(-1);
    System.out.println("1234jjfjsajfjasf4");
    // Create a SessionManager and hand over the
    // datasource for SendStream creation.
    // The session manager then needs to be initialized and started:
    // rtpsm.initSession(...);
    // rtpsm.startSession(...);
    try {
    (rtpsm.createSendStream(ds, 0)).start();
    } catch (IOException e){
    System.out.println("1234jjfjsajfjasf6");
    e.printStackTrace();
    } catch( UnsupportedFormatException e) {
    System.out.println("1234jjfjsajfjasf7");
    e.printStackTrace();
    public void createAudioSession(){
    format[0] = new AudioFormat("linear",8000,8,1);
    devices[0]= CaptureDeviceManager.getDeviceList( format[0]);                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to fix audio  of a video captured from DV output of camcorder using Adobe Premiere Elements 8?

    Hello,
    I purchased Adobe Premiere Elements 8 about one week ago.  I installed it and everything seem to work well in my first project.  I am new at editing videos but I was succesful in testing it by loading an existing video file in avi format from my computer and then doing some very basic editing (I splitted 2 scenes and added a title). 
    After my first succesful project (described above) I started a brand new project. Here, I want to capture a one hour video  from the dv output of a video camera. So I connected the camera to the PC and then started adobe elements 8.  Before starting the capture I only checked the boxes that said "capture video" and "capture audio" (the other 2 boxes that said download to timeline and autoanalyze were left unchecked).  After that I started the capture process.
    After the video capture was completed, a small window opened at the bottom saying that a PEAK FILE was being generated.    After the peak file generation finished, I looked at the captured video.  The video looked perfect.  However the audio of the video was too fast. By this, I mean that the voices of the people in the movie were like they were speaking at more than twice the normal speed.  Or to explain it in a different way, they sounded like the  chipmunks.
    So now I come to the question of this thread I started.  Is there a way that I can fix the audio part of the video I captured?  I will appreciate any help on this. Below I listed a few additional details in case this is needed.
    Thanks,
    ronel_8
    PS.  Here are some more details about my system:
    1) Operating System: Windows XP
    2) I am capturing the video on an external drive with 40 GB of available space. The external drive is connected to a PC via a USB connection.
    3) Computer CPU: 2.4 GHZ
    4) Computer RAM: 1.25 GB
    5) Video tape is about one hour long.

    Hello Bill and Steve,
    Your responses are very helpful.  Although I was not able to fix the problem yet I do seem to think from what you both say that my system may be too slow to capture the one hour video. In any case I will copy below more details about the system as you requested:
    1) Results from running Gspot:
    The audio section of the Gspot window was blank. That is, no information was there.  The File and Container sections say:
    File Size: 12.6 GB
    Note: 7.63 GB unneeded bytes at the end of the file
    DV Type1 AVI
    2) I did run the Gspot on another good avi file (captured to the PC with same camcorder) and says:
    Codec PCM Audio
    32kHz 1024 kb/s tot (2 chnls).
    I suppose these are the audio settings from the camera.
    3) Yes, I am capturing video from a miniDV camcorder (JVC GR-D70U).
    4) I did not defragment the external drive prior to capturing the video with the audi problem.  So I will give that I try and see if it solves the problem.
    5) The external drive I am using is formatted to NTFS.
    6) The computer is a Dell Dimension 2400, CPU: 2.4 GHZ, RAM: 1.25 GB
    7) HDD Size=74GB and 11 GB of free space.  But I am downloading video to external drive that has 60 GB free space.
    One last piece of information that may be useful.  If I open the AVI file (that I captured with Adobe Premiere Elements) with Windows Media Player, the audi sounds good.  However if I open it with Adobe it has the problem I mentioned in my previous e-mail.
    I'll aprreciate any further hints.
    Thanks again,
    ronel_8

  • How to find out captured audio data is stored completely

    We are using livepkgr to capture audio with AMS Standard. Since server-side scripting is not available with AMS Standard, we are using a PHP script to manipulate captured audio. Everything works well in testing, but we are wondering about the following.
    When we close an audio capture session with:
       nsPublish.attachAudio(null);
       nsPublish.close();
    can we assume that all the audio data has been written to the stream file? What if the server is busy with many simultanenous capture sessions? Is there a way to verify that a steam file is complete, closed, and ready for processing?
    Thank you very much!

    Hi,
    If you are guided to a structure, double click on the data element and go to the structure.
    Check the where-used for this data element. You will get a list of them which will give you an idea of where to find the data and in which transparent table.
    Regards
    Subramanian

  • How to get audio meters in capture in Premiere CC?

    I need to capture in Premiere CC from an old tape machine that outputs in S-Video.  Audio comes in through a Matrox I/O.
    Picture comes in fine but I do not see capture audio meters to adjust the sound.  In Adobe CS6 I do get the audio metering.
    Is there a way to get the audio meter in CC?

    You dont modulate on capture. (digitising) eg analogue to digital.
    You do that once in the system if need be.

  • How to Capture Streaming Audio

    I'm looking for a technique or app for capturing streaming audio from my 3GS. Any ideas?

    Check the app store as I know there are apps that will stream and capture audio.  Basically, the app that is doing the streaming has to do the capturing as well.  Otherwise, any recording app running in the foreground mutes the audio from any backgrounded app.

Maybe you are looking for