ogg123 can't play flac files with ID3 tags

Bug #1250618 reported by mlx
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vorbis-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

1) Kubuntu saucy (13.10) amd64
2) 1.4.0-1ubuntu3

ogg123 command from vorbis-tools refuses flac files with id3 tags.
$ file ./02\ -\ The\ Lioness.flac
./02 - The Lioness.flac: Audio file with ID3 version 2.3.0, contains: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 12755484 samples
$ ogg123 /tmp/02.The\ Lioness.flac

Audio Device: Advanced Linux Sound Architecture (ALSA) output

Error opening /tmp/02.The Lioness.flac using the oggvorbis module. The file may be corrupted.

WORKAROUND: You can strip the tags from the file using id3v2 utility (thanks, dardar at ubuntuforums):
id3v2 -D *.flac
Stripping id3 tag in "…"...id3v1 and v2 stripped.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: vorbis-tools 1.4.0-1ubuntu3
ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6
Uname: Linux 3.11.0-13-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Tue Nov 12 21:23:24 2013
InstallationDate: Installed on 2013-09-05 (67 days ago)
InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902.2)
MarkForUpload: True
SourcePackage: vorbis-tools
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
mlx (myxal-mxl) wrote :
mlx (myxal-mxl)
summary: - ogg123 can't play some flac files
+ ogg123 can't play flac files with ID3 tags
mlx (myxal-mxl)
description: updated
Revision history for this message
mlx (myxal-mxl) wrote :

Filed ticket upstream:
https://trac.xiph.org/ticket/1988

Revision history for this message
Martin Steghöfer (martin-steghoefer) wrote :

There is no ID3 in the FLAC format. So technically ogg123 is right: As a FLAC file, your input file is corrupted.

Personally, I blame the tools that allowed putting ID3 tags into non-MP3 files in the first place. There are proper ways to get the meta information into the file. But just putting an undefined ID3 section into the stream isn't one of them.

However, seeing that there are files out there that are corrupted in such a way, the robustness of playing such files by just skipping the ID3 part might be a desirable feature. Otherwise people will just blame ogg123 for not being able to play the file.

So in my opinion this isn't a bug, but a (possibly justified) "wishlist item". In case it helps your cause, I've provided a possible implementation of this new feature to the upstream bug tracker: https://trac.xiph.org/ticket/1988

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.