Mailing ListMailing List   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problems with openning MP3 files

 
Post new topic   Reply to topic    www.hairersoft.com Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
ognjen



Joined: 14 Aug 2008
Posts: 1

PostPosted: Thu Aug 14, 2008 1:28 pm    Post subject: Problems with openning MP3 files Reply with quote

I am having problems opening some MP3 files in Amadeus Pro. I went through couple of posts that discuss this topic, but without much luck.

When I try opening MP3 file I get "Output of mpg123 could not be parsed."

Running
defaults write com.HairerSoft.AmadeusPro HSReadMp3WithQuickTime 1

in the Terminal seems to fix the problem, but only for one file. For example, after that setting is applied I am able to open the file, but if I try again it won't work. I actually need to run a batch process, so I definitely need to be able to process multiple files. Also, it seems as if this setting sometimes works, sometime doesn't (even for the first file).

I dived in a bit into mpg123 issues and tried couple of things, but no luck:

when running mpg123 (in Amadeus Plugins directory) directly on a problematic mp3 file, here is what I get:
========== mpg123 output =============
[dummy.c:13] warning: Using the dummy audio output module.
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.3.1; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes

[id3.c:308] error: No comment text / valid description?
Directory: /
Playing MPEG stream 1 of 1: 123789.mp3 ...
[dummy.c:13] warning: Using the dummy audio output module.
Title: W.I.F.E. Artist: Old 97's
Comment: Album: Early Tracks
Year: 2000 Genre: Rock/Pop
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo

[3:47] Decoding of 123789.mp3 finished.
========== end of mpg123 output =============

NOTE error comment (id3.c:308)...

I tried to play with mpg123_G3 but after some testing I realized that binary is not used, at least not for opening mp3 files.

I also tried to wrap mpg213 into a shell script and 'filter out' error comments (I don't really care for the tags) but that didn't work. When I replace mpg123 with a shell script that calls the binary (and processes output) nothing happens on MP3 file load (no error is reported, nor the file is loaded)

So, my questions are;
1) why "defaults write com.HairerSoft.AmadeusPro HSReadMp3WithQuickTime 1" doesn't work consistently and how can I force Amadeus to permanently use these settings?

2) if there is a problem with setting defaults, is there a way to deceive Amadeus by using a different binary (shell script) which will take care of output cleaning? What is the input/output that Amadeus expects when invoking mpg123

3) Is there a way to debug calls to external programs (mpg123) from Amadeus?

I apologize for ignorance on Mac OS system related issues (fairly new to the Mac OS, although I understand Linux pretty well).

I also check for CrashReports but couldn't find any relevant ones.
Back to top
View user's profile Send private message
Martin Hairer
Site Admin


Joined: 08 Nov 2006
Posts: 1615

PostPosted: Thu Aug 14, 2008 4:00 pm    Post subject: Problems with openning MP3 files Reply with quote

Hi,

Quote:
I am having problems opening some MP3 files in Amadeus Pro. I went
through couple of posts that discuss this topic, but without much
luck.

When I try opening MP3 file I get "Output of mpg123 could not be
parsed."

Could you please send me one of the problematic files so that I can
test it on my machine? Thanks,

Martin

HairerSoft
http://www.hairersoft.com/


_______________________________________________
Amadeus forum mailing list
Unsubscribe / change settings at http://two.pairlist.net/mailman/listinfo/forum_list
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Lou Kash



Joined: 16 Jul 2008
Posts: 87

PostPosted: Tue Aug 19, 2008 12:34 pm    Post subject: Re: Problems with openning MP3 files Reply with quote

ognjen wrote:
When I try opening MP3 file I get "Output of mpg123 could not be parsed."
Running defaults write com.HairerSoft.AmadeusPro HSReadMp3WithQuickTime 1

I've seen this error with the most recent Amadeus version, too. (HSReadMp3WithQuickTime not enabled, though)

I was able to import the offending MP3 files after using the repair function of MP3 Trimmer http://deepniner.net/mp3trimmer
Back to top
View user's profile Send private message Visit poster's website
Martin Hairer
Site Admin


Joined: 08 Nov 2006
Posts: 1615

PostPosted: Wed Aug 20, 2008 7:17 pm    Post subject: Problems with openning MP3 files Reply with quote

Quote:
I've seen this error with the most recent Amadeus version, too.
(HSReadMp3WithQuickTime not enabled, though)

I was able to import the offending MP3 files after using the repair
function of MP3 Trimmer http://deepniner.net/mp3trimmer

I changed the version of mpg123 at some stage recently and the new
version seems to be a bit less error-tolerant (actually it is quite
tolerant, but it produces more error messages), thus confusing Amadeus
Pro. The beta version at <http://www.hairersoft.com/Downloads/AmadeusPro.zip
Quote:
should fix this problem. Regards,

Martin

HairerSoft
http://www.hairersoft.com/


_______________________________________________
Amadeus forum mailing list
Unsubscribe / change settings at http://two.pairlist.net/mailman/listinfo/forum_list
Back to top
View user's profile Send private message Send e-mail Visit poster's website
padmavyuha



Joined: 19 Aug 2008
Posts: 5
Location: Stawley, Somerset

PostPosted: Thu Mar 26, 2015 2:37 am    Post subject: Reply with quote

Hi, I'm experiencing this same issue with certain files, using AP v2.1.7 in OS 10.10.2. Here's a link to one of the offending mp3s in case this helps (it's 22Mb).

Meanwhile, any suggestions for a quick repair/workaround to get them to open in AP?
Back to top
View user's profile Send private message
dinojrx



Joined: 11 Nov 2009
Posts: 78
Location: Berlin / Germany

PostPosted: Thu Mar 26, 2015 1:17 pm    Post subject: Reply with quote

Hi, i got the same error message. As a quick workaround I used Quicktime to convert the mp3 to m4a which opened without problems in AP afterwards.
Back to top
View user's profile Send private message Visit poster's website
padmavyuha



Joined: 19 Aug 2008
Posts: 5
Location: Stawley, Somerset

PostPosted: Thu Mar 26, 2015 6:59 pm    Post subject: Reply with quote

Thanks, I'll try that.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.hairersoft.com Forum Index -> Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group