Urgent How to convert wav files into mp3?

Can anyone plz tell me how can i convert wav file into mp3 using JMF? tell me any sample programme, any method in JMF........ help me plz

Examples could be found on the JMF Solutions page.
Only I can say about mp3 through network - it's hardly possible. I recommend GSM for compression2transmit. It could be used via GSM content descriptor. I'm not sure, but I suppose MP3 is supported only for files, there's no MP3.RTP or such (if you want to transmit files, it should not cause any problems).
About JavaSound - it does not matter... You still need JMF to be installed on Client, and AppletCapture to be enabled. Futrher - would it be DirectSound, JavaSound, or anything else - just the deal of JMF.
I tried to use JavaSound capture with proceeding AudioInputStream to JMF, but failed to do this.
About your problem - best solution seems like that:
capture sound
put it into processor
set format to GSM
transmit
so then, server receives it and formats it as it likes.
If you want to transmit exactly files, you should use just some of pure java after capturing. java.net, or such thing.

Similar Messages

  • How to convert AMR files into MP3 or WAV?

    Hello,
    I'm not sure if that's the right place to ask, but I couldn't find any more suitable one, so...
    Can anyone recommend a nice convenient application to convert my phone's recordings from AMR format to MP3 or WAV - eg. something I can conveniently listen to on my PC?
    Thanks in advance!

    Many of my friends recommend iDealshare VideoGo to convert AMR files to MP3 or WAV.
    Today i just have a try, and find it really works great in converting AMR to MP3, WAV, WMA, AAC, AIFF etc with high audio quality.
    what i like prefer is its drag and drop fuction and batch conversion fuction.
    Here is the step by step guide at How to Convert AMR to MP3, WAV?
    Hope it also helps for you.

  • How do I batch convert wav files to mp3?

    Just wondering how I can convert a batch of wav files into mp3 files (including metadata).
    I was looking thru features in both soundbooth and bridge, but I can't find it (if it exists).
    Thanls

    Found this FREE easy to use mp3 converter called All2Lame, here:
    http://members.home.nl/w.speek/all2lame.htm
    You will also need to download LAME MP3 encoder, and copy the lame.exe & the lame_enc.dll files into the all2lame directory to get it to work:
    http://www.rarewares.org/mp3-lame-bundle.php
    The program offers a lot of command line type options, so you need to read the documentation to understand all your choices, but here's a 'quickstart' line you can put into the 'switches' line that will make highest quality stereo mp3's using variable bit rate technique:
    --vbr-new -V 0 -q 0 --resample 44.1
    If you prefer mono to save space, use this line:
    --vbr-new -V 0 -q 0 -m m --resample 44.1

  • Converting .wav files to mp3 format.

    Hi,
            I am trying to convert a wav file into mp3 format using the below code. I am not seeing any errors in the console but at the same time the mp3 file is created without any content. Any ideas on how to address this issue ?
      Format[] FORMATS = new Format[] { new AudioFormat(
      AudioFormat.LINEAR) };
      String srcFilePath = "C:" + File.separator + "Users"
      + File.separator + "vkiran" + File.separator + "Desktop"
      + File.separator + "test" + File.separator + "4a714ea2.wav";
      String mp3FilePath = "C:" + File.separator + "Users"
      + File.separator + "vkiran" + File.separator + "Desktop"
      + File.separator + "test" + File.separator + "4a714ea2.mp3";
      File srcFile = new File(srcFilePath);
      File destFile = new File(mp3FilePath);
      MediaLocator source = new MediaLocator(srcFile.toURL());
      DataSource d = Manager.createDataSource(source);
      ContentDescriptor cd = new ContentDescriptor(
      FileTypeDescriptor.MPEG_AUDIO);
      Processor p = Manager.createRealizedProcessor(new ProcessorModel(d,
      FORMATS, cd));
      p.configure();
      System.out.println((p.getDuration()).getSeconds());
      MediaLocator destination = new MediaLocator(destFile.toURL());
      DataSource ds = p.getDataOutput();
      DataSink sink = Manager.createDataSink(p.getDataOutput(),
      destination);
      sink.open();
      sink.start();
      sink.stop();
      sink.close();
      p.stop();
      p.close();

    You are converting the WAV files to mp3 format before transferring them to the iPod?
    You're using iTunes to do this?
    Just for the record, the iPod will not play mp3 files below a bit rate of 32kbps nor will it play compressed WAV files.

  • How to convert jpeg files into word

    How to convert jpeg files into Word

    Hi Eugene,
    I don't think you can convert an image to a Word document, but you could place the JPEG into a Word document using the Insert > Object command in Word.
    For other questions relating to Word, you will probably have more luck getting an answer if you post on the Microsoft forums (we can help if you're using Acrobat, or another Adobe product, but you'll find the Word experts on the Microsoft forums.)
    Best,
    Sara

  • How to convert Doc file into image

    hello frnds
                     Can any body guide me how to convert doc file into image and show into swf loader.
    actually i have to convert doc files into swf files in runtime so that i have to use this flow.
    is it possible to convert doc file into byte array and than convert into image.
    Thanks And Regards
        Vineet Osho

    You can convert any DisplayObject to byeArray using this function ImageSnapshot.captureBitmapData().getPixels()

  • How to convert Property files into Java Objects.. help needed asap....

    Hi..
    I am currently working on Internationalization. I have created property files for the textual content and using PropertyResourceBundles. Now I want to use ListResourceBundles. So what I want to know is..
    How to convert Property files into Java Objects.. I think Orielly(in their book on Internationalization) has given an utitlity for doing this. But I did not get a chance to look into that. If anyone has come across this same issue, can you please help me and send the code sample on how to do this..
    TIA,
    CK

    Hi Mlk...
    Thanks for all your help and suggestions. I am currently working on a Utility Class that has to convert a properties file into an Object[][].
    This will be used in ListResourceBundle.
    wtfamidoing<i>[0] = currentKey ;
    wtfamidoing<i>[1] = currentValue ;I am getting a compilation error at these lines..(Syntax error)
    If you can help me.. I really appreciate that..
    TIA,
    CK

  • How to convert HL7 file into an XML

    Hi All,
    I am new to HL7,can any one tell how to convert HL7 file into an XML.Give sample demo or related links.
    My sample HL7 file is as follows how can I convert.
    FHS|^~\&||Tax ID123^Lab Name123^L|||201110191435||HL7.txt||1234567|123||
    PID|seqno|123||john^chambers^^Dr^Dr|2456 california ave^San jose^CA^85254|19601212|M
    FHS|^~\&||Tax ID123^Lab Name123^L|||File Creaqted Date|File Security|FileName||File HeaderComment||Facility|FileCreatedDateTime|File Security|File Name|File Header Comment|FileControlId|Reference File Control ID|
    PID|seqno|patientId||LastName^FirstName^MiddleName^Title^Degree|Street^City^State^zip|patientDOB|gender
    <Report>
    <FileHeader>
    <FileSendingApplication> </FileSendingApplication>
    <TaxID>Tax ID123</TaxID>
    <LabName>Lab Name123</LabName>
    <FileSendngFacilityType>L</FileSendngFacilityType>
    <FileReceivingApplication></FileReceivingApplication>
    <FileReceivingFacility></FileReceivingFacility>
    <FileCreatedDateTime>201110191435</FileCreatedDateTime>
    <FileSecurity></FileSecurity>
    <FileName>HL7.txt</FileName>
    <FileHeaderComment></FileHeaderComment>
    <FileControlId>1234567</FileControlId>
    <ReferenceFileControlID></ReferenceFileControlID>
    <FileHeader>
    <Patient>
    <seqno> </seqno>
    <patientId>Tax ID123</patientId>
    <LastName>Lab Name123</LastName>
    <FirstName>L</FirstName>
    <MiddleName></MiddleName>
    <Title> </Title>
    <Degree></Degree>
    <Street></Street>
    <City></City>
    <State>HL7.txt</State>
    <Zip></Zip>
    <patientDOB>1234567</patientDOB>
    <gender></gender>
    <Patient>
    </Report>
    Thanks
    Mani

    Hi Prabu,
    With input as in single line I'm able to get the the output but with the multiple lines of input,error was occured.Any suggestions.
    Error while translating. Translation exception. Error occured while translating content from file C:\temp\sampleHL7.txt Please make sure that the file content conforms to the schema. Make necessary changes to the file content or the schema.
    The payload details for this rejected message can be retrieved.          Show payload...
    Thanks
    Mani

  • HT204382 How to convert VOB files into MP4 ? Tks

    Hi, anyone knows how to convert VOB files into MP4 ones ?
    Tks

    http://forums.macrumors.com/showthread.php?t=812985
    The procedure is dated and I will assume that the DVD is not copy-protected since discussion of such things is verboten.

  • I have a mac ox 10.5.8 and I'm trying to download a downloader that converts video files into mp3 but none of them wont open. Can anyone help?

    I have a mac ox 10.5.8 and I'm trying to download a downloader that converts video files into mp3 but none of them wont open. Can anyone help?

    http://software-download.name/video-to-mp3-converter-osx/
    http://www.macworld.com/article/1161412/how_to_convert_audio_and_video_files_for _free.html
    http://www.applemacvideo.com/howtoconvert/flvmac/flv-to-mp3-mac.html
    http://www.iskysoft.com/convert-audio/convert-mpeg1-to-mp3-mac.html
    Not sure if any are PPC, oR 10.5.8 compliant, still, if you give a link to one you're trying, it may be helpful.

  • How to convert  Wav file  in to byte array an vise vers into RMS???????????

    hi Constantinos Loizou
    i m having same problem which u were facing in last month.
    my problem i have to save .WAV file into RMS and then retreive it from RMS.
    my Code is
    Read From RMS
    RecordStore rsUser = RecordStore.openRecordStore(file,true);
    if(rsUser.getNumRecords() > 0)
    try {
    byte[] byusrinfo = rsUser.getRecord(1);
    InputStream in = new ByteArrayInputStream(byusrinfo,0,byusrinfo.length);
    p = Manager.createPlayer(in,"audio/x-wav");
    p.start();
    return true;
    catch(Exception ex) {
    ex.printStackTrace();
    return false;
    rsUser.closeRecordStore();
    catch(Exception ex) {
    ex.printStackTrace();
    return false;
    Write in RMS
    try {
    RecordStore rsUser = RecordStore.openRecordStore(file,true);
    int idata = is.available();
    byte[] exdata = new byte[idata];
    is.read(exdata);
    if(rsUser.getNumRecords() > 0) {
    rsUser.setRecord(1,exdata,0,exdata.length);
    else {
    rsUser.addRecord(exdata,0,exdata.length);
    rsUser.closeRecordStore();
    catch(Exception ex) {
    ex.printStackTrace ();
    now i have the file successfully when i retrieve it from RMS and p.reliaze() give me exception
    javax.microedition.media.MediaException: Failed to realize Player: Malformed wave media: expected 'RIFF'
    have u able to solve it. if yes then pls give me solution. or give other solution if this soution is not good
    regardz
    Hassan Mushtaq

    Well, I'm not going to give you your code on a silver platter. You'll need to put some effort in it yourself.
    So look at that available() method yourself an see if you can improve on that. Look at the api docs, there is loads of information there, and often it will give you pointers on why things are not working.

  • Converting WAV files to mp3 upon import

    I have changed my import settings in itunes preferences to encode incoming wav files to mp3, restarted my computer, but when I import the wav file, it stays a wav file, no matter how I set my preferences. Why can't I make mp3's, or that is how the F**K can I get my computer to do what I'm asking it???
    P.S. I still love my mac, but jesus, come on!!!

    I have changed my import settings in itunes preferences to encode incoming wav files to mp3, restarted my computer, but when I import the wav file, it stays a wav file, no matter how I set my preferences.
    Import will only convert to the selected format when your RIP from CD or select a file already in iTunes then menu Advanced -> Create {import settings} version.
    Make sure your Import settings are MP3.
    Hold Option, go to iTunes menu Advanced -> Convert selection to MP3, then select the WAV files you want to add to yoru library
    This will convert them to MP3 and add them at the same time.

  • How to convert csv files into java bean objects?

    Hi,
    I have a CSV file, I want to store the data availabale in that csv file into java bean, I am new to this csv files how can I convert CSV files into java beans.
    Please help me.
    Adavanced Thanks,
    Mahendra

    You can use the java.io API to read (and write) files. Use BufferedReader to read the CSV file line by line. Use String#split() to split each line into an array of parts which were separated by comma (or semicolon). If necessary run some escaping of quotes. Finally collect all parts in a two-dimensional List of Strings or a List of Javabeans.
    java.io API: [http://www.google.com/search?q=java.io+javase+api+site:sun.com]
    java.io tutorial: [http://www.google.com/search?q=java.io+tutorial+site:sun.com]
    Basic CSV parser/formatter example: [http://balusc.blogspot.com/2006/06/parse-csv-upload.html]

  • How to convert .mov files to MP3?

    I am recording an entire book for someone who can't read. I'm using Quicktime Pro to do the recording. I want to burn a CD for her that she'll be able to play on any old CD player. How do I converrt the .mov files to MP3 or other usable format?

    Itunes preferences > Advanced Tab > Importing Tab > Import Using Drop Down Menu
    However as Kirk said it's pointless converting your files to mp3 if there going on to CD. This means you will compress the files, lose quality and they will then have to be reconverted to be burnt to CD. You would be better off exporting straight out of QT Pro as AIFF, this way you will not lose quality. You can then burn from iTunes toast etc no probs at all using this format.
    Cheers

  • Converting WAV files to MP3

    When trying to convert my wav files to mp3 in itunes, I get an error pop-up that says "The disk could not be read from or written to." These files worked fine before I updated to the new itunes.

    PaulSimpson wrote:
    The files are on my hard drive Steve. They were audio files that I downloaded from my personal camera. I didn't even think these kinds of files had permissions.
    OK just wanted to make sure. Sometimes, read/write errors occur when write protection is enabled on, say, an SD card. (that little tab on the top)
    All files actually have permissions under Mac OS X, one of the aspects of the underlying UNIX file system. Every file is capable of being readable, writable, and/or executable by either the owner, the group to which he/she belongs to, and/or everybody. Sometimes accessing files becomes erratic when the file's permissions unknowingly change, thus the good idea to "repair permissions" from time to time with Disk Utility.
    However, you mentioned that the original WAV files came from your digital camera. What happens if you try to open these WAVs with the QuickTime Player? Do they play as per usual?
    PaulSimpson wrote:
    If you still think repairing my permissions with my install disc is the way to go, I'm game, but I'm going to need a bit more step by step.
    We'll save that for a little later. Originally, I was leaning toward the feeling that the hard disk may have needed verifying/repairing (through Disk Utility) - because of the read/write errors. But it is possible that it may be an issue with the WAV files themselves.

Maybe you are looking for

  • Is there a way of placing images in the timeline without having them snap to frames??

    I'm basically trying to make a short movie for a friend that involves stills that flick back and forth but i need them to sync to the music i have to go with it.  Clearly, the musics beat won't sit frame perfect so in order to get the effect i want,

  • TP Agreement Not Found -- OAGIS XML document over AS2

    Hi, I am getting TP Agreement not found error while receiving OAGIS XML document over AS2. Below is error message. Agreement not found for trading partners: FromTP SOALocal, ToTP Powell with document type PROCESS_INVOICE_002-null-INBOUND I am not sur

  • Using router as wireless access point

    I have connected two routers to my BT broadband Hub (via ethernet) in order to create one big Wirless LAN across the house. Unfortunately, the routers have simply created independent wireless lans which I need to log into separately as I move around

  • Dropped iphone4 in water.

    The screen is blank and i cant hear anythin, but iphone is working as people can still call and msg. what do i do?? please help!!

  • Change runtime systems in a track

    Hello, We had a track in which we had configured CONS as our QA system....and we moved all changes to PROD(which were definitely Assembled)....now they were some new changes which were done after this which were imported into CONS and deployed to QA