![]() |
#1 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
NSV + Flash = yes
Hello,
Just to give the heads up, I completed the alpha code to publish NSV streams on red5. So far AAC is supported, and I am working out the video stuff if I can. yes wowza can also pull icecast aac streams but now so can red5 AND red5 can connect with nsv cap directly. Plus it can forward the stream to a real dnas server for YP listing. The code should be released very very soon. |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Apr 2003
Location: www.ScenicTelevision.com
Posts: 2,976
|
If you are successful in streaming NSV audio and video with red 5 - will it be possible to render the nsv / flash stream with a flash player ?
Scenic Television is your ambient window to the world - - www.ScenicTelevision.com |
![]() |
![]() |
![]() |
#3 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
Yes, I am already rendering aac audio using mean and lean repackage;
I am looking at making video work now. I am playing with flash player, not winamp |
![]() |
![]() |
![]() |
#4 | |
Member
Join Date: Jul 2006
Location: Italy
Posts: 93
|
Quote:
Keep up the great work you're doing. |
|
![]() |
![]() |
![]() |
#5 |
Forum King
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
|
if you pull this off i promise i will never bother you about red5 again
![]() |
![]() |
![]() |
![]() |
#6 |
Major Dude
Join Date: Apr 2003
Location: kaimas Å¡alia AnykÅ¡Äių
Posts: 680
|
heh was having idea to do the same, as I looked at flexSDK and didnt see any options/documentation to do other way receive NSV with VP6 and make flash decoders render them
|
![]() |
![]() |
![]() |
#7 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
Video works but as expected, it is upside down.
However, remember that this is flash and one line of code will flip the video output however you please. So To reiterate Nsv with video is playing with flash player now here in the lab. A few time keeping things to handle but woo hoo ! Where is JohnRockntv1 when you need a big WOOHOO? |
![]() |
![]() |
![]() |
#8 |
Senior Member
Join Date: Jan 2007
Location: Norway
Posts: 397
|
Heyyyy, Sounds like you have come a long way =D
Does it decode both VP6 and H264? Also, what does the flipping do for hardware support? Anyway, can't wait to see a release ![]() EDIT: Oh, forgot to mention: If you're going full out with this, you must remember to get in Subtitles and multiple audio tracks too ![]() CROSS PLATFORM C++ NSV Library | NSV Demuxer | NSV Muxer: On SourceForge.net HERE! NSV_Vp61_Vp62 NSV_X264 NSV X264 vfw version (Decoder AND Encoder)(Mirror) NEW: Wildex999's blog & NSV tutorials |
![]() |
![]() |
![]() |
#9 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
It will do h264 if the avcvideo packet is constructed versus the normal flv packet.
Hardware works regardless of the flip. I just dump the aux channels a the moment. I am only supporting nsvcap now. |
![]() |
![]() |
![]() |
#10 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
Who is running aac + vp6 stream regularly?
Who wants to be the test case? |
![]() |
![]() |
![]() |
#11 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
Ok red5 is doing 5 things now.
1. nsv encoder direct connection with flash player output 2. nsv subscribe to dnas flash player output 3. winamp dsp encoder direct connection to flash player output 4. dnas subscribe to audio only aac with flash player output. and 5, the original function that started this branch, icecast subscribing to aac stream with flash output. |
![]() |
![]() |
![]() |
#12 | |
Member
Join Date: Jul 2006
Location: Italy
Posts: 93
|
Quote:
I regularly run h264+aac but if you need some test, I might help you. |
|
![]() |
![]() |
![]() |
#13 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
|
![]() |
![]() |
![]() |
#14 | |
Member
Join Date: Jul 2006
Location: Italy
Posts: 93
|
Quote:
![]() If it will work with h264 it'll be amazing ![]() |
|
![]() |
![]() |
![]() |
#15 |
Forum King
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
|
I take back anything bad i ever said about you smelter
![]() |
![]() |
![]() |
![]() |
#16 | |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
|
Quote:
although, if anyone asks, I'd say jkey made me say it! Of course ... I still say bad things about red5 - just for the giggles "If you don't like DNAS, write your own damn system" So I did |
|
![]() |
![]() |
![]() |
#17 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
If anyone is serious about getting some action and want me to set you up with this, hit me on a P.M.
You can wait for the the functions and sample code to be added to the red5 trunk and D.I.Y. or you can get started with me now. My rates are very reasonable. |
![]() |
![]() |
![]() |
#18 | |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
|
Quote:
boom tish I've spent a couple of hours trying to achieve the same result using haxe stream from nsv to haxe (nekovm) - check stream from haxe (nekovm) to flash - well ... there's data flowing, but no pic or sound, no errors either I think I need to solve the pickle matrix "If you don't like DNAS, write your own damn system" So I did |
|
![]() |
![]() |
![]() |
#19 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
http://www.adobe.com/devnet/flv/pdf/...t_spec_v10.pdf
YOu have to pull frame data out of nsv container and put it in flv container, and you need to parse the aac data to get time-span values for the frames. Then you need to serialize the flv data to rtmp packets. After that then you can create a rtmp port in haxe for flash player to connect to and after the flash player requests the stream, begin sending the data. ![]() |
![]() |
![]() |
![]() |
#20 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
Here is the rtmp spec you need to 'talk' to flash player.
http://www.adobe.com/devnet/rtmp/pdf...cation_1.0.pdf You have a long row to hoe, my friend. ![]() |
![]() |
![]() |
![]() |
#21 |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
|
yeah, the aac is proving to be difficult
not sure about the video either ... doesn't the handshake need to be "correct" for flash player to stream vp6 (and aac for that matter) anyway - I don't think I have the handshake quite right oh, the rtmp side of things is all fine the AAC sequence header thing has me totally going round the bend at the moment - my linux box died a horrible death, much of my aac "knowledge" was on it ![]() "If you don't like DNAS, write your own damn system" So I did |
![]() |
![]() |
![]() |
#22 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
Hmm really, you are parsing nsv in to flv?
Wow, good job, although I figure you still have a couple months to go.... There are quite a few project out there to copy from, so maybe sooner, but I expect later if at all. Prove me wrong ![]() |
![]() |
![]() |
![]() |
#23 | ||
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
|
Quote:
Currently, I'm successfully processing the incoming NSV, identifying in each frame the aux data (ignored for now), video data and audio data - that was easy - I could at this stage very easily output raw VP6 data and raw aac data (actually, it's ADTS, but that's another story) Quote:
My main concern at the moment is trying to ascertain if I have the handshaking right "If you don't like DNAS, write your own damn system" So I did |
||
![]() |
![]() |
![]() |
#24 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
Im talking about handshaking. As far as nsv->flv, unless anyone else is holding back, Im the only one with it and offering to set it up. Hell, we are the only ones who know what it is.
|
![]() |
![]() |
![]() |
#25 |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
|
doesn't someone already offer it ... streamsolutions, http://www.streamsolutions.co.uk/audio/flash
"If you don't like DNAS, write your own damn system" So I did |
![]() |
![]() |
![]() |
#26 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
audio only.
I am the only one supporting video |
![]() |
![]() |
![]() |
#27 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
I think they use wowza, and red5 is the only one relaying video.
|
![]() |
![]() |
![]() |
#28 |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
|
ugh ... this is just way too much like real work!! I'm sure my issue is the handshake ... but I'm sure I've duplicated red5's handshake "authentication" - barely any different from what I had - there's just no indication if the handshake is "working"
![]() "If you don't like DNAS, write your own damn system" So I did |
![]() |
![]() |
![]() |
#29 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
It is very clear what the rtmp spec says to do. You should be using that instead of copying red5.
What is even harder than the handshake and connection is the serialization to rtmp. |
![]() |
![]() |
![]() |
#30 | ||
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
|
[QUOTE]Originally posted by Smelter
Quote:
Quote:
"If you don't like DNAS, write your own damn system" So I did |
||
![]() |
![]() |
![]() |
#31 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
Sweet! good job!
Rockin a haxxe version is killer. |
![]() |
![]() |
![]() |
#32 |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
|
Amazing, I tried doing this months ago, but gave up
Just reading that you actually succeeded was incentive to try again "If you don't like DNAS, write your own damn system" So I did |
![]() |
![]() |
![]() |
#33 |
Moderator
Join Date: Apr 2003
Location: www.ScenicTelevision.com
Posts: 2,976
|
PicoStreamer can be used to stream both shoutcast compatible AND flash video. It is also open source.
www.vinz486.com/portal/ PicoStreamer could be used as a alternative to Red5 for "stream converting" NSV -> Flash and output the stream to a flash player. Scenic Television is your ambient window to the world - - www.ScenicTelevision.com |
![]() |
![]() |
![]() |
#34 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
yeah, but the data paths for those two functions are quite different. the flash part uses a flash encoder, and the shoutcast stuff doesnt parse nsv content.
I looked at that two years ago. |
![]() |
![]() |
![]() |
#35 |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
|
Well, I'm stumped
Video was easy Audio is proving to be annoying, I got the timing perfect and everything "If you don't like DNAS, write your own damn system" So I did |
![]() |
![]() |
![]() |
#36 | |
Member
Join Date: Jul 2006
Location: Italy
Posts: 93
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#37 | |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
|
Quote:
and then you'd have to poke a skewer in your eye socket, and scramble your brains a bit to understand my code ![]() "If you don't like DNAS, write your own damn system" So I did |
|
![]() |
![]() |
![]() |
#38 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
And then after that, they need to learn how to start a Haxe process/server.
Oh yeah, dont forget to make the 'pause' and 'play' work too. ![]() |
![]() |
![]() |
![]() |
#39 | |
Member
Join Date: Jul 2006
Location: Italy
Posts: 93
|
Quote:
|
|
![]() |
![]() |
![]() |
#40 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
nope. I personally am not working on it.
I contributed vp6+aac and there are no funds to support the development. If I discount all the work I did writing the java nsv parser and everything else up to two weeks ago, just for making it work in red5 took more than 40 hours. That was a big chunk out of the time I was able to spend earning cash as a freelancer. Now I'm behind for billable in the month of august... Oh well, I dont care... getting aac audio was well worth it! Sorry,cant afford to work on h264. |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|