Skip to main content

Topic: Needed; an MP3 analyser for LINUX. (Read 4317 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
Needed; an MP3 analyser for LINUX.
Windows - Encspot.

Linux - ?

I think I have a nice amount of XING MP3s on here at the moment  , so I'd like to know if there's a Linux MP3 analyser like Encspot for windows so I can check. Thanks

  • harashin
  • [*][*][*][*]
Needed; an MP3 analyser for LINUX.
Reply #1
How about using MP3x?
Folding@Home Hydrogenaudio.org Team ID# 32639
http://folding.stanford.edu/

Needed; an MP3 analyser for LINUX.
Reply #2
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.

  • harashin
  • [*][*][*][*]
Needed; an MP3 analyser for LINUX.
Reply #3
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/

  • harashin
  • [*][*][*][*]
Needed; an MP3 analyser for LINUX.
Reply #4
Or you may be able to compile  mp3guessenc sources for Linux.
Folding@Home Hydrogenaudio.org Team ID# 32639
http://folding.stanford.edu/

Needed; an MP3 analyser for LINUX.
Reply #5
I'm going to try to get WINE set up with encspot. Nothin' beats the best. 

  • BadHorsie
  • [*][*]
Needed; an MP3 analyser for LINUX.
Reply #6
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: [Select]
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
  • Last Edit: 02 September, 2003, 10:02:58 PM by BadHorsie

  • rjamorim
  • [*][*][*][*][*]
Needed; an MP3 analyser for LINUX.
Reply #7
Quote
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

  • sakamoto
  • [*]
Needed; an MP3 analyser for LINUX.
Reply #8
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?

  • julf
  • [*][*][*][*]
Needed; an MP3 analyser for LINUX.
Reply #9
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

  • phofman
  • [*][*][*][*]
Needed; an MP3 analyser for LINUX.
Reply #10
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: [Select]
find . -type f -name "*.mp3" -print0 | xargs -0 mp3guessenc

  • phofman
  • [*][*][*][*]
Needed; an MP3 analyser for LINUX.
Reply #11
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

  • skamp
  • [*][*][*][*][*]
  • Developer
Needed; an MP3 analyser for LINUX.
Reply #12
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: [Select]
find . -type f -iname '*.mp3' -exec mp3guessenc '{}' ';'
  • Last Edit: 12 April, 2013, 09:42:27 AM by skamp
See my profile for measurements, tools and recommendations.

  • phofman
  • [*][*][*][*]
Needed; an MP3 analyser for LINUX.
Reply #13
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

  • sakamoto
  • [*]
Needed; an MP3 analyser for LINUX.
Reply #14
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: [Select]
find . -type f -iname '*.mp3' -exec mp3guessenc '{}' ';'


thank you skamp - this one indeed works

  • julf
  • [*][*][*][*]
Needed; an MP3 analyser for LINUX.
Reply #15
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.

  • eahm
  • [*][*][*][*][*]
Needed; an MP3 analyser for LINUX.
Reply #16
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
  • Last Edit: 12 April, 2013, 04:49:39 PM by eahm