Actionscript 3.0 :: Streaming A H.264 Video From Red5 To A Flash Client?
Apr 18, 2010
I´m having problems with h.264 in Flash. My idea is streaming a h.264 video from Red5 to a Flash client with ActionScript 3 or 4. The original code supports streaming video in .flv format with Sorensen and I would like to support .flv format with h.264 encoding.This is my original code:
play_btn.play_symbol_txt.background = false;
stop();
isPaused = true;[code]............
View 2 Replies
Similar Posts:
May 22, 2007
I now have managed to get the red5 server up and running and ive been using the samples to stream my webcam live from one computer from another and it works fine.Now to step 2. Making a custom client that autoconnects to my live feed.
View 1 Replies
Feb 20, 2011
I'm getting to work with with red5 and am trying to make a basic app that will stream a random video to the client. Let's say I have 3 flvs on my server, I'd like a client to connect to my red5 app and have 1 of these 3 videos streamed to them. The only streaming i've been able to figure out so far uses netStream.play("video.flv"), this doesn't work for me, I want the server to decide on the file to stream rather than the client.
View 1 Replies
Nov 22, 2010
I just met a piece of error log when I was trying to resume the paused mp4 streaming. Here is the log from the server:
[INFO] [NioProcessor-1]
org.red5.io.mp4.impl.MP4Reader - Frame
position was not found for timestamp:
92000
I'm using Red5 newest 0.9.1 final for mac os x to stream the H.264/AAC encoded MP4 file to my flash app.
And there's no problem when I'm resuming the .flv file.
View 1 Replies
Jun 9, 2010
Is it possible to capture/encode a video file on a slow machine, then upload it live to a Red5 or Adobe Streaming server, and have that server stream to file live to flash clients? If so, what protocol is used to stream the data from the encoding machine to the Red5 / Adobe server? I see a lot of things about RTMP, but am I correct that this protocol is used between Streaming Server and Flash client, but not from encoding machine to Streaming Server?
View 1 Replies
Aug 3, 2010
I've just finished putting together a basic flash video chat client that publishes the camera to a stream and receives a similar stream from another client.The streams are being pub/sub'd to the "oflaDemo" that ships with Red5.This seems to work fine for my prototype, but I'm concerned about having to use something with "demo" in the name if I were to roll this chat application into production. It seems that the alternative is to essentially re-write that demo, perhaps with a few more features, which doesn't seem right in order to take advantage of one of Red5's core functionalities.
So, my question is: what is standard/best practice for production live streams in Red5? Is the oflaDemo used? Do custom stream brokers have to be written? If I don't host it myself, do most hosts have their own (production-quality) version of oflaDemo?
View 1 Replies
May 1, 2011
Am building a video chat application and i was wondering if there are any native events for the NetStream that fire,that can help in detecting when a remote client starts/stops streaming video over his outgoing stream (NetStream) to which the other client has subscribed over P2P/RTFMP in AS3 ?I maybe able to dispatch custom messages since the two clients are already connected, but i don't want to add the extra overhead.
View 1 Replies
Jan 4, 2010
I'm trying to connect from adobe flash builder 4 beta to red5 v0.9 rc2 (latest svn).
[Code]....
View 1 Replies
Jan 24, 2010
I am trying to make simple chat program using red5 server using flex builder 3.I am using eclispe galilio 3.5 for server side code.i have installed jdk 1.6 update 14 and apache ant 1.7.1.when i am running demo program already in red5 then its fine!. but my own code is giving
NetConnection.Connect.InvalidApp
NetConnection.Connect.Closed
or
[code].....
View 3 Replies
Dec 11, 2009
I am trying to make simple chat program using red5 server using flex builder 3.I am using eclispe galilio 3.5 for server side code.i have installed jdk 1.6 update 14 and apache ant 1.7.1.when i am running demo program already in red5 then its fine!. but my own code is giving
NetConnection.Connect.InvalidApp
NetConnection.Connect.Closed
or
NetConnection.Connect.Failed
error.when i try (test is red5 demo code )
nc.connect( "rtmp://localhost/test" ,true);
code then its working.but when i put my folder(firstapp) name in place of test then giving same error.
View 1 Replies
Feb 7, 2012
I installed red5 successfully, but when I try to connect to red5 to stream a video, the connection fails. If I use netstreaming(null), it works, but when I use red5, it doesn't.
[Code]...
View 1 Replies
Oct 28, 2011
I wish to build an application using which I can record video (along with audio) and also audio (only audio preferably in mp3 format). From some research I did, I found I need a client app in flash or flex, a RTMP Server (RED5 preferable as its free) This is the code which I used to get cam working flash.
var camera:Camera = Camera.getCamera();
var video:Video = new Video();
video.attachCamera(camera);
addChild(video);
The problem is, I don't know how to send the stream to RED5. Also, what do I need to do so that I can store the video according to the user. The website I am creating is in PHP/MySQL and need to have their own videos and audios recorded. I love the way facebook has integrated Video Recording.
View 1 Replies
Mar 17, 2010
I am trying to build a client-to-client streaming program - client 1 has a webcam and client 2 will connect to client 1 and be able to view the webcam. Is this possible using 2 swf clients? Can someone point me in the right direction as to what commands would be used to connect the two clients. I have tried: binary sockets Connect() where each clients points to the other and they both time-out NetConnection to try to point each client to one another to establish a connection, but no luck with that either; this seems more oriented towards streaming content to a flash media server rather than to another flash client.
View 1 Replies
Jul 2, 2010
I'm trying to send a video stream to a Red5 server using Flex.
My Red5 setup seems to work for remote method invocations and shared objects, but I've yet to succeed in getting video working.
This is the AS3 code that connects to Red5:
# connect to RTMP server
netConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
netConnection.connect("rtmp://localhost/context_name");
# omitted code for waiting for connection success, and setting up shared
[Code].....
As said, note that the Red5 setup works flawlessly for remote method invocations and shared objects, but not for video which is strange.
View 2 Replies
Feb 15, 2010
I am planning to create a video conferencing application finally in flash using RED5. But i don't know flash. Is there any readymade free video conference program available that i can directly integrate in my website? If not, then can anybody point me to from where should i start? Because gaining microphone and webcam access programmatically seems very daunting to me.
View 1 Replies
Apr 10, 2011
I am streaming flash video and the dimension of the video is 1280 by 720 (same size as the stage)
but just before the video streams, there is a quick flash of the video (about 320px by 240px) at the top corner of the stage, and then it plays the videos at the correct size (which is 1280 by 720) .... a quick flash is the best way I can explain it.
This is my code:
function clicked(event:MouseEvent):void {
var video:Video = new Video();
addChild(video);
[Code]....
is there anyway I can stop that quick flash of the video .... so when I click on the button, it just plays the video, at the correct size?
View 4 Replies
Jun 10, 2011
I want to play smooth streaming video from IIS using the flash video player like e.g. jw flash player instead of silverlight player?Which video format should I use in this case? Can flash then play e.g a video via smooth streming encoded with microsoft encoder?Do you know some alternative video players, that combines flash and silverlight functionality (selected per java script) to use with flash and silverlight?
View 1 Replies
Jan 30, 2004
I am trying to make a flash movie and have it find a external movie to show. I also need to be able to change the location of the video without flash, so I think I have to use a seperate .as file.
View 6 Replies
Sep 20, 2010
I have performance issues with my test web chat app - video playback is very slow on, around 1 frame per few seconds at 640x480, 15fps, quality: 90. Network usage is low (gigabit LAN), cpu's still have some headroom so it should be the software.
Quick description of my setup:red5 0.9.1; simple flash broadcast and subscribe derived from here [URL] and mr. accattato's videos; using oflaDemo on serverside.
Local image on the broadcaster is good.So far I guess flash broadcaster would be the most likely culprit, but here is my worst since I am new to flex. Red5 should not modify the stream I guess, and it doesn't make much sense for the subscriber to play only 1 frame per second.
View 1 Replies
Dec 8, 2009
How can I create video conference with flex in client side and using red5 media server on server side?
View 2 Replies
Apr 15, 2012
I am writing a Red5 application that provides 1-on-1 video chat to a Flash client over RTMP.
Unfortunately most tutorials I was able to find were sketchy at best and the documentation of Red5 itself tends to be vague when it comes to API concepts and intended usage.
In short, I am a bit stuck and looking for hints on Red5 ApplicationAdapter implementation. Gnarly details are as follows:
First of all, the connections come in two flavors: visitors and consultants. A visitor should be able to indicate which consultant it wishes to communicate with. A consultant simply gets connected to the requesting visitor as long as the consultant is not busy servicing another. Obviously, every RTMP connection has two-way traffic: both sending and receiving video. From the standpoint of the server, connections bring in a bunch of video streams that get their receiving endpoints assigned by request. Since several video conversations can be in progress simultaneously, the main task of the application is to handle the mapping of visitor streams to consultants and provide a list indicating each consultant's state (busy/available) via AMF.
So, all in all, I have a pretty good idea what I am aiming for but how to achieve it with Red5 is still a bit of a mystery.
What is the easiest way to establish the connection type (visitor/consultant)? Which API classes should be used to implement a persistent, globally accessible list of active connections for reporting the state of each consultant? How to switch receving endpoints dynamically when the goal is to connect a specific visitor to the selected consultant?
View 1 Replies
Oct 31, 2010
I need a flash video player for our public site where users will share videos.The video usage model is similar to youtube as far as video part is concerned.Users will upload and share videos. Users will browse and play all shared videos as well.The videos will be streamed from the server and our app is a .NET/C#/JQuery application.We have 3 options:
1) Either buy a commercial flash player
2) Customize a open source player or use free player and customize its gui
3) Develop our own (time consuming and last resort)
I am required to find a flash video player with these requirements:
Player should work in all major browsers (IE, FF, Chrome, Safari)
Player should have way to inject Advertisement clips when playing a video file
Light weight and easy to integrate
Must support streaming and scale
Plus all other basic features of a flash video player.
View 1 Replies
Apr 11, 2011
Possible Duplicate: Flash video player for video streaming.is there any good and open-source video player to be embed in as3, no flex, html, and js.i tried
f4player.org
https:[url]....but i found tons of bugs,if you know any comercial player, that would be awesome too.
View 1 Replies
Dec 21, 2011
I am using a red5 server. I am doing a two way video conference using flex application. My current red5 server is storing both streams as different flv files.
now i have done some editing and have saved these edited files as one with video stream
[Code]...
View 1 Replies
Feb 26, 2011
I'm looking for a flash script/library to capture video and audio from a webcam and then somehow get a saved flv to my encoding server. I'm not looking for something that will host the videos for me. I just need something simple to capture and then upload. I really want this to be open source and free.
I've done a fair amount of searching and it seems that most of what i can find is either a full blown service with hosting, or the red 5 suite. I've been trying for a day to get something going on with Red5, but honestly I haven't done any flash or java development in over 6 years and this seems way too complicated when all i really want is a flash object i can stick on a webpage.
View 2 Replies
Aug 30, 2010
What if I access video delivered through media streaming server on IPAD client. Does it supports?
View 5 Replies
Jun 23, 2011
I had a question about RED5 & Adobe... Does anyone know if it is possible to broadcast multiple video chats using Adobe flash player from "RED5 flash server"?
View 2 Replies
Mar 26, 2012
I'm trying to make a simple video chat using Flex framework and red5 server. It's an application with 2 video displays. With connection to the server more or less figured out. However, I do not understand how to transfer user1 stream to user2.
Here is functions i use to transfer webcam image to the server and to get the stream.
[code]...
View 1 Replies
Jul 19, 2010
I'm looking to duplicate the video-embedding technique shown on [URL], whereby they show the flash video to all platforms where flash is available, and only show the HTML5 player on mobile devices. (specifically, iphone / ipad)
Is there a browser-sniffing framework, or some other method available to accomplish this?
View 2 Replies
Oct 28, 2009
I'm creating an app where users can take a video of themselves with their webcams and upload it to our server. Any way to compress video from within flash before an upload? I found On2's Flix Publisher, but it is ridiculously expensive, and requires an additional plugin.
View 1 Replies