Results 1 to 13 of 13

Thread: Compressing mp3 Files

  1. #1
    Member
    Join Date
    Mar 2011
    Location
    Bangladesh
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Compressing mp3 Files

    If I convert a mp3 file to a lower bitrate to save disk space and convert back it again in the files original bitrate will there be quality loss.

  2. #2
    Member Surfer's Avatar
    Join Date
    Mar 2009
    Location
    oren
    Posts
    203
    Thanks
    18
    Thanked 7 Times in 1 Post
    Yes, of course.

  3. #3
    Member
    Join Date
    Mar 2011
    Location
    Bangladesh
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Then is there any way to compress mp3 files losslessly with high compression ratio

  4. #4
    Member m^2's Avatar
    Join Date
    Sep 2008
    Location
    Ślůnsk, PL
    Posts
    1,612
    Thanks
    30
    Thanked 65 Times in 47 Posts
    Quote Originally Posted by zhuda View Post
    If I convert a mp3 file to a lower bitrate to save disk space and convert back it again in the files original bitrate will there be quality loss.
    Usually yes. The only exception that I'm aware of is mp3packer, but gains are from none to slight, you can't pick target bitrate.
    Quote Originally Posted by zhuda View Post
    Then is there any way to compress mp3 files losslessly with high compression ratio
    Define high.
    The best (and almost only) MP3 recompressor is SoundSlimmer, try it to see the current technology limits.

  5. #5
    Member
    Join Date
    Mar 2011
    Location
    Bangladesh
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sound slimmer is good .But makes files only 10-15% smaller for me still better than others.Thank you

  6. #6
    Administrator Shelwien's Avatar
    Join Date
    May 2008
    Location
    Kharkov, Ukraine
    Posts
    3,134
    Thanks
    179
    Thanked 921 Times in 469 Posts
    Here's a hack for console mp3 processing with soundslimmer's dll - http://nishi.dreamhosters.com/u/mpzapi_v1.rar
    Note that dll checks the extensions for some reason, so it won't work with just any filenames.

  7. #7
    Member
    Join Date
    May 2008
    Location
    Kuwait
    Posts
    301
    Thanks
    26
    Thanked 22 Times in 15 Posts
    Quote Originally Posted by Shelwien View Post
    Here's a hack for console mp3 processing with soundslimmer's dll - http://nishi.dreamhosters.com/u/mpzapi_v1.rar
    Note that dll checks the extensions for some reason, so it won't work with just any filenames.
    it seems that it has a 10mb limit (10000000). is there development for other formats?

  8. #8
    Administrator Shelwien's Avatar
    Join Date
    May 2008
    Location
    Kharkov, Ukraine
    Posts
    3,134
    Thanks
    179
    Thanked 921 Times in 469 Posts
    > it seems that it has a 10mb limit (10000000).

    I tried compressing an .mp3 of size 11048960 and it went ok.
    The "mpz=10000000" printed by it is the address of dll in memory

    But it looks like 1M stack is not enough for the dll for some reason:
    Code:
    Comparing files mpz.exe and MPZ.EXE.fixed
    00000142: 10 00
    00000143: 00 01
    Also note that you can losslessly compress something like rar -m0 archive of a whole album.
    (or a movie container with mp3 audio track, like .avi; its better to demux it though).
    It has to be renamed to .mp3 first though (or dll patched).

    > is there development for other formats?

    Not in soundslimmer probably. We had a working aac demo though (~15%), but it wasn't really practical
    (parser problems mainly).
    Although I might return to it after redoing deflate,jpeg,mp3... No plans for ogg atm, as I don't see any use for it
    (don't even have any music in that format), but in theory that's surely possible.

  9. #9
    Member
    Join Date
    May 2008
    Location
    Kuwait
    Posts
    301
    Thanks
    26
    Thanked 22 Times in 15 Posts
    Quote Originally Posted by Shelwien View Post
    > it seems that it has a 10mb limit (10000000).

    I tried compressing an .mp3 of size 11048960 and it went ok.
    The "mpz=10000000" printed by it is the address of dll in memory

    But it looks like 1M stack is not enough for the dll for some reason:
    Code:
    Comparing files mpz.exe and MPZ.EXE.fixed
    00000142: 10 00
    00000143: 00 01
    I've test it with files over 30mb and when its reach 10mb it reset then exist.. even though speed is faster than GUI

    Also note that you can losslessly compress something like rar -m0 archive of a whole album.
    (or a movie container with mp3 audio track, like .avi; its better to demux it though).
    It has to be renamed to .mp3 first though (or dll patched).
    I found this by mistake through the GUI as i was wondering what if i give a zip file with few mp3 a mp3 extension. Will the GUI blindly compress and the answer was YES. So you can use it as processor after precomp but the main problem is it cannot be issued with precomp due to license.

    Other finding is that the program can run correctly under 64bit windows even though the site was saying no.

    It also works with MP3pro files ( i did not test Surround or MP3HD extension but i think it should work)

    > is there development for other formats?

    Not in soundslimmer probably. We had a working aac demo though (~15%), but it wasn't really practical
    (parser problems mainly).
    Although I might return to it after redoing deflate,jpeg,mp3... No plans for ogg atm, as I don't see any use for it
    (don't even have any music in that format), but in theory that's surely possible.
    I was asking becuase the GUI shows AAC, MP4 & WAV but turned off.

    regarding OGG its used in games and as I remember this guy http://web.interware.hu/rudas/ was doing something on improving the format. or you can study rehuff sources (which issued to re-compress huffman table in ogg similar to JPEGtran did with jpeg).

    generally many good tools has been released on this forum even on less used formats but i think it would be more beneficial to group it under one thread for reference for now or later developing.

  10. #10
    Administrator Shelwien's Avatar
    Join Date
    May 2008
    Location
    Kharkov, Ukraine
    Posts
    3,134
    Thanks
    179
    Thanked 921 Times in 469 Posts
    > I've test it with files over 30mb and when its reach 10mb it reset
    > then exist.. even though speed is faster than GUI

    As I said, there's no size limit, but there's a stack overflow bug.
    You have to patch mpz.exe like I explained before.

    > Other finding is that the program can run correctly under 64bit
    > windows even though the site was saying no.

    They probably mean that there's no x64 build.
    It shouldn't be a problem though, at least the engine is fully portable,
    and GUI is done with VS/MFC, so its likely just a matter of recompiling it.

    > It also works with MP3pro files ( i did not test Surround or MP3HD
    > extension but i think it should work)

    Yes, these mp3 extensions are implemented using frame padding bits
    to store extended data. Extensions are not recompressed though.

    > I was asking becuase the GUI shows AAC, MP4 & WAV but turned off.

    There were plans like that when it was first created.

    > regarding OGG its used in games

    Unfortunately I don't have any to test it, and filetype statistics
    don't show much of them in archives either, so it'll have to wait.

    > generally many good tools has been released on this forum even on
    > less used formats but i think it would be more beneficial to group
    > it under one thread for reference for now or later developing.

    So why don't you just make such a thread?

  11. #11
    Member m^2's Avatar
    Join Date
    Sep 2008
    Location
    Ślůnsk, PL
    Posts
    1,612
    Thanks
    30
    Thanked 65 Times in 47 Posts
    Shelwein, I'd like to create a reference lossless music test set this summer.
    I did basic research on where to look for free music and can give you a few pointers.

  12. #12
    Administrator Shelwien's Avatar
    Join Date
    May 2008
    Location
    Kharkov, Ukraine
    Posts
    3,134
    Thanks
    179
    Thanked 921 Times in 469 Posts
    > I did basic research on where to look for free music and can give you a few pointers.

    Do you also want me to work on ogg recompression or what?
    Except ogg, I probably have enough samples... maybe mpeg1 layer1-2 audio? (not encoded with lame)

    What I'd really appreciate though, is a real aac decoder source (not faad), one which would be able to decode
    heaac audio streams etc.

  13. #13
    Member m^2's Avatar
    Join Date
    Sep 2008
    Location
    Ślůnsk, PL
    Posts
    1,612
    Thanks
    30
    Thanked 65 Times in 47 Posts
    Quote Originally Posted by Shelwien View Post
    > I did basic research on where to look for free music and can give you a few pointers.

    Do you also want me to work on ogg recompression or what?
    You said you were limited by lack of them, so I implied you'd like to do it. Personally I don't think I have much use for such tool, but nevertheless I'd consider it cool.

Similar Threads

  1. convert swf files to avi files
    By Jabilo in forum The Off-Topic Lounge
    Replies: 13
    Last Post: 26th October 2016, 11:39
  2. Compressing pi
    By Matt Mahoney in forum Data Compression
    Replies: 24
    Last Post: 26th September 2016, 19:17
  3. On compressing series of ones and zeroes.
    By Chuckie in forum Data Compression
    Replies: 4
    Last Post: 3rd March 2011, 12:33
  4. MP3 repacker v1.19 released
    By maadjordan in forum Forum Archive
    Replies: 5
    Last Post: 3rd October 2007, 09:18
  5. encode_-_hey_kid.mp3
    By encode in forum Forum Archive
    Replies: 16
    Last Post: 16th May 2007, 16:00

Posting Permissions

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