Problems with openning MP3 files
Moderator: Martin Hairer
Problems with openning MP3 files
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.
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.
- Martin Hairer
- Site Admin
- Posts: 1978
- Joined: Wed Nov 08, 2006 11:49 am
- Contact:
Problems with openning MP3 files
Hi,
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
Could you please send me one of the problematic files so that I canI 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."
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
Re: Problems with openning MP3 files
I've seen this error with the most recent Amadeus version, too. (HSReadMp3WithQuickTime not enabled, though)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 was able to import the offending MP3 files after using the repair function of MP3 Trimmer http://deepniner.net/mp3trimmer
- Martin Hairer
- Site Admin
- Posts: 1978
- Joined: Wed Nov 08, 2006 11:49 am
- Contact:
Problems with openning MP3 files
I changed the version of mpg123 at some stage recently and the newI'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
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
Martinshould fix this problem. Regards,
HairerSoft
http://www.hairersoft.com/
_______________________________________________
Amadeus forum mailing list
Unsubscribe / change settings at http://two.pairlist.net/mailman/listinfo/forum_list
-
- Posts: 5
- Joined: Tue Aug 19, 2008 9:40 am
- Location: Stawley, Somerset
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?
Meanwhile, any suggestions for a quick repair/workaround to get them to open in AP?
-
- Posts: 5
- Joined: Tue Aug 19, 2008 9:40 am
- Location: Stawley, Somerset