Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Needed; an MP3 analyser for LINUX. (Read 6988 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


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.

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.


Needed; an MP3 analyser for LINUX.

Reply #5
I'm going to try to get WINE set up with encspot. Nothin' beats the best. 

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

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.

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?

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

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


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 '{}' ';'


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

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.

 

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