How to use jmf convert the rtp packet (captured by jpcap) in to wav file?

I use the jpcap capture the rtp packets(payload: ITU-T G.711 PCMU ,from voip)
and now I want to use JMF read those data and convert in to wav file
How to do this? please help me

pedrorp wrote:
Hi Captfoss!
I fixed it but now I have another problem. My application send me this message:
Cannot initialize audio renderer with format: LINEAR, Unknown Sample Rate, 16-bit, Mono, LittleEndian, Signed
Unable to handle format: ALAW/rtp, Unknown Sample Rate, 8-bit, Mono, FrameSize=8 bits
Failed to prefetch: com.sun.media.PlaybackEngine@1b45ddc
Error: Unable to prefetch com.sun.media.PlaybackEngine@1b45ddc
This time the fail is prefetching. I have no idea why this problem is. Could you help me?The system cant play an audio file / stream if it doesn't know the sample rate...somewhere along the way, in your code, the sample rate got lost. Sample rates are highly important, because they tell the system how fast to play the file.
You need to go look through your code and find where the sample rate information is getting lost...

Similar Messages

  • How to read sequence numbers from RTP packets

    hi everyone.
    i want to know how to read sequence numbers of RTP packets. I will need that to reconstruct my stream from packet losses.
    URGENT Help needed!!

    The StreamTokenizer parses all numbers into only one type of value, a double. If you know that all the numeric values in the file will be integers, you could just cast the nval double field to an int and the toString() method will format it correctly.
    If you want to have different tokens and value types for different kinds of numbers, you will have to sub-class StreamTokenizer and add these capabilities yourself. You can add the type constant TT_INT, and provide an int field named ival. The toString() method would then format the value in the correct manner.
    If, on the other hand, you are actually looking for the exact text that was parsed, you could add code that collects the characters as they are parsed for any token type into the sval field in the nextToken() method, just like it already does when the token is a TT_WORD. In this manner sval is always valid for any token type.
    I hope you find this of some help.

  • How to use JMF without download it?

    hi all,
    I have a Video conferencing using JMF
    - transmission : an application (with capturing a webcam source and jmf installed)
    - reception : an applet (display the video without jmf)
    How could a remote user use the applet without download jmf?
    Thanks a lot
    Christel

    hi,
    I have tried this way but it doesn't work.
    I have make a jar-file but there is not Manisfest inside.
    My process:
    1- Type of Archives -> "JAR de l'applet" (Jar of the Applet)
    2- Name = JAR de l'applet
    File = C:/CAV/RtpApplet/RTPApplet.jar (I don't know what i can put in this area)
    I have also checked all CheckBoxes
    3- Classes et ressources du projet (Classes and resources of the Project) -> I have check "Toujours inclure les classes et ressources" (always include classes and resources)
    Add classes et packages : javax, com, rtpavc (my personal package)
    4- Library = "AV" (which is the entire jmf.jar)
    select the CheckBox "Inclure classes et toutes ressources requises" ( include classes and resources needed)
    5- select the CheckBox "Inclure un Manifest dans l'archive" (include a Manifest in the archive)
    Select the RadioButton : "Cr�er un Manifest" (Create a Manifest)
    I have a jar-file (the "JAR de l'applet") but when i select it i have nothing inside and no Manifest-file.
    I really don't know how it's working.
    I really need your help,
    Thanks in advance.
    Christel

  • Setting priority to the RTP packets

    Hi,
    I am developing a system which will use multicasting to trnamist RTP packets. To ensure the better transmission, I want to set priority to my transmitting RTP packets. My system has been developed based on AVTransmit3 and AVReceive3 provided by sun where RTPManager has been used.
    However is it possible to add special information to the RTP packets so that router underlying router will allow my packet to be transmitted first?
    A repply is badly needed...................

    Well......according to the RFC2474 and RFC2475, diffserv header can map with the precedence field of the IP header, In IP header TOS field can be mapped with DSCP field of the Diffserv Header. Now jcparques, though IP header can be diffserv capable but is their no router availble in reality which is diifserv capable?Or if I use any simulator like NS2 or other simulator which can work with java, can't I implement diffserv in rtp packet?

  • I just bought photoshop elements 13 last night. Today I am watching tutorial videos to show me how to use it, but the videos are showing me things I don't have. Asking me to click on tabs i don't have. Why is this? Is there another way I can learn? Or is

    I just bought photoshop elements 13 last night. Today I am watching tutorial videos to show me how to use it, but the videos are showing me things I don't have. Asking me to click on tabs i don't have. Why is this? Is there another way I can learn? Or is my download messed up and not giving me everything I need?

    Got a link showing us which video tutorials you're watching and examples of what's missing in your software?

  • Which  Function Module is used for converting the DATE in BDC

    HI,
    Which  Function Module is used for converting the DATE Format in BDC for Uploading purpose please help me.

    data : date like sy-datum.
    data : odate(10) type c.
    date = sy-datum.        " in format YYYYMMDD
    CALL FUNCTION 'CONVERSION_EXIT_PDATE_OUTPUT'
      EXPORTING
       input         = date
    IMPORTING
       OUTPUT        = odate         .
    write:/ odate.  "in ur format '.
    1.
    In ur itab make a field for date as 10 characters and use this Fm to store the date .
    2. Pass the date as the charcter field to the screen and now check .

  • How to use shortDesc in the disabled inputtext

    hi,all
    i encounter a problem,our team must use disabled inputtext when the text is only used to output string.
    the reson we don't use outputext is if there is noting in the outputtext,there is nothing displayed.
    how to use shortDesc in the disabled inputtext?
    here is the code:
    <af:inputText value="#{bindings.shortdesc.inputValue}" disable="true"
    id="ot2" columns="25" shortDesc="#{bindings.longdesc.inputValue}"
    simple="true"/>
    thanks all

    Hi,
    ........... I use JDev 11g ..............
    If you make your inputText disabled -----> shortDesc will not be displayed.
    You can make a workaround to achieve this by using popup as :
    1- add showPopupBehavior inside your inputText as :
    <af:inputText label="label1" id="it1" disabled="true">
                    <af:showPopupBehavior triggerType="mouseOver"
                                          align="endBefore" alignId="it1"
                                          popupId="p1"/>
                  </af:inputText>2- add a popup which will display your shortDesc text
    <af:popup id="p1">
                      <af:outputText value="Sameh POPUP" id="ot1"/>
              </af:popup>I hope it is useful.
    Sameh Nassar

  • How to use labview with the handyboard

    Hi,
    how to use labview with the handyboard
    Thx...

    I'm assuming you're talking about this, since you didn't provide a link for those of us who don't know what you're talking about.
    As the other poster said, you didn't say how you want to use LabVIEW with it.  If you want to write LabVIEW programs than run on the microprocessor, then you're out of luck.  If you want LabVIEW to interact with it, then you've got a couple of options, SPI probably being the best, but it also has DI and AI that you could use to communicate with it - the DI's could be used as a parallel interface.
    Message Edited by Matthew Kelton on 12-17-2007 02:21 PM

  • How to use PS to judge the existence of a folder in the specified directory and how to use PS in the specified directory to create to create the folder?(javascript)

    1,How to use PS to judge the existence of a folder in the specified directory?(use javascript)
    2, how to use PS in the specified directory to create to create the folder?(use javascript)
    Thanks you!

    Thanks you!

  • I downloaded the free trial for Adobe XI Pro but now I cant find it on my computer or figure out how to use it. The only thing I see that downloaded is Adobe Download Assistant. How can I access the program?

    I downloaded the free trial for Adobe XI Pro but now I cant find it on my computer or figure out how to use it. The only thing I see that downloaded is Adobe Download Assistant. How can I access the program?

    Assistanttolindsey the Adobe Download Assistant will download the installation files for Adobe Acrobat Professional XI.  By default they are saved to your download folder.  You can begin the installation process from there.

  • How o use JMF?

    can someone tell me how to use JMF with particular programs?
    Thanx..:)

    i also have similar problem. how i use jmf in develop a program to capture image with webcam and capture it.wat should i do before this stage.thanks.....

  • I want to know the function moulde used to convert the unit of measure

    The whole process should be done in the Portugues login language.
    For the login language PT( Portuguese). In table MARA, if i choose the menu settings-> use parameters-> and chek this field (conversion field exit) . Then for any material if i check the unit of measure (MEINS), is display of all the material its shows differently, but if i select one material and see all the fields of that material, the MEINS field is changed. For example when all the materials are show the MEINS is ST. but when i select one material and display it . it shows PEC in portugues language.
    I want to know the function moulde used to convert the unit of measure

    HI,
    There exits the conversion routine for that particular field in its domain level..
    copy that conversion routine and search for that in SE37 your conversion routine
    you will find the function module this gives you the internal and external formats
    Fms are listed below for MEINS
    CONVERSION_EXIT_CUNIT_INPUT    Conversion exit for commercial (3-char) measurement unit INPUT
    CONVERSION_EXIT_CUNIT_OUTPUT   Conversion exit for commercial (3-char) measurement unit OUTPUT
    For convertiung quantity into base unit of measure you can do this way
    CALL FUNCTION 'ME_CONVERSION_MEINS'                       "#EC *
        EXPORTING
          i_matnr             = "give material number"
          i_mein1             = "Unit of measurement "
          i_meins             = "base unit of measure
          i_menge             = "quantity
        IMPORTING
          menge               = "quantioty in your required measurement
        EXCEPTIONS
          error_in_conversion       = 1
          no_success                = 2
          OTHERS                    = 3.
    HOpe this helps you
    Reward if useful
    regards,
    nazeer
    Message was edited by:
            nazeer shaik

  • DCOM was unable to communicate with the computer xyz using any of the configured protocols; requested by PID 7b28 (C:\Program Files\Microsoft\Exchange Server\V15\Bin\MSExchangeHMWorker.exe).

    Hi,
    Previously I've two exchange server 2013 named : ABC and XYZ. After is decomm XYZ, i got this error :
    DCOM was unable to communicate with the computer XYZ using any of the configured protocols; requested by PID     7b28 (C:\Program Files\Microsoft\Exchange Server\V15\Bin\MSExchangeHMWorker.exe).
    EventID:10028
    Source:DistributedCOM
    May I know the reason why the server keep looking for the non-exist server and how to terminate this process?
    Thanks in advance.

    Hello,
    It seems that error message occurs on the same machine with the previous Exchange Server you have decommissioned. Have you reinstall the Windows System after uninstall the Exchange
    Server?
    You need to check the registry keys but this is not efficient solution. The most efficient way is to reinstall the Windows if it is convenient.
    Thanks,
    Simon Wu
    TechNet Community Support

  • How do I find out the size of each individual element within a photoshop file as need to replace some elements?  Thanks :)

    How do I find out the size of each individual element within a photoshop file as need to replace some elements?  Thanks

    What do you mean by "Elements"?
    Elements in a flat image or Layers?
    Could you please post a screenshot with the Layers Panel visible?

  • How to use JMF in SWT

    Hi all,
    I want to create an application in SWT, which is able to play all types of music files. By using JMF i am able to do it in Swing, but i want to do it in SWT. (Should not use any AWT components).
    Can any body tell how to do this ?
    Thanks in advance !!

    Hello,
    I posted it in the correct forum itself, once again check your link... it is the same forum to which i posted.

Maybe you are looking for