Summary: | media-sound/vorbis-tools - oggenc doesn't support Ogg FLAC although USE flags are set | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Florian Philipp <f_philipp> |
Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | dirk.heinrichs.ext, dirk.heinrichs, Sergiy.Borodych |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Florian Philipp
2007-11-12 17:20:27 UTC
Try media-sound/vorbis-tools-1.2.0, thanks. from CHANGES: vorbis-tools 1.2.0 -- 2008-02-21 * FLAC support now relies on libFLAC I see the same, too. Interestingly on one machine only. On another box I don't have that problem. Versions and USE flags: # paludis -q flac vorbis-tools * media-libs/flac gentoo: 1.2.1-r1 1.2.1-r2 1.2.1-r3 {:0} installed: 1.2.1-r3* {:0} Description: free lossless audio encoder and decoder Homepage: http://flac.sourceforge.net License: GPL-2 LGPL-2 Installed time: Fri Jun 19 06:15:55 2009 Use flags: (-3dnow) (-altivec) (cxx) (-debug) (doc) (ogg) (sse) From repositories: gentoo Installed using: paludis-0.36.1 * media-sound/vorbis-tools gentoo: 1.2.0-r2 {:0} installed: 1.2.0-r2* {:0} Description: tools for using the Ogg Vorbis sound file format Homepage: http://www.vorbis.com License: GPL-2 Installed time: Fri Jun 19 06:01:56 2009 Use flags: (flac) (nls) (ogg123) (speex) From repositories: gentoo Installed using: paludis-0.36.1 With a bit of googling, I found out that the removal of support for ID3 tags from flac is causing this. When the FLAC file has ID3 tags (because for example grip was told to create them), you get the mentioned error message. % file myfile.flac myfile.flac: Audio file with ID3 version 2.3.0, contains: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 11532444 samples I've put together a small script to recode the FLACs in the current directory and replace the tags: for FILE in *.flac do # Export tags to .flac.tags metaflac --export-tags-to="${FILE}.tags" "${FILE}" # Recode file to .flac.new flac -d -o - "${FILE}"|flac --best -o "${FILE}.new" - # Import tags into .flac.new metaflac --import-tags-from="${FILE}.tags" "${FILE}.new" # Cleanup #rm "${FILE}.tags" #mv "${FILE}.new" "${FILE}" done That creates a .flac.new for every .flac in the current directory, where the ID3 tags are gone. % file myfile.flac.new myfile.flac.new: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 11532444 samples If you are brave, you can just uncomment the last two lines to replace the .flac with .flac.new. Conversion of the resulting FLACs with oggenc also works fine, now. |