Re: Metadata in FLAC streams

philippe_44 <philippe_44.avrurb-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]> Wed, 21 Dec 2022 07:18:46 +0000
Newsgroups gmane.music.equipment.slimdevices.devel
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
--===============2782366491461869561==
Content-Type: text/plain


mherger wrote: 
> > And when you use just ogg-flac and no icy off-band metadata,
> squeezelite
> 
> How would I do that?
> 
> > is still unhappy? If you force LMS to use flac.exe to transcode flac
> to
> > pcm  for the player, does it still fail?
> 
> Yes. It would continue to play, but only after a break of several 
> seconds during which it's restarting the stream:
> 
> -: WARNING, don't have accurate sample count available for WAVE header.
> Generated WAVE file will have a data chunk size of 0.  Try
> decoding directly to a file instead.
> -: WARNING, cannot check MD5 signature since it was unset in the
> STREAMINFO
> ..../Bin/darwin/sox FAIL sox: `-' error writing output file: Broken pipe
> -: WARNING, don't have accurate sample count available for WAVE header.
> Generated WAVE file will have a data chunk size of 0.  Try
> decoding directly to a file instead.

That second part probably makes sense and has been a typical issue I had
with flac and bridges: Flac updates the streaminfo header once it has
done written everything => that does not work at all with live file
creation & streaming. 

The flac specs allows these item to miss, the file is still streamable
but you can’t convert it properly to wav as was requires a sample count
and I don’t think 0 is valid. 

So, depending on how the ogg-flac is generated, you might very well end
up with such files with partial streaminfo (no sample count and no MD5).
It seems then that sox does not like these and it would be better anyway
to generate raw pcm and not wav. I’ll look at that, but maybe another
rule, or a rule just using flac would be better, like an ogf flc rule.



LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch,
1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW,
2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,  Yamaha
WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=112833


--===============2782366491461869561==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
developers mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/developers

--===============2782366491461869561==--