Results 1 to 10 of 17

Thread: MP3 encoder/decoder?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Maybe it isn't such a good idea to use an encoder and decoder for this. MP3 is a lossy format, and encoding it again will have bad effects on quality. I only need a lib to read/write MP3's container format. I'll leave the individual frames intact, so no quality is lost.

    I've been looking into the FFmpeg library. I think it has what I need, but there aren't any good tutorials on it.
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  2. #2
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    Ah, good ol FFMpeg. I wondered if they had a lib with pascal headers?? I only knew it in the video/audio trans/en/de-coding.... Tell me if you find a good tut - dying to play with this in pascal
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

  3. #3
    I wrote a small program to parse mp3 files down to frame level. Cutting the file should be just a simple matter of omitting the undesired frames, but I haven't tried it. I hope it'll be helpful: http://imcold.evilhosting.org/files/mp3parse.pas.html

  4. #4
    Last edited by chronozphere; 16-12-2010 at 08:02 PM.
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  5. #5
    I have no interest in writing MP3's, however i'd like to use them with OpenAL that i'm exploring. There was a sample application with mpg123 but i wasn't able to find pascal header to it in any of the links in below (mpg123.pas):
    http://www.noeska.com/doal/tutorials.aspx

Bookmarks

Posting Permissions

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