mpg123 fails playing icecast streams

Bug #297080 reported by Ben Franske
2
Affects Status Importance Assigned to Milestone
mpg123 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: mpg123

1) Ubuntu Release Information:
Description: Ubuntu 8.10
Release: 8.10

2) Package Version:
mpg123:
  Installed: 1.4.3-3
  Candidate: 1.4.3-3

3) I expected to play a streaming icecast server through Asterisk which failed. I tested and narrowed the problem down to the version of mpg123 currently in stable.

4) Using the command "mpg123 -s http://twit.am/listen > test.mp3" I got the following output:

---------------------------------------------BEGIN OUTPUT--------------------------------------------
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
 version 1.4.3; written and copyright by Michael Hipp and others
 free software (LGPL/GPL) without any warranty but with best wishes

Directory: http://twit.am/
Playing MPEG stream 1 of 1: listen ...
ICY-NAME: TWiT After Hours (Pre-recorded)
ICY-URL: http://twit.am/listen
MPEG 1.0 layer III, 64 kbit/s, 44100 Hz mono

ICY-META: StreamTitle='1918-11-11_WINSTONCHURCHILL_00 - Winston Churchill';
Note: Illegal Audio-MPEG-Header 0xcbb47d34 at offset 0x30ae.
[parse.c:657] error: not attempting to resync...
[mpg123.c:571] error: ...in decoding next frame: Lost track in the bytestream and did not attempt resync. (code 27)

[0:01] Decoding of listen finished.
---------------------------------------------END OUTPUT--------------------------------------------

This seems to be a known and fixed problem, see the news archive at http://www.mpg123.org/cgi-bin/news.cgi regarding both "resync is enabled again for ICY streams (the trouble in the past was due to a reader bug, not the streams)" and "workaround for frames that fail decoding (bad frame body, missing bit reservoir): fill up with silence"

Revision history for this message
Ben Franske (ben-mm) wrote :

FYI this bug still exists in the current version of Ubuntu.

Revision history for this message
Thomas Orgis (thomas-forum) wrote :

You might investigate the latest release of mpg123 (1.12.3), which fixes another reading issue of streams with ICY meta info. More people testing that feature would be good to ensure that the mpg123 team got it right now.

Changed in mpg123 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.