[mythtv] Mythmusic and corrupt FLAC files

Bruce Dillahunty bdillahu at peachbush.com
Sun Dec 26 22:42:56 UTC 2004


And just to followup to myself... more testing reveals that some files 
are "different" than others. If I get the "--until value is before 
--skip point" error from FLAC (I'm not giving it an until or skip 
value... it seems to be "finding one" somewhere, or else is just very 
confused), then nothing I do will make it play with flac, although VLC 
and apparently mplayer deal with it no-problem.

Odd to me that "flac" can't play a flac file that everybody else can :-)

Bruce

On Dec 26, 2004, at 17:26, Bruce Dillahunty wrote:

> Hmmm... checked some of my "corrupt" files... the metaflac stuff shows 
> proper data, no problem.
>
> The files will play on vlc (a Mac/Linux multimedia player) and mplayer 
> seems to "play" them (at least it doesn't error... I'm not set up to 
> run it through speakers right now).
>
> flac command line errors with 
> FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC unless a "-F" is given to 
> skip the errors... if you do that, it seems to play them fine.
>
> I also tried upgrading from flac-1.1.0 to flac-1.1.1 and didn't see a 
> difference.
>
> On in the search.
>
> Bruce
>
> On Dec 26, 2004, at 07:20, Colin Guthrie wrote:
>
>> Bruce Dillahunty wrote:
>>> Just to be clear... This is a fairly new occurrence... files I 
>>> ripped a good while ago, all play fine.
>>
>> For what it's worth, I just ripped a CD to FLAC to see what happened.
>>
>> I got a folder full of tracks. I ran the following commands:
>> IFS="
>> "
>> for file in $(ls -1 *.flac); do flac -t "$file"; metaflac 
>> --export-vc-to=- "$file"; done
>>
>> Everything seems OK (see output below).
>>
>> One thing worth noting is that I recently linked mythmusic against 
>> libflac.so.6 as opposed to libflac.so.4 which I had used previously. 
>> (I use Mandrake 10.1. I had to manually tweak some lines in mythmusic 
>> to do with #define HAVE_INTTYPES_H but I don't think this is the 
>> "right" way to do this, probably some Makefile magic is better).
>>
>> Anyways, everything seems cool. Played the files in mplayer too just 
>> to make sure, no problem at all (although it didn't print out the 
>> metadata - although I'm not sure if it should!!! Was using ffflac 
>> decoder).
>>
>> When I tried to fast forward in the tracks mplayer displays:
>> [flac @ 0x8516f50]FRAME HEADER not here
>>
>> and once or twice I got:
>> [flac @ 0x8516f50]unsupported channel assignment 15 (channels=2)
>> [flac @ 0x8516f50]decode_frame() failed
>>
>> Not sure if that is a problem with the way the FLACs are written or 
>> if it's just general behaviour with FLAC decoding??
>>
>> Oh, my version of mythmusic has my multiartist patch (hense the extra 
>> metadata displayed), but this *shouldn't* affect the way the FLACs 
>> are written.
>>
>> Hope this helps in some way.
>>
>> Col.
>>
>>
>>
>> ##### Output ######
>>
>> [colin at kingtubby Back To Mine]$ IFS="
>> "
>> [colin at kingtubby Back To Mine]$ for file in $(ls -1 *.flac); do flac 
>> -t "$file"; metaflac --export-vc-to=- "$file"; done
>>
>> flac 1.1.1-beta1, Copyright (C) 2000,2001,2002,2003,2004 Josh Coalson
>> flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and 
>> you are
>> welcome to redistribute it under certain conditions.  Type `flac' for 
>> details.
>>
>> 01 - Weather Storm (Craig Armstrong).flac: ok
>> ARTIST=Craig Armstrong
>> MIXEDBY=Talvin Singh
>> MUSICBRAINZ_ALBUMARTISTID=89ad4ac3-39f7-470e-963a-56509c546377
>> ALBUM=Back To Mine
>> TITLE=Weather Storm
>> GENRE=Misc
>> TRACKNUMBER=1
>>
>> flac 1.1.1-beta1, Copyright (C) 2000,2001,2002,2003,2004 Josh Coalson
>> flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and 
>> you are
>> welcome to redistribute it under certain conditions.  Type `flac' for 
>> details.
>>
>> 02 - Dance (U. Srinvas & Michael Brook).flac: ok
>> ARTIST=U. Srinvas & Michael Brook
>> MIXEDBY=Talvin Singh
>> MUSICBRAINZ_ALBUMARTISTID=89ad4ac3-39f7-470e-963a-56509c546377
>> ALBUM=Back To Mine
>> TITLE=Dance
>> GENRE=Misc
>> TRACKNUMBER=2
>>
>> flac 1.1.1-beta1, Copyright (C) 2000,2001,2002,2003,2004 Josh Coalson
>> flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and 
>> you are
>> welcome to redistribute it under certain conditions.  Type `flac' for 
>> details.
>>
>> 03 - Song Of Sand 2 (Coastal Warning Mix by Rockers Hi-Fi) (Nils 
>> Petter Molvaer).flac: ok
>> ARTIST=Nils Petter Molvaer
>> MIXEDBY=Talvin Singh
>> MUSICBRAINZ_ALBUMARTISTID=89ad4ac3-39f7-470e-963a-56509c546377
>> ALBUM=Back To Mine
>> TITLE=Song Of Sand 2 (Coastal Warning Mix by Rockers Hi-Fi)
>> GENRE=Misc
>> TRACKNUMBER=3
>>
>> flac 1.1.1-beta1, Copyright (C) 2000,2001,2002,2003,2004 Josh Coalson
>> flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and 
>> you are
>> welcome to redistribute it under certain conditions.  Type `flac' for 
>> details.
>>
>> 04 - Delta (The Higher Intelligence Agency).flac: ok
>> ARTIST=The Higher Intelligence Agency
>> MIXEDBY=Talvin Singh
>> MUSICBRAINZ_ALBUMARTISTID=89ad4ac3-39f7-470e-963a-56509c546377
>> ALBUM=Back To Mine
>> TITLE=Delta
>> GENRE=Misc
>> TRACKNUMBER=4
>>
>> flac 1.1.1-beta1, Copyright (C) 2000,2001,2002,2003,2004 Josh Coalson
>> flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and 
>> you are
>> welcome to redistribute it under certain conditions.  Type `flac' for 
>> details.
>>
>> 05 - Cave Of Angels (Dreadzone).flac: ok
>> ARTIST=Dreadzone
>> MIXEDBY=Talvin Singh
>> MUSICBRAINZ_ALBUMARTISTID=89ad4ac3-39f7-470e-963a-56509c546377
>> ALBUM=Back To Mine
>> TITLE=Cave Of Angels
>> GENRE=Misc
>> TRACKNUMBER=5
>>
>> flac 1.1.1-beta1, Copyright (C) 2000,2001,2002,2003,2004 Josh Coalson
>> flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and 
>> you are
>> welcome to redistribute it under certain conditions.  Type `flac' for 
>> details.
>>
>> 06 - Kabhi Unke Milan Ke Asha Ne (Swate Natekar).flac: ok
>> ARTIST=Swate Natekar
>> MIXEDBY=Talvin Singh
>> MUSICBRAINZ_ALBUMARTISTID=89ad4ac3-39f7-470e-963a-56509c546377
>> ALBUM=Back To Mine
>> TITLE=Kabhi Unke Milan Ke Asha Ne
>> GENRE=Misc
>> TRACKNUMBER=6
>>
>> flac 1.1.1-beta1, Copyright (C) 2000,2001,2002,2003,2004 Josh Coalson
>> flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and 
>> you are
>> welcome to redistribute it under certain conditions.  Type `flac' for 
>> details.
>>
>> 07 - Om (Trilok Gurtu).flac: ok
>> ARTIST=Trilok Gurtu
>> MIXEDBY=Talvin Singh
>> MUSICBRAINZ_ALBUMARTISTID=89ad4ac3-39f7-470e-963a-56509c546377
>> ALBUM=Back To Mine
>> TITLE=Om
>> GENRE=Misc
>> TRACKNUMBER=7
>>
>> flac 1.1.1-beta1, Copyright (C) 2000,2001,2002,2003,2004 Josh Coalson
>> flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and 
>> you are
>> welcome to redistribute it under certain conditions.  Type `flac' for 
>> details.
>>
>> 08 - Lost Blue Heaven (Photek).flac: ok
>> ARTIST=Photek
>> MIXEDBY=Talvin Singh
>> MUSICBRAINZ_ALBUMARTISTID=89ad4ac3-39f7-470e-963a-56509c546377
>> ALBUM=Back To Mine
>> TITLE=Lost Blue Heaven
>> GENRE=Misc
>> TRACKNUMBER=8
>>
>> flac 1.1.1-beta1, Copyright (C) 2000,2001,2002,2003,2004 Josh Coalson
>> flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and 
>> you are
>> welcome to redistribute it under certain conditions.  Type `flac' for 
>> details.
>>
>> 09 - Kalpa Taru (Tree Of Wishes) (Tuu).flac: ok
>> ARTIST=Tuu
>> MIXEDBY=Talvin Singh
>> MUSICBRAINZ_ALBUMARTISTID=89ad4ac3-39f7-470e-963a-56509c546377
>> ALBUM=Back To Mine
>> TITLE=Kalpa Taru (Tree Of Wishes)
>> GENRE=Misc
>> TRACKNUMBER=9
>>
>> flac 1.1.1-beta1, Copyright (C) 2000,2001,2002,2003,2004 Josh Coalson
>> flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and 
>> you are
>> welcome to redistribute it under certain conditions.  Type `flac' for 
>> details.
>>
>> 10 - Monsoon (Vibrasphere).flac: ok
>> ARTIST=Vibrasphere
>> MIXEDBY=Talvin Singh
>> MUSICBRAINZ_ALBUMARTISTID=89ad4ac3-39f7-470e-963a-56509c546377
>> ALBUM=Back To Mine
>> TITLE=Monsoon
>> GENRE=Misc
>> TRACKNUMBER=10
>>
>> flac 1.1.1-beta1, Copyright (C) 2000,2001,2002,2003,2004 Josh Coalson
>> flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and 
>> you are
>> welcome to redistribute it under certain conditions.  Type `flac' for 
>> details.
>>
>> 11 - Mali Dje (Ali Furka Toure).flac: ok
>> ARTIST=Ali Furka Toure
>> MIXEDBY=Talvin Singh
>> MUSICBRAINZ_ALBUMARTISTID=89ad4ac3-39f7-470e-963a-56509c546377
>> ALBUM=Back To Mine
>> TITLE=Mali Dje
>> GENRE=Misc
>> TRACKNUMBER=11
>>
>> flac 1.1.1-beta1, Copyright (C) 2000,2001,2002,2003,2004 Josh Coalson
>> flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and 
>> you are
>> welcome to redistribute it under certain conditions.  Type `flac' for 
>> details.
>>
>> 12 - W30 (Dub Tractor).flac: ok
>> ARTIST=Dub Tractor
>> MIXEDBY=Talvin Singh
>> MUSICBRAINZ_ALBUMARTISTID=89ad4ac3-39f7-470e-963a-56509c546377
>> ALBUM=Back To Mine
>> TITLE=W30
>> GENRE=Misc
>> TRACKNUMBER=12
>>
>> flac 1.1.1-beta1, Copyright (C) 2000,2001,2002,2003,2004 Josh Coalson
>> flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and 
>> you are
>> welcome to redistribute it under certain conditions.  Type `flac' for 
>> details.
>>
>> 13 - After (Atjazz Mix) (dZihan & Kamien).flac: ok
>> ARTIST=dZihan & Kamien
>> MIXEDBY=Talvin Singh
>> MUSICBRAINZ_ALBUMARTISTID=89ad4ac3-39f7-470e-963a-56509c546377
>> ALBUM=Back To Mine
>> TITLE=After (Atjazz Mix)
>> GENRE=Misc
>> TRACKNUMBER=13
>>
>> flac 1.1.1-beta1, Copyright (C) 2000,2001,2002,2003,2004 Josh Coalson
>> flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and 
>> you are
>> welcome to redistribute it under certain conditions.  Type `flac' for 
>> details.
>>
>> 14 - Mustt, Mustt (Massive Attack Remix) (Nusrat Fateh Ali 
>> Khan).flac: ok
>> ARTIST=Nusrat Fateh Ali Khan
>> MIXEDBY=Talvin Singh
>> MUSICBRAINZ_ALBUMARTISTID=89ad4ac3-39f7-470e-963a-56509c546377
>> ALBUM=Back To Mine
>> TITLE=Mustt, Mustt (Massive Attack Remix)
>> GENRE=Misc
>> TRACKNUMBER=14
>>
>>
>> -- 
>>
>> +------------------------+
>> |     Colin Guthrie      |
>> +------------------------+
>> |   myth at colin.guthr.ie  |
>> | http://colin.guthr.ie/ |
>> +------------------------+
>> _______________________________________________
>> mythtv-dev mailing list
>> mythtv-dev at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev



More information about the mythtv-dev mailing list