Old 27th January 2010, 15:15   #281
DJTOMCAT
Junior Member
 
Join Date: Aug 2009
Location: Germany
Posts: 42
Any solve/workaround to get viewed the Listeners again like shoutcast/stats ?

EDIT: Okay got it Working again, just copied the old Servlet.class from RC2 into RC3 Folder and now it works again
DJTOMCAT is offline   Reply With Quote
Old 27th January 2010, 18:45   #282
DJTOMCAT
Junior Member
 
Join Date: Aug 2009
Location: Germany
Posts: 42
I got a new problem with servlet.java/.class

Reason:
Want to have a second/private test /webapps/shoutcast folder which works independent, but when i connect a second stream the number of viewers still increases, even I only watch the teststream. Or is there a chance to modify the servlet.java to show only the viewers of only one defined stream

For Example:
port 8000 is standard NSV Port -> Servlet.class should show number of viewers
port 8010 is Teststream NSV Port -> Servlet.class should ignore number of viewers

Actually it shows both connects in servlet.class

Or is there another solution to ONLY show how much viewers on 8000 are...

Last edited by DJTOMCAT; 27th January 2010 at 19:59.
DJTOMCAT is offline   Reply With Quote
Old 27th January 2010, 20:11   #283
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
Couple things you could try.

create serveral shoutcast folders with names like, shoutcast1, and config the red5-web.properties in each WEB-INF folder.

THe other one is to extend the application with java, and set attributes to subscribers. Then add a method to get count that requires a string. get the string from post vars, and then enumerate the clients that have that attribute.

You see, stats servlet was only to show you how to access the application from a http request. Just an example.

Currently I am working on an nsv encoder. There has been some work done on the shoutcast app. Looking at loggin bandwidth to SQL tables, and other play stats. THere is no E.T.A. You know though... If I put too much work into it I may create separate usage licenses. Such as free for personal use, and small license fee for commercial providers. Shoutcast is self funded and a hobby. I have other priorities such as freelancing my room and board.

But yeah. some more dev has gone down in the encoder department.
Smelter is offline   Reply With Quote
Old 27th January 2010, 21:11   #284
DJTOMCAT
Junior Member
 
Join Date: Aug 2009
Location: Germany
Posts: 42
Well i tried to create a folder named shoutcast2 in webapps
and in red5-web.properties but wont helpes. Even i removed the second bean in red5-web.xml

Well at that moment i try to connect - even with no bean, the count is +1.

The Servlet.java doesnt difference the streams and counts just every connect , even if the stream exists or not.

I just tried to change this
code:
resp.getOutputStream().write(("Number of viewers :"+ viewers).getBytes());
to this
code:
resp.getOutputStream(live1).write(("Number of viewers :"+ viewers).getBytes());
but doesnt work , how can i realize that ? The Other streams dont need to count , only that one stream has to be :-(

Last edited by DJTOMCAT; 27th January 2010 at 22:01.
DJTOMCAT is offline   Reply With Quote
Old 7th February 2010, 23:51   #285
Costinio
Junior Member
 
Join Date: Apr 2009
Posts: 21
I copied servlet.class and servlet.java from the shoutcastv2 tou shoutcastrc3 folder but it didn't work
Costinio is offline   Reply With Quote
Old 8th February 2010, 00:18   #286
DJTOMCAT
Junior Member
 
Join Date: Aug 2009
Location: Germany
Posts: 42
just copy servlet.class RC2 in the folder of RC3 and restart Red5 - so localhost:5080/shoutcast/stats should work again
DJTOMCAT is offline   Reply With Quote
Old 8th February 2010, 18:48   #287
Costinio
Junior Member
 
Join Date: Apr 2009
Posts: 21
did you copied it at
code:
shoutcast/WEB-INF/src/com/thebitstream/shoutcast

or at
code:
shoutcast/WEB-INF/src/com/thebitstream/shoutcast/servlets

?
and you left servlet.java as is?
Costinio is offline   Reply With Quote
Old 8th February 2010, 19:53   #288
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
you have to copy it to the internal folder servlets.
Smelter is offline   Reply With Quote
Old 9th February 2010, 13:40   #289
Costinio
Junior Member
 
Join Date: Apr 2009
Posts: 21
that's what i did, doesn't work at all
Costinio is offline   Reply With Quote
Old 9th February 2010, 14:29   #290
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
The last version shows the stats in the player itself.

That is probably why I didn't notice it was broken.
Smelter is offline   Reply With Quote
Old 8th March 2010, 18:31   #291
DJTOMCAT
Junior Member
 
Join Date: Aug 2009
Location: Germany
Posts: 42
Hey something new ? ^^

Btw : Is it possible to get the Flashplayer "Number of Viewers" Output together with Shoutstats / RRDTool ?

Shoutcast Video works perfect - Audio shows some mistakes but on which standard Port does the Flash listen ?
DJTOMCAT is offline   Reply With Quote
Old 8th March 2010, 19:30   #292
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
i dunno what that is.
Smelter is offline   Reply With Quote
Old 8th March 2010, 21:19   #293
DJTOMCAT
Junior Member
 
Join Date: Aug 2009
Location: Germany
Posts: 42
shoutstats is a programm to virtualize listeners statistics
hxxp://www.joe-stream.de/shoutstats

or do you know any good webinterface to get a complete viewerhistory ? Which puts Flash and Shoutcast together
DJTOMCAT is offline   Reply With Quote
Old 14th March 2010, 18:23   #294
oLRi
Member
 
Join Date: May 2008
Posts: 94
DJ Tomcat:
How did you fix the "pixel"-Thing. I'm assuming you're streaming in VP62 because you're fliping the Picture
oLRi is offline   Reply With Quote
Old 14th March 2010, 20:22   #295
DJTOMCAT
Junior Member
 
Join Date: Aug 2009
Location: Germany
Posts: 42
Well it is still pixeling. Mostly when someone connects the stream.
DJTOMCAT is offline   Reply With Quote
Old 14th March 2010, 21:24   #296
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
Try the latest app + jar. Lemme know if it improved.
Smelter is offline   Reply With Quote
Old 16th March 2010, 10:41   #297
DJTOMCAT
Junior Member
 
Join Date: Aug 2009
Location: Germany
Posts: 42
Already latest installed. Red5 from Trunk (declared as Version Red5 1.0)

Maybe you have some settings for NSV Encoder or publish them.
DJTOMCAT is offline   Reply With Quote
Old 16th March 2010, 16:46   #298
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
yeah, h264.
Smelter is offline   Reply With Quote
Old 17th March 2010, 12:34   #299
DJTOMCAT
Junior Member
 
Join Date: Aug 2009
Location: Germany
Posts: 42
and how should winamp watchers show H264? Only Winamp Pro supports this codec. Also its use heavy bandwidth, too.
DJTOMCAT is offline   Reply With Quote
Old 18th March 2010, 00:53   #300
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
tell em to put the x264 decoder dll in their plugin folder.
Smelter is offline   Reply With Quote
Old 18th March 2010, 01:03   #301
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,244
Quote:
Originally Posted by DJTOMCAT View Post
and how should winamp watchers show H264? Only Winamp Pro supports this codec. Also its use heavy bandwidth, too.
at a given bitrate, h264 uses the same bandwidth as any other video codec

Is it just me or are shoutcast users getting dumber?
jaromanda is offline   Reply With Quote
Old 18th March 2010, 01:08   #302
oLRi
Member
 
Join Date: May 2008
Posts: 94
Quote:
Originally Posted by Smelter View Post
tell em to put the x264 decoder dll in their plugin folder.
As i mentioned earlier: That's not a sattisfying solution. Whtat about the viewer you could get from your shoutcast.com directory? They're clicking the "tune in" link an get a black picture, because they don't have this plugin, and winamp will not tell them "to watch this video click here"
So they switch over to the next station. And so we've lost one viewer, in the example.

The thing is: you have to create a solution for everyone, without any howto's or explenation.
oLRi is offline   Reply With Quote
Old 21st March 2010, 13:37   #303
DJTOMCAT
Junior Member
 
Join Date: Aug 2009
Location: Germany
Posts: 42
And who buys Winamp Pro only for H264 Codec ^^

Well i still look for a chance to get stats working for Flash like Radiotoolbox. Is it possible to evaluate listeners count except ...xxx:5080/shoutcast/stats

How does NSV logging work like ? Radiotoolbox either cant log Flashlisteners, too - for a statistic ;-(
Does anyone have a program to get all listeners together ? Maybe OlRi ? ^^

Last edited by DJTOMCAT; 21st March 2010 at 15:11.
DJTOMCAT is offline   Reply With Quote
Old 21st March 2010, 16:38   #304
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
Just D.I.Y.

You have the source code and could build any stats you could possibly dream of.

I've no plans at the moment to extend the app in that way. sorry.
Smelter is offline   Reply With Quote
Old 25th April 2010, 08:18   #305
fizzy7z
Junior Member
 
Join Date: Apr 2010
Posts: 4
Hey Smelt* how you doing?

I've been working on this thread and can finally say i've got it all set and done!
My only problems it seems is encoding h264+aac.

I intent to decode in jw player located at dholaholic.com/tv/

Could you please share with me the settings you enter into the x264/VfW configuration screen.
I am unable to encode a video that will decode through flash. So far all my encoded videos work locally through winamp and remotely through shoutcast & red5 & winamp however JW Player struggles to even load any video or sound from the h264/aac .nsv container.

Any input would be appreciated and im silently,eagerly waiting on what you've announced you will be releasing!
If it fits my needs be sure to expect £50 from me
fizzy7z is offline   Reply With Quote
Old 4th October 2010, 21:13   #306
DJTOMCAT
Junior Member
 
Join Date: Aug 2009
Location: Germany
Posts: 42
Hey Guys and Gurls Its been long time since the last post. Does anyone got Flowplayer works with Red5 ? JWPlayer works very fine, but wanted to try Flowplayer, too - but I dont find any tutorials or documentations for Red5<>Flowplayer - without this Influxis server.

Do I really need Influxus for that player ?
DJTOMCAT is offline   Reply With Quote
Old 5th October 2010, 05:03   #307
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,244
seriously ... you expect an answer about getting flowplayer to work with red5 in a shoutcast support forum? LMFAO

and they say Germans have no sense of humour ...

Is it just me or are shoutcast users getting dumber?
jaromanda is offline   Reply With Quote
Old 5th October 2010, 05:43   #308
DJTOMCAT
Junior Member
 
Join Date: Aug 2009
Location: Germany
Posts: 42
well what about red5 answers in here ? What about jwplayer answers / pms ins here ? Well that was no joke and your answer was not funny.

As we germans would say - Wenn man keine Ahnung hat - einfach mal die Fresse halten

you can translate it - if you want on your own PWNED
DJTOMCAT is offline   Reply With Quote
Old 5th October 2010, 07:07   #309
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,244
Quote:
Originally Posted by DJTOMCAT View Post
well what about red5 answers in here ? What about jwplayer answers / pms ins here ? Well that was no joke and your answer was not funny.

As we germans would say - Wenn man keine Ahnung hat - einfach mal die Fresse halten

you can translate it - if you want on your own PWNED
you are right, my answer is not funny ... your quest for an answer about red5 + flowplayer in a SHOUTCAST forum was funny

keep your own face

Is it just me or are shoutcast users getting dumber?
jaromanda is offline   Reply With Quote
Old 5th October 2010, 13:32   #310
sankt
Moderator
 
sankt's Avatar
 
Join Date: Apr 2003
Location: www.ScenicRadio.com
Posts: 2,973
You could try asking in the FlowPlayer or Red5 forums. That probably would get you an immediate answer.

Quote:
Originally Posted by DJTOMCAT View Post
Hey Guys and Gurls Its been long time since the last post. Does anyone got Flowplayer works with Red5 ? JWPlayer works very fine, but wanted to try Flowplayer, too - but I dont find any tutorials or documentations for Red5<>Flowplayer - without this Influxis server.

Do I really need Influxus for that player ?

Scenic Television is your ambient window to the world - - Television.ScenicRadio.com
sankt is offline   Reply With Quote
Old 5th October 2010, 15:05   #311
DJTOMCAT
Junior Member
 
Join Date: Aug 2009
Location: Germany
Posts: 42
Well i already looked in that forum , but there are no answers in that direction yet, and I thought maybe someone used red5 and i also got help from here with jwplayer, too. So my hope was anyone else changed from JW to Flow and could maybe help me with that.
DJTOMCAT is offline   Reply With Quote
Old 5th October 2010, 19:06   #312
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
flash media players only need two parameters.

1, the resource address 'rtmp://****'
2. The stream name to play.

Any more than that is just B.S. supporting more options than you need....

Flow,JW, all of them are the same.

Stream resource + stream name.

All you need to know from those other forums is how to play a RTMP resource. Nobody else will get it otherwise...
Smelter is offline   Reply With Quote
Old 9th October 2010, 01:40   #313
netandino
Junior Member
 
netandino's Avatar
 
Join Date: Oct 2010
Location: Perú
Posts: 3
Send a message via MSN to netandino Send a message via Yahoo to netandino Send a message via Skype™ to netandino
when you have the running rtmp Ms. very easy to use it. http://www.osmf.org/configurator/fmp/ #

http://www.osmf.org/configurator/fmp/
netandino is offline   Reply With Quote
Old 9th October 2010, 15:04   #314
DJTOMCAT
Junior Member
 
Join Date: Aug 2009
Location: Germany
Posts: 42
@Netandio well thx for the link - the player works with our stream, but theres the good old "upside down mirrored" problem. Is there a possibility to flip the screen in that player or maybe in red5 ?

----------------------------------------------------------------

@Smelter just another question to streaming from nsvcap to red5

i just put in red5-web.xml

code:
<bean id="shoutcast.stream_1" class="com.thebitstream.shoutcast.StreamConfiguration">
<property name="outputName" value="live" />
<property name="port" value="7800" />
<property name="password" value="changeme" />
</bean>



and when i look at ...:5080/shoutcast I see the BeatNet and the live window but when i connect on port 7800 with my nsvcap (correct password) it still shows "Offline" and the other stream on 7520 is online (our Mainstream).

What goes wrong ?

Last edited by DJTOMCAT; 9th October 2010 at 17:41.
DJTOMCAT is offline   Reply With Quote
Old 9th October 2010, 17:38   #315
DJTOMCAT
Junior Member
 
Join Date: Aug 2009
Location: Germany
Posts: 42
Sorry 4 doublepost
DJTOMCAT is offline   Reply With Quote
Old 10th October 2010, 15:59   #316
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
red5 '7800' = shoutcast '7799'
Smelter is offline   Reply With Quote
Old 12th October 2010, 14:30   #317
oLRi
Member
 
Join Date: May 2008
Posts: 94
Quote:
Originally Posted by DJTOMCAT View Post
@Netandio well thx for the link - the player works with our stream, but theres the good old "upside down mirrored" problem. Is there a possibility to flip the screen in that player or maybe in red5 ?
For the JW Player you can find a suitable plugin in this thread for flipping the picture. Or write it by yourself, its not that hard. I wrote my own Flashplayer, which flips the picture in only 2 hours without knowing anythinkg about actionscript

Or search for another solution for restreaming NSV Video in Flash. Smelters Red5 Plugin is not the only solution. There are some more. The one I use does not need to flip the picture and has not the "pixel"-problem when transcoding from vp6 to flash.
oLRi is offline   Reply With Quote
Old 12th October 2010, 17:01   #318
DJTOMCAT
Junior Member
 
Join Date: Aug 2009
Location: Germany
Posts: 42
Well JWPlayer flip.swf does only work with Version 4.x , since 5.x (at the moment 5.3) it has no source code available anymore.

I dont have any clue how to program in AS-language Red5 seems to be the only "free" Version on the net, isn't it ?
DJTOMCAT is offline   Reply With Quote
Old 13th October 2010, 01:25   #319
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,244
Quote:
Originally Posted by oLRi View Post
The one I use does not need to flip the picture and has not the "pixel"-problem when transcoding from vp6 to flash.
two things strike me as odd about this statement

winamp nsv vp6 and flash vp6 are identical ... except inverted with respect to each other ... so how could you not need to flip??

secondly .. transcoding??? smelters red5 solution doesn't transcode

Is it just me or are shoutcast users getting dumber?
jaromanda is offline   Reply With Quote
Old 13th October 2010, 08:30   #320
oLRi
Member
 
Join Date: May 2008
Posts: 94
Quote:
Originally Posted by jaromanda View Post
winamp nsv vp6 and flash vp6 are identical ... except inverted with respect to each other ... so how could you not need to flip??
I'm using my own transcoding solution. Because i transcode the stream i do not need to flip the picture. Transcoding needs some more CPU but its more stable than smelters plugin AND it does not "pixel" when using a vp6 live stream as source.
oLRi is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > SHOUTcast > SHOUTcast TV / Nullsoft Video

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump