IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Needed; an MP3 analyser for LINUX.
Differenciam
post Sep 2 2003, 02:33
Post #1





Group: Members
Posts: 453
Joined: 15-January 03
Member No.: 4577



Windows - Encspot.

Linux - ?

I think I have a nice amount of XING MP3s on here at the moment ohmy.gif , so I'd like to know if there's a Linux MP3 analyser like Encspot for windows so I can check. Thanks smile.gif
Go to the top of the page
+Quote Post
harashin
post Sep 2 2003, 02:55
Post #2





Group: Members
Posts: 339
Joined: 20-February 02
From: Kyoto, Japan
Member No.: 1362



How about using MP3x?


--------------------
Folding@Home Hydrogenaudio.org Team ID# 32639
http://folding.stanford.edu/
Go to the top of the page
+Quote Post
Differenciam
post Sep 2 2003, 03:29
Post #3





Group: Members
Posts: 453
Joined: 15-January 03
Member No.: 4577



Hmmm.. I looked at the screenshots, does it tell you what encoder was used? All it seems to say is the bitrate, KHz, and stereo mode.
Go to the top of the page
+Quote Post
harashin
post Sep 2 2003, 03:46
Post #4





Group: Members
Posts: 339
Joined: 20-February 02
From: Kyoto, Japan
Member No.: 1362



I think you can tell Xing-encoded mp3s from other mp3s with MP3x.
IIRC Xing encoders never use short blocks, so just check out their block types.


--------------------
Folding@Home Hydrogenaudio.org Team ID# 32639
http://folding.stanford.edu/
Go to the top of the page
+Quote Post
harashin
post Sep 2 2003, 04:26
Post #5





Group: Members
Posts: 339
Joined: 20-February 02
From: Kyoto, Japan
Member No.: 1362



Or you may be able to compile mp3guessenc sources for Linux.


--------------------
Folding@Home Hydrogenaudio.org Team ID# 32639
http://folding.stanford.edu/
Go to the top of the page
+Quote Post
Differenciam
post Sep 2 2003, 05:17
Post #6





Group: Members
Posts: 453
Joined: 15-January 03
Member No.: 4577



I'm going to try to get WINE set up with encspot. Nothin' beats the best. biggrin.gif
Go to the top of the page
+Quote Post
BadHorsie
post Sep 3 2003, 03:00
Post #7





Group: Members
Posts: 84
Joined: 1-December 02
Member No.: 3951



mp3guessenc works fine under linux. you should give it try. i did read in the past that encspot uses the code for the encoder detection from mp3guessenc but not shure at the moment. i tried mp3guessenc on a xing file:

CODE
First frame found at 0

File size : 6830706 bytes
Length : 426.919 seconds
128kbit, 16343frames
44100Hz Joint stereo
Error protection : no
Copyrighted : no
Original : yes
emphasis : none

0 simple stereo frames
410 intensity stereo frames
15933 intensity and mid-side stereo frames

long block granules : 65372
short block granules : 0
mixed block granules : 0

padding is used
scalefac_scale is used
max reservoir : 511

128 kbps frames : 16343(100%)

0 header errors

Maybe this file is encoded by Xing (very old)


BadHorsie

This post has been edited by BadHorsie: Sep 3 2003, 03:02
Go to the top of the page
+Quote Post
rjamorim
post Sep 3 2003, 03:37
Post #8


Rarewares admin


Group: Members
Posts: 7515
Joined: 30-September 01
From: Brazil
Member No.: 81



QUOTE (BadHorsie @ Sep 2 2003, 11:00 PM)
i did read in the past that encspot uses the code for the encoder detection from mp3guessenc but not shure at the moment.

It was originally based on mp3guessenc, but the detection routines have been completely rewritten since and it now holds very few resemblances to the mp3guessenc routines.


--------------------
Get up-to-date binaries of Lame, AAC, Vorbis and much more at RareWares:
http://www.rarewares.org
Go to the top of the page
+Quote Post
sakamoto
post Apr 12 2013, 12:48
Post #9





Group: Members
Posts: 5
Joined: 9-September 06
Member No.: 34976



mp3guessenc is great little app. i am just struggling to analyze all mp3 files in same directory at once...

i thought following command would work under Debian linux:

mp3guessenc *

but it only analyzes the first mp3 file in the current directory? any ideas?
Go to the top of the page
+Quote Post
julf
post Apr 12 2013, 13:07
Post #10





Group: Members
Posts: 242
Joined: 14-January 12
Member No.: 96426



QUOTE (sakamoto @ Apr 12 2013, 13:48) *
mp3guessenc is great little app. i am just struggling to analyze all mp3 files in same directory at once...


You can of course just do:

for i in *; do mp3guessenc "$i"; done
Go to the top of the page
+Quote Post
phofman
post Apr 12 2013, 13:09
Post #11





Group: Members
Posts: 304
Joined: 14-February 12
Member No.: 97162



QUOTE (sakamoto @ Apr 12 2013, 13:48) *
mp3guessenc is great little app. i am just struggling to analyze all mp3 files in same directory at once...

i thought following command would work under Debian linux:

mp3guessenc *

but it only analyzes the first mp3 file in the current directory? any ideas?



Apparently the program accepts only one input file per run. You need to loop through all mp3 files. Since very likely their names contain spaces, the command you are looking for is e.g. :

CODE
find . -type f -name "*.mp3" -print0 | xargs -0 mp3guessenc
Go to the top of the page
+Quote Post
phofman
post Apr 12 2013, 13:12
Post #12





Group: Members
Posts: 304
Joined: 14-February 12
Member No.: 97162



QUOTE (julf @ Apr 12 2013, 14:07) *
for i in *; do mp3guessenc "$i"; done


Unless the mp3 files contain spaces. A simple fix would be redefining IFS e.g. http://www.cyberciti.biz/tips/handling-fil...es-in-bash.html
Go to the top of the page
+Quote Post
skamp
post Apr 12 2013, 14:37
Post #13





Group: Developer
Posts: 1442
Joined: 4-May 04
From: France
Member No.: 13875



QUOTE (phofman @ Apr 12 2013, 14:12) *
QUOTE (julf @ Apr 12 2013, 14:07) *
for i in *; do mp3guessenc "$i"; done


Unless the mp3 files contain spaces. A simple fix would be redefining IFS e.g. http://www.cyberciti.biz/tips/handling-fil...es-in-bash.html


No, that command will work fine with filenames containing spaces, as is (no need to redefine $IFS).

This will also work (no need for piping to xargs):

CODE
find . -type f -iname '*.mp3' -exec mp3guessenc '{}' ';'


This post has been edited by skamp: Apr 12 2013, 14:42


--------------------
See my profile for measurements, tools and recommendations.
Go to the top of the page
+Quote Post
phofman
post Apr 12 2013, 15:07
Post #14





Group: Members
Posts: 304
Joined: 14-February 12
Member No.: 97162



QUOTE (skamp @ Apr 12 2013, 15:37) *
No, that command will work fine with filenames containing spaces, as is (no need to redefine $IFS).


I apologize, my fault, the globbing * works fine. Often I use find (even pipe chained) instead of plain * and that requires dealing with spaces. http://stackoverflow.com/questions/301039/...-bash-loop-list
Go to the top of the page
+Quote Post
sakamoto
post Apr 12 2013, 16:01
Post #15





Group: Members
Posts: 5
Joined: 9-September 06
Member No.: 34976



QUOTE (skamp @ Apr 12 2013, 15:37) *
No, that command will work fine with filenames containing spaces, as is (no need to redefine $IFS).

This will also work (no need for piping to xargs):

CODE
find . -type f -iname '*.mp3' -exec mp3guessenc '{}' ';'


thank you skamp - this one indeed works smile.gif
Go to the top of the page
+Quote Post
julf
post Apr 12 2013, 20:38
Post #16





Group: Members
Posts: 242
Joined: 14-January 12
Member No.: 96426



QUOTE (skamp @ Apr 12 2013, 15:37) *
No, that command will work fine with filenames containing spaces, as is (no need to redefine $IFS).


Indeed. Been around the shell long enough not to get bitten by that one. smile.gif
Go to the top of the page
+Quote Post
eahm
post Apr 12 2013, 21:49
Post #17





Group: Members
Posts: 1084
Joined: 11-February 12
Member No.: 97076



Another one for Windows, not really what you want but maybe works better with Wine, is Mr QuestionMan (from the burrrn developer).

http://www.burrrn.net/?page_id=5

This post has been edited by eahm: Apr 12 2013, 21:49


--------------------
/lwAsIimz
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th September 2014 - 07:38