Re: [patch v2] external MPEG audio decoding using libmpg123

Elio Blanca via Lame-dev <[email protected]> Sun, 23 Sep 2018 00:28:33 +0200
Newsgroups gmane.comp.audio.mp3.lame
Message-ID <20180923002748.0935d049@cindy>
Il giorno Sat, 15 Sep 2018 12:26:32 +0200
Thomas Orgis <[email protected]> ha scritto:

> To have a common comparison, I'm also trying it on the reference
> files. Does this play for you?

No, it doesn't.
The file compl.mp3 makes lame fail as well, in both cases (re-encode,
decode):

topolinik@cindy:/tmp/lametest.HDq5P/lame/frontend$ ./lame -q 0 -b 256
-m m compl.mp3 test_new.mp3
Error opening MPEG input file compl.mp3.
Can't init infile 'compl.mp3'
topolinik@cindy:/tmp/lametest.HDq5P/lame/frontend$ ./lame --verbose
--decode compl.mp3 test.wav
Error opening MPEG input file compl.mp3.
Can't init infile 'compl.mp3'


On the other side, the file is a regular mpeg stream:

$ mpg123 -v -t compl.mp3 
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
	version 1.23.8; written and copyright by Michael Hipp and others
	free software (LGPL) without any warranty but with best wishes
Decoder: x86-64 (AVX)
Trying output module: test, device: <nil>


Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: compl.mp3 ...

MPEG 1.0 L III cbr64 48000 mono
> 216+000  00:05.18+00:00.00 --- 100=100  64 kb/s  192 B acc    0 clip
> p+0.000
[0:05] Decoding of compl.mp3 finished.

and:

$ madplay -v -o /dev/null compl.mp3 
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert
Leslie et al.
 00:00:05 Layer III, 64 kbps, 48000 Hz, single channel, no CRC
216 frames decoded (0:00:05,1), -20,0 dB peak amplitude, 0 clipped
samples



My PC is an Intel Core i5 6200 with the latest Linux Mint Debian
Edition 3 x86-64, aka Cindy.

Elio