Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2003 17:50:37 -0300
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        Mike Meyer <mwm-dated-1050610171.2136bb@mired.org>
Cc:        multimedia@freebsd.org
Subject:   Re: How to play new flavor of mp3 files
Message-ID:  <20030412205059.1260.qmail@exxodus.fedaykin.here>
In-Reply-To: <16024.29304.964372.231132@guru.mired.org>
References:  <16023.8152.459169.401590@guru.mired.org> <20030411144310.A8270@lns.com> <16024.29304.964372.231132@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Sat, Apr 12, 2003 at 03:09:06PM -0500, Mike Meyer wrote:
> [Format recovered from top posting.]
> 
> In <20030411144310.A8270@lns.com>, Tim Pozar <pozar@lns.com> typed:
> > On Fri, Apr 11, 2003 at 03:04:40PM -0500, Mike Meyer wrote:
> > > I've recently started seeing mp3 files that neither mpg123 nor
> > > plaympeg can deal with. I find this rather annoying, and would like to
> > > know if there's something I can use to play them. All my examples are
> > > rather large, so I won't attach one here. But file identifies them as:
> > > "MP3,  32 kBits, 44.1 kHz, Stereo". Playing them with mpg123 results
> > > in errors about not being able to rewind the stream; playing them with
> > > plaympeg results in a random collection of clicks.
> > Are these variable bitrate files?  Can they be played under XMMS?
> > Can you put the file up someplace to be downloaded to inspect it?
> 
> xmms starts on it, then exits without ever making a sound.
> 
> You can find a copy at <URL: http://www.mired.org/broken.mp3 >.

	First question, can you play this sort of mp3 with ANY
mp3 player? It looks like these have been incorrectly generated.
I've generated VBR mp3 with both lame and other tools so I am sure
xmms can play them.

	However, neither xmms, gstreamer-player, mpg123 nor mplayer
can play the mp3 URL you supplied.

	Are you sure these mp3 files are correct? I'll be updating
mpeg4ip port shortly. Perhaps, it can play this.

$ md5 broken.mp3  
MD5 (broken.mp3) = 49eacd42e392ea7a01bd5b4e3be9474a

$ mpg123 broken.mp3 
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!

Playing MPEG stream from broken.mp3 ...
MPEG 1.0 layer III, 32 kbit/s, 44100 Hz stereo
mpg123: Can't rewind stream by 1637 bits!
mpg123: Can't rewind stream by 792 bits!
mpg123: Can't rewind stream by 144 bits!
mpg123: Can't rewind stream by 872 bits!
Blocktype == 0 and window-switching == 1 not allowed.

$ mplayer broken.mp3
Using GNU internationalization
Original domain: messages
Original dirname: /usr/local/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc5-2.95.4 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading config file /usr/local/share/mplayer/mplayer.confReading config file /home/lioux/.mplayer/config
Reading /home/lioux/.mplayer/codecs.conf: Reading /usr/local/share/mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /home/lioux/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using usleep() timing
Input config file /usr/local/share/mplayer/input.conf parsed : 52 binds

Playing broken.mp3
Audio file detected.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 4000->176400 (32.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int 
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Video: no video
Starting playback...
Blocktype == 0 and window-switching == 1 not allowed.                        
Blocktype == 0 and window-switching == 1 not allowed.                        
Blocktype == 0 and window-switching == 1 not allowed.                        
big_values too large!                                                        
Blocktype == 0 and window-switching == 1 not allowed.                        
Blocktype == 0 and window-switching == 1 not allowed.                        
big_values too large!                                                        
big_values too large!                                                        
Blocktype == 0 and window-switching == 1 not allowed.                        
Can't rewind stream by 34 bits!                                    
Blocktype == 0 and window-switching == 1 not allowed.                        
big_values too large!                                                        
big_values too large!                                                        
Blocktype == 0 and window-switching == 1 not allowed.                        
big_values too large!                                                        
Blocktype == 0 and window-switching == 1 not allowed.                        
Blocktype == 0 and window-switching == 1 not allowed.                        
Blocktype == 0 and window-switching == 1 not allowed.                        
Blocktype == 0 and window-switching == 1 not allowed.                        
big_values too large!                                                        
Blocktype == 0 and window-switching == 1 not allowed.                        
Blocktype == 0 and window-switching == 1 not allowed.                        
big_values too large!                                                        
Can't rewind stream by 10 bits!                                    
Blocktype == 0 and window-switching == 1 not allowed.                        
Can't rewind stream by 10 bits!                                    
big_values too large!                                                        
A:  -0.0  0.0% 0%   
Blocktype == 0 and window-switching == 1 not allowed.                        

$ gst-player  broken.mp3 
INFO (98616: 0) Initializing GStreamer Core Library version 0.6.0 
INFO (98616: 0) CPU features: (c1cbf9ff) MMX SSE 3DNOW MMXEXT 
registry: loaded global_registry in 2.885981 seconds
          (/usr/X11R6/share/gnome/cache/gstreamer-0.6/registry.xml)
** Message: trying to add 'broken.mp3' with no mimetype
** Message: location is a local file using filesrc
** Message: location is a local file using filesrc

** (gst-player:98616): WARNING **: scheduling change, implement me
trying to get length

** (gst-player:98616): WARNING **: scheduling change, implement me

** (gst-player:98616): WARNING **: scheduling change, implement me
got length 1691826500000

** (gst-player:98616): CRITICAL **: file play.c: line 864 (gst_play_set_state): assertion `GST_IS_PLAY (play)' failed

-- 
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
FreeBSD Committer | CS Developer
flames to beloved devnull@someotherworldbeloworabove.org
feature, n: a documented bug | bug, n: an undocumented feature



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030412205059.1260.qmail>