Results 1 to 5 of 5
  1. #1
    Graham is offline Member
    Join Date
    Oct 2013
    Location
    Massachusetts, United States
    Posts
    7
    Rep Power
    0

    Default Help with Transcoding

    Hi All,

    I'm looking for the easiest way to transcode audio. I'd like to transcode .WAV files into G711 ulaw 8KHz X 8 bit, save as a file (object) and back to .WAV. I have a Main for my project where I call the other complex functions as classes. Ideally I'd like two classes; WAV to G711 and G711 to WAV. Any thoughts are much appreciated..

    Best
    Graham

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    14

    Default Re: Help with Transcoding

    Read the appropriate standard(s), understand the limitations of going from one to the other (where there are incompatibilities) and code away. You probably realize this is non-trivial. If I had to do this from Java I would find an existing application that could accept command line arguments and then call it from Java.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  3. #3
    Graham is offline Member
    Join Date
    Oct 2013
    Location
    Massachusetts, United States
    Posts
    7
    Rep Power
    0

    Default Re: Help with Transcoding

    Hi Jim,

    Aware of the standards and not an issue here. Yes I certainly understand it non-trivial that's why I asked the forum. There is so much out there with Java I don't want to reinvent the wheel. The Oracle Java site has an overkill solution but it also seems to rely on just URL's for I/O which isn't what I need. For POC I need files for I/O but the final project will use streamers. It's purpose built so I don't want a lot of unnecessary functionality, read code. I don't think the existing application with a CLI will do it because of scalability and the I/O management needed with the streamers. The core might work but I see the I/O as being an implementation problem. Ideally a nice clean class with an object API.

    Best
    Graham

  4. #4
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    14

    Default Re: Help with Transcoding

    Well, about all I can offer is this from the tutorials.

    Using Files and Format Converters (The Java™ Tutorials > Sound)

    It's possible someone else on this forum may have some recommendations. But audio conversion doesn't come up very much

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  5. #5
    Graham is offline Member
    Join Date
    Oct 2013
    Location
    Massachusetts, United States
    Posts
    7
    Rep Power
    0

    Default Re: Help with Transcoding

    Thanx Jim. Yes I looked at the Oracle tutorials and I was trying to avoid pretty much starting from scratch. Yes I'm beginning to think audio conversion doesn't come up much

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •