Page 1 of 1

[1.0.1] Online Sources streaming in 320Kbps

PostPosted: Sun Aug 19, 2012 10:07 am
by Satras
Hi,

I just realized that all audio online streams are now streaming in 320Kbps instead of the original 128/256 Kbps.
Is this a know bug ?

Re: [1.0.1] Online Sources streaming in 320Kbps

PostPosted: Sun Aug 19, 2012 11:02 am
by zip
why should it be a bug? It's probably define in the profile you are using.

Re: [1.0.1] Online Sources streaming in 320Kbps

PostPosted: Sun Aug 19, 2012 11:38 am
by Satras
Are you talking about the "prefered online contend quality" setting ?

I know that on 0.6.x the stream to my upnp device was always matching the stream quality to serviio.
You know I opened this post where I had issues with some di.fm streams.
They are offering webradio streams in 256K/128K but Serviio converts tehm to 320K.
How or where can I change that the stream is not "transcoded" ?

Re: [1.0.1] Online Sources streaming in 320Kbps

PostPosted: Mon Aug 20, 2012 12:13 pm
by grolschie
If the stream is being transcoded (because the device cannot play the source codec natively), then the higher the target bitrate the better (within reason). For example, if a 128k WMA stream is being transcoded to MP3 (because the device recognizes MP3 but not WMA) then transcoding with a bitrate of 320K would result in less loss of information than say transcoding to 128K MP3.

tl;dr version: Transcoding from 128k WMA to 128k MP3 may not sound as good as transcoding to 320k MP3.

Without knowing what your device is though and the stream URL, we cannot really offer much help.

Re: [1.0.1] Online Sources streaming in 320Kbps

PostPosted: Mon Aug 20, 2012 12:35 pm
by Satras
Source stream is 256K MP3
Target Stream is 320K MP3

Same for:

Source stream is 128K MP3
Target Stream is 320K MP3


Stream 128K

http://1live.akacast.akamaistream.net/7 ... .net/1live

Device:

Grundig Cosmopolit 3F WEB Internetradio

Ah and let me add... it was working fine in 0.6.x as mentioned above.

Re: [1.0.1] Online Sources streaming in 320Kbps

PostPosted: Mon Aug 20, 2012 5:04 pm
by Satras
Ah, I guess you where asking for the profile...

The Device is using the Generic Profile... same for the past 3-6 month.

Re: [1.0.1] Online Sources streaming in 320Kbps

PostPosted: Mon Aug 20, 2012 10:02 pm
by grolschie
Interesting. The "Generic DLNA profile" has this:
  Code:
         
<Audio targetContainer="mp3" aBitrate="384" forceInheritance="true">
   <Matches container="flv"/>
   <Matches container="asf"/>
   <Matches container="rtp"/>
   <Matches container="rtsp"/>
   <Matches container="mp3"/>            
</Audio>


You could just remove (or comment out) the "<Matches container="mp3"/>" line in the generic profile in profiles.xml. It seems strange that the aBitrate="384" whereas I presumed 320 was the maximum for MP3. I have no idea why MP3 would need to be re-encoded as MP3.

Anyways, better still is to create a new profile for your radio to play things natively where possible. Do you know what codecs your radio natively supports via DLNA/UPnP? I would guess anything that vTuner radios can normally play. I imagine it would be better to use vTuner rather than Serviio for radio streams though. It cuts out the middle-man so-to-speak. :)

Re: [1.0.1] Online Sources streaming in 320Kbps

PostPosted: Tue Aug 21, 2012 7:03 am
by Satras
HA, I have not spotted this when i read trough the profile.

Thanx, I will check and come back with what my Radio can play, AAC streams are not working.. that for sure...

Re: [1.0.1] Online Sources streaming in 320Kbps

PostPosted: Tue Aug 21, 2012 10:39 pm
by grolschie
Satras wrote:HA, I have not spotted this when i read trough the profile.

Thanx, I will check and come back with what my Radio can play, AAC streams are not working.. that for sure...


No problem. You might wish to change the line from:
<Matches container="mp3" />
to:
<Matches container="mp4" />

to ensure that AAC is transcoded to MP3.

Re: [1.0.1] Online Sources streaming in 320Kbps

PostPosted: Wed Aug 22, 2012 7:20 am
by Satras
Thanx again !

I tried to find any infos on the codecs supported but other then "Can play MP3/WMA from an usb stick" wasn't available. Will check later today the manual...

Re: [1.0.1] Online Sources streaming in 320Kbps

PostPosted: Wed Aug 22, 2012 8:22 am
by grolschie
No problem. Hopefully that one line change should be enough.

Re: [1.0.1] Online Sources streaming in 320Kbps

PostPosted: Thu Aug 23, 2012 7:24 am
by Satras
The Manual is pretty useless. Ther is up to no information on supported codecs.
However it does have a v-tuner support, as you have mentioned.