![]() |
#201 |
Junior Member
Join Date: Aug 2009
Location: Germany
Posts: 42
|
Nice Work, but when trying to recompile i got an Java Error
code: Any idea ? Only wanted to change Text in Servlet.java :-) |
![]() |
![]() |
![]() |
#202 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
Oops, re-download the zip from my website.
|
![]() |
![]() |
![]() |
#203 |
Junior Member
|
nice work! but still have the one listener issue with vp6.2/aacplus
![]() doesnt matter if PlayEngine is patched or not, first listener connects very fast.. the following listeners cant connect or it takes very long. any ideas? |
![]() |
![]() |
![]() |
#204 |
Junior Member
Join Date: Dec 2009
Posts: 13
|
Impressive!
Works very well. Got an exception: Exception in thread "Thread-1" java.lang.NullPointerException at org.red5.server.plugin.shoutcast.stream.ICYStream.sendConfig(ICYStream.java:321) at org.red5.server.plugin.shoutcast.stream.ICYStream.dispatchEvent(ICYStream.java:403) at org.red5.server.plugin.shoutcast.marshal.transpose.AudioFramer.deliverAACFrame(AudioFramer.java:208) at org.red5.server.plugin.shoutcast.marshal.transpose.AudioFramer.onAACData(AudioFramer.java:148) at org.red5.server.plugin.shoutcast.marshal.ICYMarshal.onAudioData(ICYMarshal.java:169) at org.red5.server.plugin.shoutcast.parser.NSVSenderThread.execute(NSVSenderThread.java:38) at org.red5.server.plugin.shoutcast.parser.NSVThread.execute(NSVThread.java:450) at org.red5.server.plugin.shoutcast.stream.NSVConsumer.process(NSVConsumer.java:120) at org.red5.server.plugin.shoutcast.stream.NSVConsumer.run(NSVConsumer.java:105) at java.lang.Thread.run(Thread.java:619) |
![]() |
![]() |
![]() |
#205 | |
Member
Join Date: May 2008
Posts: 94
|
Quote:
|
|
![]() |
![]() |
![]() |
#206 |
Junior Member
|
sometimes, but very infrequently. i reduced the keyframe rate to every 90 frames, which made the thing much better.
|
![]() |
![]() |
![]() |
#207 |
Junior Member
Join Date: Aug 2009
Location: Germany
Posts: 42
|
@dr. allgood, i only wrote the nsv stream in xml - only one bean , the other one i deleted, so here it works, no need for the other java files in src.
![]() |
![]() |
![]() |
![]() |
#208 |
Junior Member
Join Date: Aug 2009
Location: Germany
Posts: 42
|
@monday X : reload the trunk, patch the PlayEngine.txt again, but not copy and paste, just rename the txt to java and overwrite ist, after that, recompile red5 core then. Here it works and works
|
![]() |
![]() |
![]() |
#209 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
lemme get some coffee, then Ill take a look at your issues.
|
![]() |
![]() |
![]() |
#210 | |
Junior Member
|
Quote:
![]() i just pacthed it always in eclipse and thought eclipse would compile it... but it didnt realy. did it manually now, works now, thanks ![]() |
|
![]() |
![]() |
![]() |
#211 |
Junior Member
Join Date: Aug 2009
Location: Germany
Posts: 42
|
well i dont had any clue to use eclipse
![]() ![]() |
![]() |
![]() |
![]() |
#212 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
Possibly removed the periodic freezes with h264.
http://www.thebitstream.com/?page_id=13 Fix-5 Experimental version. Will probably break the streaming proxy if you are using it. I hope to fix that soon. If you dont know what that is, ignore the warning ![]() |
![]() |
![]() |
![]() |
#213 |
Junior Member
Join Date: Aug 2009
Location: Germany
Posts: 42
|
well still pixeling every 2-3 minutes in here
![]() |
![]() |
![]() |
![]() |
#214 |
Junior Member
|
a lot of keyfremes helps a little... but not really
![]() |
![]() |
![]() |
![]() |
#215 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
Sorry guys. Nothing I'm can do at the moment for that. It's goina take either contacting On2 for the right libraries and data needed, or studying ffmpeg decoding to locate key differences, or finally , study the output of the adobe encoder.
Splitting the output at the source is still an option you know? Using manycam or HMelyoff labs drivers. I recommend HMelyoff . google that. |
![]() |
![]() |
![]() |
#216 |
Member
Join Date: May 2008
Posts: 94
|
I'm still working for a server-side h264 to vp6 transcoder.
Maybe, with some help of smelter, i can get this thing working. With that, every one could stream in h264 and transcode it, if you want to, to vp6 and send it to another shoutcast server. Merry Christmas! ![]() |
![]() |
![]() |
![]() |
#217 |
Junior Member
Join Date: Aug 2009
Location: Germany
Posts: 42
|
but streaming at h264 does need much more upload bandwith, doesn't it ? And which program to use for streaming ? Flash Media Encoder ?
BTW: Merry Christmas to everybody |
![]() |
![]() |
![]() |
#218 |
Member
Join Date: May 2008
Posts: 94
|
No. That is the great thing about h264: much better picture with the same bandwidth. You can stream h264 nsv with nsvtools / nsvcap. While programming the transcoder i thought about a second app: maybe its possible to stream video and audio with the red5 publisher and send this stream in h264 or vp62 to a shoutcast server. So you would have a plattform independent streaming tool for shoutcast tv. Until now you only have the nsvtools which require windows
|
![]() |
![]() |
![]() |
#219 | |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
|
Quote:
• h264 uses significantly more cpu - really noticeable on my broadcast machine (Intel 3GHz HT - yeah, old school) • at low bandwidth, under 100k, the difference between h264 and vp6 isn't significant Is it just me or are shoutcast users getting dumber? |
|
![]() |
![]() |
![]() |
#220 |
Junior Member
|
another question... regarding h264.
im using an snapshot listener for vp6 in red5. this snapshot listener connects to the stream, waits for a keyframe and converts this frame with ffmpeg to a jpg. works fine so far. this doesnt work for h264... i need this codec config packet. but how to get it? is... nsv.getMarshal().getVideoFramer().getAVCDecoderConfig() ... the right way? thanks |
![]() |
![]() |
![]() |
#221 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
Feed config, key and slices, in that order.
code: |
![]() |
![]() |
![]() |
#222 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
BTW, the next release will have some added abilities that you can trigger with the shoutcast header.
One action built in so far is 'the activity which we cannot discuss', triggered by title change, and other parameters. output is flv. You could easily do that activity in many way using red5, but if you own and control the live servers, using header parameters, you will be able to auto-archive serverside for later playback with native red5/flash api. ssshhh. This discussion has just become in violation of Winamps forum rules. |
![]() |
![]() |
![]() |
#223 |
Junior Member
Join Date: Dec 2006
Posts: 18
|
Hello,
I'm trying for some days now to learn to handle red5 and shoutcast but in fact I'm still at the beginning. So I have red5 running, finally, after some bugs that didn't let me even access port 5080. Now the Red5 Test Page is showing up and the demos are working fine. What next? I have set up the shoutcast server and it streams aac on port 8080. How do I use Shoutcast Red5 Application V2 w/H264.jar now? I got stuck with the documentations for it. After all, I want to get jw player to play my aac stream. Please help. |
![]() |
![]() |
![]() |
#224 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
red5-web.xml
PHP Code:
|
![]() |
![]() |
![]() |
#225 | |
Junior Member
Join Date: Dec 2006
Posts: 18
|
thanks for the response
Quote:
PHP Code:
my shoutcast.stream_2 looks now like this: (if i got it right) PHP Code:
i've replaced ";file.nsv" from your quote with stream.nsv because it's so in my case. shouldn't be a problem, i think. btw, i don't have the dist folder but i placed the shoutcast (v2) folder in the webapp folder. now i have something like this: ...Program Files\Red5\webapps\shoutcast\WEB-INF with red5-web.xml and the others in it. how do i connect the stream to jw player now? i have apache installed and jw player works with the mp3 version of the stream, now using red5 and this shoutcast plugin in webapps do i need to modify the jw player flashvars? e.g. my html with the player for the (old) mp3 stream looks like this: PHP Code:
![]() from the demos i've tested, i saw they have index.html's. and when i select one of them they show up. i supose i need to do that too and place a player in it. |
|
![]() |
![]() |
![]() |
#226 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
I think I messed up your port number. It should just be 8080 in client mode.
the jw player can be anywhere. the sound provider must be rtmp and the track id should be the output name configured in red5 -web.xml The file url would be 'rtmp://host/shoutcast' |
![]() |
![]() |
![]() |
#227 | |
Junior Member
Join Date: Dec 2006
Posts: 18
|
still not working.
should the shoutcast server show a client/user after red5 starts up, or just after i press play on jw player? e.g. rtmp://xxxxxxxxxxx.no-ip******oflaDemo/DarkKnight.flv works but rtmp://xxxxxxxxxxx.no-ip******shoutcast doesn't. no sound and no reaction in shoutcast server at all. neither rtmp://xxxxxxxxxxx.no-ip******shoutcast/;stream.nsv could you please tell me the rutine for this? i mean something like: starting shoutcast server starting winamp with shoutcast dsp that connects to the server (and shows that data is sent -- aac+ stream) starting red5 accessing rtmp://............./shoutcast via jw player or whatever. (for confirmation) something like this. p.s. my red5-web.xml looks like this: Quote:
|
|
![]() |
![]() |
![]() |
#228 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
in jw player the connection uri is
rtmp://xxxxxxxxxxx.no-ip******shoutcast And your configuration says the output stream name will be test Doesnt the JWPlayer have the flash vars for URI and Track ID? It did last time I used it. Do not use 'test.flv' use 'test' You also have the red5 server connecting to local host, so thats good if they are on the same server. you almost had it wit this rtmp://xxxxxxxxxxx.no-ip******shoutcast You just forgot to also have a track-identifier of 'test' Your start-up routine is fine. You should see the client connect to the shoutcast server as soon as you start red5. |
![]() |
![]() |
![]() |
#229 | |
Junior Member
Join Date: Dec 2006
Posts: 18
|
Quote:
red5 shows "standalone - start up done in 7xxx ms" shoutcast server always shows 0 listeners. i've tried everything in red5-web.xml, 8080 or 8081, 127.0.0.1/localhost/domain, but nothing. |
|
![]() |
![]() |
![]() |
#230 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
THat means you are not running a new enough version of red5.
It should say something else at startup. |
![]() |
![]() |
![]() |
#231 |
Junior Member
Join Date: Dec 2006
Posts: 18
|
i use Red5 v0.7.0 final 02.23.2008
the java 5 version the java 6 version didn't work, no test page, nothing. although i patched it using the 404 hotix: http://osflash.org/red5/070hotfix L.E. found the latest versions on the google code page. i'll try them out as soon as they're downloaded. they should make the link for the google code page bigger! damn |
![]() |
![]() |
![]() |
#232 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
My app said version 0.9.2 or higher.
|
![]() |
![]() |
![]() |
#233 | ||
Junior Member
Join Date: Dec 2006
Posts: 18
|
Quote:
but some problems remain... is this normal for red5+shoutcast? Quote:
jw player still doesn't work... i've tried many configurations and many versions (4.6 from what i read is the best for rtmp+red5), with "id", type, and every possible configuration but there are still problems like "stream not found" or "permission denied"... i'll try to repair it. the only success for now is vlc who plays the stream but not very good. and vlc needs 20-30 seconds to even start playing the stream. ![]() i'll keep trying and thanks for everything, Smelter. ![]() |
||
![]() |
![]() |
![]() |
#234 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
vlc does not work well with rtmp
red5 works liek a shoutcast relay, and retires every 30 seconds if there is no stream. controled by TIMEOUT variable |
![]() |
![]() |
![]() |
#235 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
created a pre-built patched server download, Nothing new, just a convenience for newcomers.
http://www.thebitstream.com/?page_id=13 |
![]() |
![]() |
![]() |
#236 |
Junior Member
Join Date: Aug 2009
Location: Germany
Posts: 42
|
What about that VidCoder x264 VFW Compressor dll? What is it good for ?
|
![]() |
![]() |
![]() |
#237 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
compressing, and GPL source code inspiration.
|
![]() |
![]() |
![]() |
#238 |
Junior Member
Join Date: Aug 2009
Location: Germany
Posts: 42
|
does it help against that pixeling with flashplayer and VP62 ?
|
![]() |
![]() |
![]() |
#239 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
x264 and vp62 compressors are unrelated
|
![]() |
![]() |
![]() |
#240 |
Junior Member
Join Date: Dec 2006
Posts: 18
|
@Smelter
it works finally with flash players. flowplayers works almost good, sometimes it streams almost 10minutes without interruptions, sometimes it stops every minute or so. at the first start it takes only 4-5 seconds to play the stream but after that, when it stops, it need 10-20 or more seconds to resume. jw player was a headache... only version 4.6 did play the stream without major interruptions. still, if it plays 10minutes without one, i'm lucky. but it stops more often than flowplayer. could it be because i'm testing the stream on the same pc as the red5+shoutcast server? p.s. i've played around with buffers for both, still no change. |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|