Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Transcode to multiple formats
22-04-2014, 20:49
Post: #1
Transcode to multiple formats
I've only been playing with Minimserver for a few weeks now but have already retagged my music now I have a server flexible enough to support it, so I'm very pleased with the software.

I've played around with a few other servers over the last six months or so, and the only thing minimstreamer is missing is the ability to present multiple formats to renderers.
Most of my music is in FLAC, and minidlna presents it in both FLAC and MP3 format, meaning I can play the music at the best quality supported by the particular piece of equipment I'm sending it to.

I don't know if this is off spec, but the few renderers I have support it, so I was wondering whether this was in the plans?

Congratulations on one of the best music servers out there.
Find all posts by this user
Quote this message in a reply
23-04-2014, 09:03
Post: #2
RE: Transcode to multiple formats
(22-04-2014 20:49)simbun Wrote:  I've only been playing with Minimserver for a few weeks now but have already retagged my music now I have a server flexible enough to support it, so I'm very pleased with the software.

I've played around with a few other servers over the last six months or so, and the only thing minimstreamer is missing is the ability to present multiple formats to renderers.
Most of my music is in FLAC, and minidlna presents it in both FLAC and MP3 format, meaning I can play the music at the best quality supported by the particular piece of equipment I'm sending it to.

I don't know if this is off spec, but the few renderers I have support it, so I was wondering whether this was in the plans?

Congratulations on one of the best music servers out there.

Thanks for this suggestion and for the positive feedback on MinimServer and MinimStreamer.

This is a possible future enhancement. For local music files, the implementation should be fairly straightforward because the source type and all supported transcoding target types are known at browsing time and MinimServer can determine which resource URLs ito include in the Browse response metadata (the untranscoded URL and/or one or more transcoded URLs).

For network streams, the source type and supported transcoding target types aren't known until playing time, which raises some fairly complex issues about how the set of valid resource URLs could be determined at browsing time. I will need to give this aspect some further thought.
Find all posts by this user
Quote this message in a reply
27-04-2014, 11:27
Post: #3
RE: Transcode to multiple formats
Personally I was only thinking for local files, but you're right, ideally you'd want to cover all the bases - although generally I think other source options will be of lower quality, so should be more supported and will benefit less from any "upconversion".

My only concern was the granularity of what could be presented in the response metadata. If it were simply WAV / FLAC / MP3 you'd lose the ability to offer both 16 and 24 bit WAV, without going down the route of having to create profiles for individual equipment, which starts to become messy.
Find all posts by this user
Quote this message in a reply
27-04-2014, 14:29
Post: #4
RE: Transcode to multiple formats
(27-04-2014 11:27)simbun Wrote:  Personally I was only thinking for local files, but you're right, ideally you'd want to cover all the bases - although generally I think other source options will be of lower quality, so should be more supported and will benefit less from any "upconversion".

Listnening to BBC Radio 3 (AAC 320 kbps) transcoded to wav24 by MinimStreamer might change your view about this. Smile

Quote:My only concern was the granularity of what could be presented in the response metadata. If it were simply WAV / FLAC / MP3 you'd lose the ability to offer both 16 and 24 bit WAV, without going down the route of having to create profiles for individual equipment, which starts to become messy.

The normal way for control points to make this choice is via the MIME type. I don't know of any control points that would differentiate between 24-bit WAV and 16-bit WAV (for example). This is because the UPnP protocol provides a way for the renderer to advertise its capabilty to play WAV files, but not to say whether it supports 16-bit or 24-bit WAV.
Find all posts by this user
Quote this message in a reply
27-04-2014, 22:47
Post: #5
RE: Transcode to multiple formats
(27-04-2014 14:29)simoncn Wrote:  ...
Listnening to BBC Radio 3 (AAC 320 kbps) transcoded to wav24 by MinimStreamer might change your view about this. Smile
...

How do I set this up? I tried placing an AAC:wav24 command in MinimWatch's stream.transcode window. It still shows as being AAC in Kinsky.
Find all posts by this user
Quote this message in a reply
27-04-2014, 23:24
Post: #6
RE: Transcode to multiple formats
(27-04-2014 22:47)gnomus Wrote:  How do I set this up? I tried placing an AAC:wav24 command in MinimWatch's stream.transcode window. It still shows as being AAC in Kinsky.

If you stop and restart Kinsky, you should get the wav24 version of the stream.
Find all posts by this user
Quote this message in a reply
28-04-2014, 06:15
Post: #7
RE: Transcode to multiple formats
(27-04-2014 23:24)simoncn Wrote:  
(27-04-2014 22:47)gnomus Wrote:  How do I set this up? I tried placing an AAC:wav24 command in MinimWatch's stream.transcode window. It still shows as being AAC in Kinsky.

If you stop and restart Kinsky, you should get the wav24 version of the stream.

I've tried that and I am still getting AAC. I put the following in my stream.transcode window:

FLAC:wav24, AAC:wav24, mp3:wav24

I also tried *.wav24 but this did not work either, and also did not transcode my FLACs. I have set up the Radio stations via TuneIn as described in the manual.
Find all posts by this user
Quote this message in a reply
28-04-2014, 09:09
Post: #8
RE: Transcode to multiple formats
(28-04-2014 06:15)gnomus Wrote:  I've tried that and I am still getting AAC. I put the following in my stream.transcode window:

FLAC:wav24, AAC:wav24, mp3:wav24

These settings are fine.

Quote:I also tried *.wav24 but this did not work either, and also did not transcode my FLACs.

The '*' source type doesn't mean "transcode everything". It means "transcode all network streams of unspecified type".

Quote: I have set up the Radio stations via TuneIn as described in the manual.

OK, this is the problem. This creates a direct connection from the Linn DS to the radio station network URL, so MinimStreamer doesn't get any opportunity to do transcoding on the stream.

To do transcoding using MinimStreamer, you need to route the radio stream via MinimStreamer as well as setting the stream.transcode property. For details of how to set up this routing, see this section.

Here's a sample .m3u file that you can use to play some BBC radio stations:

Code:
#EXTM3U
#EXTINF:-1,BBC Radio 1
http://www.bbc.co.uk/radio/listen/live/r1_aaclca.pls
#EXTINF:-1,BBC Radio 2
http://www.bbc.co.uk/radio/listen/live/r2_aaclca.pls
#EXTINF:-1,[R3] BBC Radio 3
http://www.bbc.co.uk/radio/listen/live/r3_aaclca.pls
#EXTINF:-1,[R4] BBC Radio 4
http://www.bbc.co.uk/radio/listen/live/r4_aaclca.pls
#EXTINF:-1,BBC Radio 4 LW
http://www.bbc.co.uk/radio/listen/live/r4lw_aaclca.pls
#EXTINF:-1,BBC Radio 4 Extra
http://www.bbc.co.uk/radio/listen/live/r4x_aaclca.pls
#EXTINF:-1,BBC Radio 5 Live
http://www.bbc.co.uk/radio/listen/live/r5l_aaclca.pls
#EXTINF:-1,BBC Radio 5 Live Sports Extra
http://www.bbc.co.uk/radio/listen/live/r5lsp_aaclca.pls
#EXTINF:-1,BBC Radio 6 Music
http://www.bbc.co.uk/radio/listen/live/r6_aaclca.pls
#EXTINF:-1,BBC Radio 1Xtra
http://www.bbc.co.uk/radio/listen/live/r1x_aaclca.pls
#EXTINF:-1,BBC Radio Asian Network
http://www.bbc.co.uk/radio/listen/live/ran_aaclca.pls
Find all posts by this user
Quote this message in a reply
28-04-2014, 09:40 (This post was last modified: 28-04-2014 10:16 by gnomus.)
Post: #9
RE: Transcode to multiple formats
(28-04-2014 09:09)simoncn Wrote:  
(28-04-2014 06:15)gnomus Wrote:  I have set up the Radio stations via TuneIn as described in the manual.
...
OK, this is the problem. This creates a direct connection from the Linn DS to the radio station network URL, so MinimStreamer doesn't get any opportunity to do transcoding on the stream.

Thanks for your ongoing assistance.

I found that I needed to add a "[R1] " and a [R2] " to your suggested file to get it working correctly. Does that sound correct?

In Playlist view, I now have a Playlist called "Radio Stations" (the name of the .m3u file that I placed in my Music directory). This shows the Radio Stations with generic icons "semi-duplicated", that is '[R1] BBC Radio 1' and 'BBC Radio 1'. The version in the square brackets plays the transcoded audio.

When I go into the 'Radio' section on Kinsky, I have just the AAC and MP3 streams available, but I do have the nice icons. I assume it is not possible to have the 24 bit streams playing via this window?

Does it seem that I have it set up correctly?

[EDIT]

Is there some way of easily finding the required URLs for my Radio streams?
Find all posts by this user
Quote this message in a reply
28-04-2014, 11:04 (This post was last modified: 28-04-2014 11:05 by simoncn.)
Post: #10
RE: Transcode to multiple formats
(28-04-2014 09:40)gnomus Wrote:  Thanks for your ongoing assistance.

I found that I needed to add a "[R1] " and a [R2] " to your suggested file to get it working correctly. Does that sound correct?

It should work without any changes, but you won't get transcoding for anything other than Radio 3 and Radio 4.

Quote:In Playlist view, I now have a Playlist called "Radio Stations" (the name of the .m3u file that I placed in my Music directory). This shows the Radio Stations with generic icons "semi-duplicated", that is '[R1] BBC Radio 1' and 'BBC Radio 1'. The version in the square brackets plays the transcoded audio.

This is correct.

Quote:When I go into the 'Radio' section on Kinsky, I have just the AAC and MP3 streams available, but I do have the nice icons. I assume it is not possible to have the 24 bit streams playing via this window?

This assumption is correct as well.

Quote:Does it seem that I have it set up correctly?

Yes. You can check this from the Now Playing screen in Kinsky. It should show you are getting 24-bit WAV.

How do you like 24-bit Radio 3?

Quote:[EDIT]

Is there some way of easily finding the required URLs for my Radio streams?

I highly recommend this site.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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