atrocity wrote:
> PM sent, thank you.
>
> In the meantime, if anyone else is having this same problem (I believe
> HDTracks uses the same encoder these days), a quick and dirty fix is
> simply to tell Squeezelite not to accept FLAC. The server side doesn't
> appear to have a problem un-FLACing the non-standard files. Of course,
> that assumes your network is happy to shoot bloated uncompressed 192k to
> your player!
I've tracked down the squeezelite hang issue when playing the Lavf
encoded flac file you provided.
The Lavf encoder block and frame sizes are bigger than the reference
encoder. Squeezelite was trying to decode a frame after reading 8192
bytes, which is not enough for a Lavf flac frame and the thread was
blocking.
Lavf58.10.100
Code:
--------------------
METADATA block #0
type: 0 (STREAMINFO)
is last: false
length: 34
minimum blocksize: 16384 samples
maximum blocksize: 16384 samples
minimum framesize: 14969 bytes
maximum framesize: 64305 bytes
sample_rate: 192000 Hz
channels: 2
bits-per-sample: 24
total samples: 22909459
MD5 signature: 6f6cfb525fc1622bde6455393498a169
--------------------
Flac reference encoder libFLAC 1.2.1
Code:
--------------------
METADATA block #0
type: 0 (STREAMINFO)
is last: false
length: 34
minimum blocksize: 4608 samples
maximum blocksize: 4608 samples
minimum framesize: 4557 bytes
maximum framesize: 18897 bytes
sample_rate: 192000 Hz
channels: 2
bits-per-sample: 24
total samples: 14369043
MD5 signature: e1f43081cb22ff6ef7d69a49fd88df85
--------------------
Please give this new version a try with all your problem files and
report back. I may need to tweak the flac decoder minimum read and space
values a bit still.
Here's how to update pcp with the test build.
Code:
--------------------
ceo
wget -O pcp-squeezelite.tcz
https://www.dropbox.com/s/y1yhtc8jo5bajmv/pcp-squeezelite.tcz?dl=1
wget -O pcp-squeezelite.tcz.md5.txt
https://www.dropbox.com/s/uwer11ihhkik5ns/pcp-squeezelite.tcz.md5.txt?dl=1
md5sum -c pcp-squeezelite.tcz.md5.txt
pcp br
--------------------
I've attached a patch file with the change since I haven't committed it
so source control yet.
+-------------------------------------------------------------------+
|Filename: lavf-flac.patch.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=25811|
+-------------------------------------------------------------------+
Ralphy
*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=109404
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix