Want to convert in to wav file !

i'm working on the project which is about to generate WAV file from RTP (real-time protocol) packets.
Basically, this program should read packets from a data file (PCAP
format) that contains RTP packets for a VoIP stream and then
convert it to WAV file which can be played in Media player.
as you are very experince developer can you guide me how could i do it.or where to start?

i think you can create a Processor that gets an url as input locator or that creates an RTP session an listens for the input stream. To convert to wav, just take processor track control and content descriptor or file type descriptor and adjust them to convert to wav format (AudioFormat). To write to a file, set the rigth locator.
good example of writting and changing format:
http://java.sun.com/products/java-media/jmf/2.1.1/guide/JMFCapturing.html#93821

Similar Messages

  • ITUnes converted all the wav files on my computer to m4a. How do I recover them?

    iTunes took it upon itself to convert all of the .wav music files on my computer to .m4a, a much lower-quality format. How can I get the .wav files back?

    Hi someonefromminnesota,
    Depending on how the tracks were imported/converted, the original .wav files may still be located in their original location, and an .m4a copy may have been added to the iTunes Library. You may find the following article helpful:
    iTunes 11 for Windows: Import music and video already on your computer
    http://support.apple.com/kb/PH12493
    iTunes: How to convert a song to a different file format
    http://support.apple.com/kb/HT1550
    Regards,
    - Brenden

  • Converting AAC to WAV Files in iTunes

    I'm converting a bunch of files from AAC to WAV in iTunes. It's working fine, but the file sizes of the new files are HUGE (like 40MB per song huge). Any thoughts on what I'm doing wrong??
    Thanks,
    Dan

    Hi Folks,
    Ok I am curious here. I've got version 7.3.2.6 Now I'm not having any problems with the Itunes program. My question is I've got Itunes to save my music in AAC format. I was wondering if I changed it to MP3 Will it convert all the music in my Itunes library to MP3 format even those for which I purchased from the Itunes store? Will it do so without messing up any of my music?
    The reason that I'm asking is due to the fact that I've now got a Motorola Razor that plays music and I'm pretty sure that it plays MP3.
    Thanks

  • How do you convert mov to wav files?

    How do you convert .mov files to .wav files in iMovie 10? I can no longer find the Share/Quicktime/Options tabs.

    * the .mov container can be handled by any PC with a free download of Quicktime for Windows; but many PC users hesitate doing so, because on the Apple website it looks like you instali iTunes too... many PC don't like that...
    * .mp4 can be handled by any actual PC mediaplayer... again: PC users are used to import .wmv (or the very old .avi container/not supported by YouTube)
    * for exporting .wmv on a Mac, you need to buy a licence at www.flip4mac.com
    * mpeg... the MotionPictureExpertGroup published many codecs... mpeg1, mpeg2, mpeg4, h261, h264. .... but using iM as exporter, all these mpegs will be "hidden" in the QT container .mov... with QTpro you can strip-off the container, but I recommed the beginner to use one of the above mentioned options......

  • Converting to a wav file

    how do i convert a song i already recorded into a wav file?

    File menu>Bounce...select wave as File Format

  • Want to convert pdf to dwg file

    want to convert pdf to dwg file

    Adobe Reder does not do that, nor does any other Adobe software. A google search suggests third parties offer such a tool. How useful they are will depend on the PDF, e.g. if it is a scanned blueprint forget it; if it was an CAD design in the first place you might be able to get back basic lines but not text.

  • Python / Audio Conversion - I want to convert mp3 to wav

    Hi, Ive dabbled very little in actual coding, wrote one python app that these forums really helped me make, and Ive programmed in VBScript and SQL Server, but all academic, nothing for my own uses.  I need a program to convert mp3's to .wav's that can then be burned in 'Recorder' to burn the audio disc.  I know there are many scripts like this floating around, but I want to do my own, problem is, im lost.  I seem to have 2 main problems, getting the file names into a list or tuple,  and then actually running the commands to convert using a for loop using lame or mpg321.
    this bash script uses mpg321 and sox,
    #!/bin/bash
    # allmp3wav
    for i in *.mp3; do
    echo "$i"
    tgt=$(echo "$i" | sed -e "s/mp3/wav/")
    mpg123 -b 10000 -s -r 44100 "$i" | sox -t raw -r 44100 -s -w -c2 - /var/cdrom/"$tgt"
    done
    This works fine and I understand the code.  Its saying for every file that ends in .mp3, run these commands, which do the coding.  The only problem is, this doesnt work in python, since its not pythong   Can someone give me a little bit of help?  Dont give me the program, or give me to much info, links would be great.
    1 - Need to Get Directory
    2 - Loop through all the .mp3 files and add them to an array.
    3 - create a sub directory named "wav"
    mkdir ~/wav
    4 - copy all the mp3's to "wav"
    cp ARRAy to wav/
    5 - convert all .mp3's to wav
    6 - delete the copied mp3's from .wav directory
    for .mp3
    rm
    7 - tell me how many wavs were created.
    for .wav
    count + 1
    That is just a rough flow chart of what I need to do, and as you can see its pretty bare as of now.  Also, I imagine to run mpg321 or lame commands, I need some sort of lame or mpg321 module?  Ive read the python wiki for for loops and lists and tuples, but I need more info.  Thanks, Justin.

    Alright that helped alot, its almost working now, I am using Popen wrong still I assume, here is what I got.
    import os
    import subprocess
    here = os.getcwd()
    ctr = 0
    for file in os.listdir(here):
        name, ext = os.path.splitext(file)
        if ext == ".mp3":
                    p = subprocess.Popen("mpg123 -w " + name + ".wav " + name + ext , stdout=subprocess.PIPE, shell=True)
                    ctr = ctr + 1
    print ctr
    That executes, but gives this error,
    High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
    version 1.4.3; written and copyright by Michael Hipp and others
    free software (LGPL/GPL) without any warranty but with best wishes
    [readers.c:893] error: Cannot file [Beginning: No such file or directory
    [mpg123.c:516] error: Cannot open [Beginning: File access error. (code 22)
    [readers.c:893] error: Cannot file of: No such file or directory
    [mpg123.c:516] error: Cannot open of: File access error. (code 22)
    [readers.c:893] error: Cannot file Whats About to Happen] HWY 74.wav 01 [Beginni
    ng of Whats: No such file or directory
    [mpg123.c:516] error: Cannot open Whats About to Happen] HWY 74.wav 01 [Beginnin
    g of Whats: File access error. (code 22)
    [readers.c:893] error: Cannot file About: No such file or directory
    [mpg123.c:516] error: Cannot open About: File access error. (code 22)
    [readers.c:893] error: Cannot file to: No such file or directory
    [mpg123.c:516] error: Cannot open to: File access error. (code 22)
    [readers.c:893] error: Cannot file Happen]: No such file or directory
    [mpg123.c:516] error: Cannot open Happen]: File access error. (code 22)
    [readers.c:893] error: Cannot file HWY: No such file or directory
    [mpg123.c:516] error: Cannot open HWY: File access error. (code 22)
    [readers.c:893] error: Cannot file 74.mp3: No such file or directory
    [mpg123.c:516] error: Cannot open 74.mp3: File access error. (code 22)
    2
    If i remove the subprocess popen, and just print name + ext and use the counter, it prints out both file name together, and how many mp3's it processed, 2.  So i know the program is doing what I want, im just converting wrong.  Thanks again.
    here is whats in the directory, there is more then mp3's, so I know it is filtering the files properly thanks to your splittext.
    justin ~/build/convert $  dir -ls
    total 12104
      20 -rw-r--r-- 1 justin justin   17138 2008-05-19 17:59 00\ -\ Wretch.txt
       4 -rw-r--r-- 1 justin justin      44 2008-06-01 18:20 01
    7588 -rw-r--r-- 1 justin justin 7768364 2008-05-19 17:59 01\ [Beginning\ of\ What's\ About\ to\ Happen]\ HWY\ 74.mp3
       4 -rw-r--r-- 1 justin justin      44 2008-06-01 18:20 02
    4484 -rw-r--r-- 1 justin justin 4588063 2008-05-19 17:59 02\ Love\ Has\ Passed\ Me\ By.mp3
       4 -rw-r--r-- 1 justin justin    1284 2008-06-01 18:20 convert.py
    justin ~/build/convert $
    Last edited by axion419 (2008-06-01 22:23:32)

  • 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...

  • Problems converting WAV file

    I'm trying to convert a ~250MB wav file to an MP3 using iTunes and I keep getting an error message that says:
    "The disk could not be read from or written to". I can't play the file in iTunes either.
    Does anyone know what the limit is for converting such files?
    Anyone have any suggestions? I'm gonna try using GarageBand to convert the file perhaps...

    If Garageband doesn't work, try Audacity.

  • Converting .wav files to .mp3 files in Adobe Audition 3

    I am trying to save a .wav file as an mp3. file.  When I go to Save As and click on file type/Mp3, it asks me if I want to overwrite the current .wav file.  When I say yes, it saves it as a .wav file.  How do get it to save as a .mp3 file?  I'm certain that there is an easy way to do this, but I'm missing it.  Any help from this knowledgeable forum would be most appreciated.
    thanks
    dk

    Next time you want to save as an MP3, type the full name of the file you want to save with the full extension in the file name box - so that would be {yourfile}.mp3. This will reset the default save to the correct extension.

  • Want to convert  tif image file into jpg image file , pls help me

    hey coders, i want to convert a tif image file into a jpg image file , can u all help in this

    In it's simplest form, it's two lines of code.
    BufferedImage bi = ImageIO.read(/*the tif file*/);
    ImageIO.write(bi,"jpeg",/*output file*/);Though, you need to install [JAI-ImageIO|https://jai-imageio.dev.java.net/binary-builds.html] read the tif file into a BufferedImage.

  • Convert mp3 to Wav?

    Hi, i'm looking for a software that would allow me to convert mp3 to wav files. I have to upload files but the source only accepts wav files and I can't get itunes to export to wav format so your help would be much appreciated.

    I've used EasyWMA to convert audio formats before, and it may be able to do what you want. There is a limited free trial available:
    http://www.easywma.com/
    You can also try searching versiontracker.com or macupdate.com with the file types to see if there is other conversion software available.

  • Convert/Mixdown Stereo Wav to Mono Wav

    Hello,
    i have a problem with automating Quicktime via Applescript. I´ve got thousands of two channel stereo interleaved pcm coded (aif, wav) audio files that i want to convert to split stereo files, i.e. mystereo.wav --> mystereo.L.wav AND mystereo.R.wav
    I found a solution to save a QT-export-settings file with Applescript following these instructions: http://lists.apple.com/archives/QuickTime-Users/2002/Nov/msg00294.html. So this is how i made the export set to MONO!
    My idea was to open the stereo interleaved file, set the pan to left, export to mono, then set the pan to right and export again to mono. I automated theses actions with applescript and it seems to work. BUT ...
    Unfortunately quicktime exports 2.0 stereo tracks (one channel silent, the other with programme) instead of following the export settings and merge to mono?
    Am i doing something wrong?
    Why behaves QT this way?
    How can i force quicktime to export mono files?
    Thanks in advance for your answers.
    b.

    Not sure about the Applescript part (I am just delving into that myself), but the method I use to output separate L and R channel mono files from a stereo interleaved in Quicktime is as follows:
    1) Open the stereo file, bring up the Movie Properties window (Command-J)
    2) Click the "Soundtrack" entry in the list, then click the "Audio Settings" tab
    3) On the right hand side of the window is a list of Channel Assignments.
    4) For your Left channel export, assign channel 1 to "Left" and channel 2 to "Unused" from the pop-up list.
    5) Choose "Export" from the file menu, select "Sound to WAVE" or "Sound to AIFF"
    6) Click the "Options" button, choose your setttings, and make sure that "Mono" is selected in the Channels setting.
    7) Name the file "mystereo.L.wav"
    Repeat steps 4-7 for the Right channel (e.g. set Channel 1 to "Unused" and Channel 2 to "Right")
    Let me know if you get anywhere with the Applescript, I do this manually every week to separate L and R channels for a podcast I produce, and would love to have a more automated way to deal with it.
    -K

  • Noise reduction from wav file

    hi all,
    I want to remove noise from wav file . right now i am using free "Wavepad software" for reduce the noise using Auto spectral subtraction. how can i do this by java.
    can some one help me ..............

    Does this apply to your previous question of converting your DAT file to a wav?
    If so, just run the "auto spectral subtraction" algorithm on your DAT file entries before you convert them to a WAV file...

  • Problem in playing back mp3 which was recorded as wav file

    Hi all,
    I have recorded sound using my program. It uses classes like AudioSystem. And it's
    able to record and play also. but in my site I have an mp3 player. So i thought of converting the recorded wav file into mp3. For this i used LAME utility in Linux. And it was converted. Also it is being played in normal players like Winamp. But when i try to play this converted mp3 file using my player in my site it's having problem. Why is it like that?
    Should i do something while capturing the sound from microphone so that it can be converted into mp3 format??
    Or
    Can I directly capture voice to an mp3 file??
    In my program,
    targetDataLine.open(audioFormat) where audioFormat is like
    float sampleRate = 8000.0F;
    int sampleSizeInBits = 16;
    int channels = 1;
    boolean signed = true;
    boolean bigEndian = false;
    Should I do something more or change something??
    Please help me...
    Thanx and Regards,
    sand...

    Thanks Walter.
    Unfortunately, the same issue happens... In whichever window I select "Bounce" from -- Environment, Audio Mixer, or even FILE > BOUNCE -- a window titled "Bounce 'Output 1-2' " pops up. I'm guessing this is what you mean by the "Bounce Output Window." But, there I'm only able to name the file in the "Save As" field, choose where to bounce the file to on my harddrive, and then click on "Bounce" in the bottom-right of the window. I have no tabs or anything else to choose from. So I'm still a little stumped. Any additional thoughts?
    I really appreciate the help.

Maybe you are looking for