Old 5th December 2008, 01:07   #1
toqer
Winamp's Little Stalker
(Member)
 
Join Date: Mar 2004
Location: under a bridge
Posts: 796
Java, On2, what?

http://tech.slashdot.org/tech/08/12/04/2226228.shtml

Not sure what it means exactly. Does this mean at some point soon java could possibly play NSV streams?
toqer is offline   Reply With Quote
Old 5th December 2008, 01:10   #2
wildex999
Senior Member
 
wildex999's Avatar
 
Join Date: Jan 2007
Location: Norway
Posts: 397
Well, Java is a programming language, if anyone who knows Java wanted to make it play NSV, then I guess it wouldn't be that hard. But I don't know how many codecs you can use from Java, directshow on windows maybe? From the link it seems like ON2 decoding/encoding(?) will be included into Java. So yes, it seems VP6 NSV playback can be possible. But can Java play back AAC audio?
wildex999 is offline   Reply With Quote
Old 5th December 2008, 01:19   #3
toqer
Winamp's Little Stalker
(Member)
 
Join Date: Mar 2004
Location: under a bridge
Posts: 796
From Here;
http://www.javafx.com/faq/#2


No AAC, but VP6 is there.
toqer is offline   Reply With Quote
Old 5th December 2008, 01:26   #4
wildex999
Senior Member
 
wildex999's Avatar
 
Join Date: Jan 2007
Location: Norway
Posts: 397
Hey, what do ya know, they got H264 on both Windows and Mac.
But they only got AAC on mac

VP6 and MP3 is on all platforms... Owell, It's a start :P
I think I have Java at school... in about half a year, maybe I'll look into it then :P
wildex999 is offline   Reply With Quote
Old 5th December 2008, 01:37   #5
toqer
Winamp's Little Stalker
(Member)
 
Join Date: Mar 2004
Location: under a bridge
Posts: 796
I might try a simple test, looking at the sample for their video player;

http://javafx.com/samples/SimpleVide...c/Main.fx.html

code:
var mediaUrl:String = "http://sun.edgeboss.net/download/sun/media/1460825906/1460825906_2956241001_big-buck-bunny-640x360.flv";

I'm just gonna change that line to my VP6/Mp3 NSV stream and see what happens.
toqer is offline   Reply With Quote
Old 5th December 2008, 11:30   #6
wildex999
Senior Member
 
wildex999's Avatar
 
Join Date: Jan 2007
Location: Norway
Posts: 397
Heh, even if it can decode the codecs used by NSV, it doesn't mean it can read the NSV format out of the box :P
Write an NSV parser, and you're halfway there
wildex999 is offline   Reply With Quote
Old 5th December 2008, 17:35   #7
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
Attached red5 web app which does nothing interesting except for streaming r-n-d. However it contains a class called 'NSVThread' which is a crude nsv parser.

NSVSender is a publisher.

Not much use but they are doors where there were walls.

Usage. Inside red5 application you would call this once.

PHP Code:
addScheduledJob(200,new NSVThread("http://192.168.10.2:8000/;stream.nsv")); 
The parser doesnt miss a frame and doesnt choke on aux data.

I would advise getting 'Eclipse' and red5. And then make eclipse project from that existing source that is installed.

I cant help on this too much until you get to speed building red5 inside eclipse. Then you are ready to experiment with the 'Relay' webapp. I would say that Relay is about 8 hours from getting mp3 stream from red5 and pushing to shoutcast as audio only. I cannot say how long it would be to go nsv->flv but all the piecess are their to publish flash stream and fill it with data from nsvThread.

Red5 project team also has the code bits but have no intentions of working nsv relay in at this point. THey are going to implement RTSP first, so VLC will be used by windows/linux and QuickTime tools will be used on mac.
Attached Files
File Type: zip relay.zip (35.0 KB, 236 views)
Smelter is offline   Reply With Quote
Old 5th December 2008, 18:27   #8
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
Great Thanks and welcome back

So Long, and Thanks for All the Fish.
Jkey is offline   Reply With Quote
Old 6th December 2008, 22:37   #9
slavas
Major Dude
 
Join Date: Apr 2003
Location: kaimas šalia Anykščių
Posts: 680
bah so JavaJX simply uses FLV subset of VP6 and MP3, I was so hoping maybe VP8 , back on topic maybe some mods can *nicely ask* WinAMP devs to add upside-down VP6 support in NSV for next version, then I guess it would be stimulus to make NSV(VP6-MP3)<->FLV conversion
slavas is offline   Reply With Quote
Old 8th December 2008, 02:22   #10
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
ive emailed the guys at aol(winamp) for such things and the inclusion of h264.Slavas i need you to make encoder/decoder if it goes ahead is that a problem ?

ive tryed but if i fail i need the community to help me protest to aol the need to move nsv forward.

So Long, and Thanks for All the Fish.
Jkey 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