FAQ  •  Register  •  Login

Problems with secured shoutcast streams

<<

Satras

Streaming enthusiast

Posts: 33

Joined: Thu Jul 12, 2012 5:18 pm

Post Sat Jul 14, 2012 10:18 pm

Problems with secured shoutcast streams

Hi,

I'm a premium Member of di.fm. For paying customers, they offer 128K and 256K Audio streams in the following format

  Code:
http://1.2.3.4:80/trance_hi?mysecurehash


Till earlier this week, this all worked fine. Starting this week I got a new playback device which is connected using Wifi and the 256K stream was too high for it (bad coveradge of wifi signal), so I started to play around with their low streams and after a bit of testing, I was no longer able to add any of the secured streams. I mean I was able to add them but none of my playback devices could connect to this stream.
The standard low streams are working fine and if I copy and paste the above code into Winamp, it starts to play.
I'm out of ideas.


Image

Any Help ? thanx !
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jul 17, 2012 12:39 pm

Re: Problems with secured shoutcast streams

provide detailed log (and make sure you remove any mention of your secure hashtag from it) :-)
<<

Satras

Streaming enthusiast

Posts: 33

Joined: Thu Jul 12, 2012 5:18 pm

Post Tue Jul 17, 2012 1:44 pm

Re: Problems with secured shoutcast streams

Sorry, forgotten to attach it.
Will do it when I'm back home later
<<

Satras

Streaming enthusiast

Posts: 33

Joined: Thu Jul 12, 2012 5:18 pm

Post Tue Jul 17, 2012 3:35 pm

Re: Problems with secured shoutcast streams

This should be it, I was able to do this remotely.
Last edited by Satras on Sat Jul 21, 2012 3:17 pm, edited 1 time in total.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jul 17, 2012 4:27 pm

Re: Problems with secured shoutcast streams

there is nothing with 'trance_hi' in the log
<<

Satras

Streaming enthusiast

Posts: 33

Joined: Thu Jul 12, 2012 5:18 pm

Post Tue Jul 17, 2012 7:28 pm

Re: Problems with secured shoutcast streams

Its
  Code:
http://1.2.3.4:80/trance?mysecureid


Not sure why it was trance_hi in my first tests.

But I guess its working now ?! Cause one of my Playback devices started playing the streams again. But the new kitchen Radio does not. This is odd now.
Before I started playing around both where streaming ok. I will do some more tests on the weekend.
<<

Satras

Streaming enthusiast

Posts: 33

Joined: Thu Jul 12, 2012 5:18 pm

Post Wed Jul 18, 2012 7:30 am

Re: Problems with secured shoutcast streams

Did some more tests yesterday evening and my WDTVLive could play the stream therefore I believe everything with Serviio is ok.
Just my Kitchen Radio refuses to play the streams... any Idea why this is the case ?
It does not even show the radio stream in the Online Menu
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jul 18, 2012 12:20 pm

Re: Problems with secured shoutcast streams

post result of

  Code:
ffmpeg -i "http://........ stream url here ..."
<<

Satras

Streaming enthusiast

Posts: 33

Joined: Thu Jul 12, 2012 5:18 pm

Post Thu Jul 19, 2012 7:33 am

Re: Problems with secured shoutcast streams

Hi,

not sure what you want me to do. Sorry
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jul 19, 2012 2:23 pm

Re: Problems with secured shoutcast streams

viewtopic.php?f=5&t=1123

use you stream's URL as the file name and wrap it in quotes, as in my previous post, like:

  Code:
ffmpeg -i "http://1.2.3.4:80/trance_hi?mysecurehash"
<<

Satras

Streaming enthusiast

Posts: 33

Joined: Thu Jul 12, 2012 5:18 pm

Post Thu Jul 19, 2012 6:50 pm

Re: Problems with secured shoutcast streams

  Code:
C:\Users\Administrator>"C:\Program Files (x86)\Serviio\lib\ffmpeg.exe" -i http:/
/1.2.3.4:80/trance?mysecurehash
ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 13 2011 20:46:11 with gcc 4.4.2
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --pkg-config=pkg-co
nfig
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 42. 0 / 53. 42. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
[aac @ 00388460] max_analyze_duration 5000000 reached at 5015510
[aac @ 00388460] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from 'http://1.2.3.4:80/trance?mysecurehash':
  Duration: N/A, bitrate: 124 kb/s
    Stream #0:0: Audio: aac, 44100 Hz, stereo, s16, 124 kb/s
At least one output file must be specified

C:\Users\Administrator>


you might want to change the board setting to start a new page at 20 or 35 posts.. makes it easier to read.. but this is just my oppinion :)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Jul 20, 2012 12:56 pm

Re: Problems with secured shoutcast streams

It's an AAC stream, so depends if the device can play that. Serviio currently cannot transcode AAC streams, so they can only be played natively. It's possible that the other bitrates are served as mp3.
<<

Satras

Streaming enthusiast

Posts: 33

Joined: Thu Jul 12, 2012 5:18 pm

Post Fri Jul 20, 2012 2:38 pm

Re: Problems with secured shoutcast streams

Damn.. those Idiots :(

Thanx for your help !

this indicates a MP3 Stream right ?

Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\Administrator>"C:\Program Files (x86)\Serviio\lib\ffmpeg.exe" -i http:/
/1.2.3.4:80/trance_hi?mysecurehash
ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers
built on Dec 13 2011 20:46:11 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --pkg-config=pkg-co
nfig
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 0 / 53. 42. 0
libavformat 53. 24. 0 / 53. 24. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
[mp3 @ 016c84a0] max_analyze_duration 5000000 reached at 5015510
[mp3 @ 016c84a0] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'http://1.2.3.4:80/trance_hi?mysecurehash0':
Duration: N/A, start: 0.000000, bitrate: 256 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s
At least one output file must be specified

C:\Users\Administrator>
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Jul 20, 2012 3:14 pm

Re: Problems with secured shoutcast streams

yes

  Code:
Input #0, mp3, from 'http://1.2.3.4:80/trance_hi?mysecurehash0':
<<

Satras

Streaming enthusiast

Posts: 33

Joined: Thu Jul 12, 2012 5:18 pm

Post Sat Jul 21, 2012 3:18 pm

Re: Problems with secured shoutcast streams

Thanx for your help ! this really helped me fixing it.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 21 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.