philippe_44 wrote: 
> It is not a memory-issue related to 32/64 bits. At this stage I'd
> recommend 
> 
> - transcode to pcm
> - only allow "raw" for "PCM format" (can try wav, but it it works, raw
> is much better)
> - use "if known" for length
> 
> This is what will be the closest to a "classical" UPnP playback.
> Remember that the most difficulty I have to handle is that in
> "classical" streaming, the file size is known by the source and sent
> with the HTTP response to the player. Unfortunately, in the case of a
> bridge, the size of the file is unkown as LMS cannot tell. By
> transcoding to pcm, the bridge is capable of estimating/calculating the
> file size from the duration. To be clear, providing the size in the HTTP
> is *absolutely not* mandatory in HTTP spec, but unfortunately there are
> a lot of bad quality HTTP and/or UPnP stacks that assume it is always
> there.

Well, thank you - but as I say it only works with either fixed (full
tracks, until it stops) or chunked, with which it plays about 10 seconds
and then the audio drops out. With either no length or if known
everything appears to play but no audio comes out. 

I can use PCM/fixed and get audio but as with FLAC the ends of the files
are truncated 10-15 seconds early for no apparent reason. This has to be
an MM5 problem since wav/flac files play fine with this plug-in in
Winamp. MM5 apparently will not recognize PCM if it isn't WAV.

I don't know if helps, but looking at the MM5 logs after playback stops
with the MP3/fixed setup that -does- work I see repeated "MM5 [2628](R)
UPnP: Control Request: Status: STOPPED" - it literally is just as if MM5
decides not to advance to the next track, and for the life of me I can't
see what's happening to make that the case. Using MP3/fixed works and
works perfectly in terms of playback and the crossfades, until it
randomly stops. It will often play up to two hours and then just end.


------------------------------------------------------------------------
typecrazy789's Profile: http://forums.slimdevices.com/member.php?userid=68049
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to