Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
28 user(s) are online (16 user(s) are browsing Forums)

Members: 1
Guests: 27

Amigafreak02, more...

Support us!

Headlines

 
  Register To Post  

mpega.library
Not too shy to talk
Not too shy to talk


See User information
Hi,

The mpega library on OS4 depot that has the Lib Mad source mixed in appears to be a little broken:

A couple of things I've noticed:

1/ The volume gain detection or application appears to be broken. For some audio files it is mistakenly lowering the volume far too much. After investigating I'm convinced this is a code error (perhaps mistakenly picking up tags/bytes it thinks are replay tags).

2/ Disabling the volume gain detection can be achived by lowering the quality control in the MPEGA CTRL, which gives you much better volume, but I'm not 100% sure if the overall quality is affected. It would be good if someone could investigate. (The next version of TuneNet will allow you to set this parameter on the MP3 plugin if you use this version of the library).

3/ The source code really needs updating, especially for OS4, some of the code around the library appears a little chaotic, with assembler includes that don't appear to be available anywhere.

4/ The latest LibMad source might be worth including.

Does anyone fancy taking this on? .. or know the current maintainer?

I'm flat out on other things concerning TuneNet at the moment, so I'm hopeful someone might want to take this on!

Cheers,
Bean.

OS4.1 + an A1XE with an appetite for batteries!
Go to top
Re: mpega.library
Just can't stay away
Just can't stay away


See User information
@bean

If i remember right the mad version also has other bugs like it thinks some none_mp3 files are mp3 files too. I know Error made workaround for this problem in Fryingpan by giving other filetypes then mp3 higher priority so that checking for formats it seeks for mp3 last. Something like that.

I wish there were an update of that library

Go to top
Re: mpega.library
Not too shy to talk
Not too shy to talk


See User information
@Kicko

Switching to Medium quality appears to fix a lot of issues with the library thankfully. The next release of the MP3 plugin for TuneNet will have that setting enabled by default.

Cheers,
Bean.

OS4.1 + an A1XE with an appetite for batteries!
Go to top
Re: mpega.library
Just popping in
Just popping in


See User information
@Kicko

Here's the thread from 2005 describing the symptoms you mentioned and the reasons why it occurs:

http://www.ann.lu/comments2.cgi?view= ... &category=forum&start=1&3

#6

Go to top
Re: mpega.library
Not too shy to talk
Not too shy to talk


See User information
@bean

will it sound noticeably worse for mp3 playback?

Go to top
Re: mpega.library
Not too shy to talk
Not too shy to talk


See User information
@jahc

I've had it running for a couple of days at medium quality, and it certainly doesn't sound any worse. In fact because of the volume levels it sounds much better!! I'll make the option configurable at any rate.

Cheers,
Bean

OS4.1 + an A1XE with an appetite for batteries!
Go to top
Re: mpega.library
Not too shy to talk
Not too shy to talk


See User information
@number6

TuneNet's MP3 plugin actually solves the recognition problems in the mpega.library by decoding a few random frames during the validity checks. It's not perfect but it's done OK up till now.

Cheers,
Bean.


Edited by bean on 2009/8/2 23:27:08
OS4.1 + an A1XE with an appetite for batteries!
Go to top
Re: mpega.library
Quite a regular
Quite a regular


See User information
@bean

Take a look at OS4Depot. I made some fixes in the demo archive for the header and demo program. Nothing in the actual mpega source though.

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top
Re: mpega.library
Just can't stay away
Just can't stay away


See User information
@number6

Thanks for the link

Go to top
Re: mpega.library
Not too shy to talk
Not too shy to talk


See User information
@Deniil

Hi, it looks like I went through the same pain as you after reading your readme file!

From ReadMe
Quote:
Since I could not find the correct header files for using
mpega.library on AmigaOS 4 I banged my head against an
alignment issue in the library/mpega.h file for 3 days.


.. I should have made my findings known, it might have saved your head a little!

Cheers,
Bean.

OS4.1 + an A1XE with an appetite for batteries!
Go to top
Re: mpega.library
Quite a regular
Quite a regular


See User information
Quote:
or some audio files it is mistakenly lowering the volume far too much.

@bean

I noticed that with mpega.library some files were too soft, but tried to find a way to remove the gain information from said files. No luck there.

For the libMAD mpega.library, the modes 0 and 1 seem to create identical files. However, mode 2 (default) is different. Based on a test with mpega, a single song and sha1sum.

Go to top
Re: mpega.library
Not too shy to talk
Not too shy to talk


See User information
@Thematic

It appears that the gain information isn't actually present in most cases. It's the mpega.library that is broken!

As mentioned above; TuneNet will be using mode 1 (medium qual), instead of 2 by default from the next release. What I really need to know is if there is also a drop in quality from 2 to 1 in the libmad version. It certainly sounds OK to my ears.

Cheers,
Bean

OS4.1 + an A1XE with an appetite for batteries!
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project