Post Reply 
Converting flac audio streams for internet radio use
17-03-2023, 11:01 (This post was last modified: 17-03-2023 11:04 by simoncn.)
Post: #19
RE: Converting flac audio streams for internet radio use
There are a number of variables that can affect whether or not a renderer will play a transcoded radio stream, as follows:

1) The MIME type sent for the transcoded stream on the HTTP streaming response
2) The MIME type (if any) sent by the server and control point to the renderer before the renderer sends the HTTP request
3) The file extension (if any) of the stream URL sent by the server and control point to the renderer before the renderer sends the HTTP request
4) The content length (if any) sent for the transcoded stream in the Content-Length HTTP header of the HTTP streaming response
5) The length (if any) sent for the transcoded stream in the header block of the HTTP stream (only applies for formats such as WAV and FLAC that have a header block with a length field)

For the test native FLAC streams that I provided via PM, the length 5) was zero but the length 4) was not zero. A real radio stream would have a length of zero for both 4) and 5), so the test you did doesn't necessarily mean that the NP30 would be able to play a real native FLAC stream with zero for both 4) and 5).

Your tests with Radio Paradise would not have produced a valid result because the MIME type 1) used by Radio Paradise is application/ogg and the ogg MIME type used by MinimStreamer stream.transcode (for local files in Ogg/Vorbis format) is audio/ogg. For a valid test, you need to remove ogg from the EXTINF line, then do a rescan and use *:wav-2GB or *:wav-0KB in stream.transcode.

For *:wav-2GB, the transcoded WAV stream will have 2GB-1 for length 5) and nothing for length 4). For *:wav-0KB, the transcoded WAV stream will have zero for length 5) and nothing for length 4). For *:L16, length 5) does not apply and there will be nothing for length 4).

Please try the above and let me know what happens.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Converting flac audio streams for internet radio use - simoncn - 17-03-2023 11:01

Forum Jump:


User(s) browsing this thread: 1 Guest(s)