Ask a Question related to Macromedia Flash Flashcom, Design and Development.
-
simanta-int #1
Recording a Flash Video from Webcam
Hello All,
I am currently working on a project which requires to record a video stream
from a WebCam. The work is pretty similar to [url]www.flixn.com[/url]. I am able to
capture the video from the Webcam but is unable to record it . Can anyone help
me to get this done.
Thanks in advance.
Regards,
simanta-int
simanta-int Guest
-
Recording Flash Video Chats
I are trying to archive our live chats. Recording them has not been a problem, but I don't like where they are saved. I want to save them in a... -
Help recording a webcam
Hi, I am planning on creating an application that will need webcam activity recorded and then uploaded to a database, I know that flash media... -
Webcam video recording bandwidth
hi all, When capturing a webcam feed using FMS - is there any loss of information during the upload process? If my client has a limited uplink... -
Is Flash Player Video and Audio capture from a webcam possible?
I have the exact same question. Is it possible to capture video and audio without communicatons server? -
Is Flash Player Video and Audio capture from a webcam possible?
I have the exact same question. Is it possible to capture video and audio without communicatons server? -
JayCharles #2
Re: Recording a Flash Video from Webcam
Not really enough to go on there. Can you post the code you're having trouble with or explain the problem in a little more detail?
JayCharles Guest
-
Gauthier_dgp #3
Re: Recording a Flash Video from Webcam
hi, if you try :
var nc:NetConnection();
nc.connect("rtmp://myserver/myapp/");
var ns:NetStream= new NetStream(nc);
var c:Camera= Camera.get();
ns.attachVideo(c);
ns.publish("myvideo","record");
doesn't work?
Gauthier_dgp Guest
-
simanta-int #4
Re: Recording a Flash Video from Webcam
Basically,my purpose is to record the video from the webcam by clicking on the
"Record" button and stop recording the video when I clicks on "Stop" button.
Then on clicking the "preview" button it will play the recorded video.
Can I achieve the above job without using rtmp? I am new to FMS and I am not
getting any clue to solve this problem. Please, help me where I am making the
mistake in my below code.
// Capturing the Web Camera & Video
var my_cam:Camera = Camera.get();
myVideo.attachVideo(my_cam);
//Streaming and Recording the video
var rtmpNow:String = "rtmp:/localhost";
var nc:NetConnection = new NetConnection();
var ns:NetStream = new NetStream(nc);
nc.onStatus = function(info) {
if (info.code == "NetConnection.Connect.Success") {
status_txt = "Connected";
} else {
status_txt = "No Connection";
}
};
nc.connect(rtmpNow);
function record() {
if (record_btn.label == "Record") {
record_btn.label = "Recording";
ns.attachVideo(my_cam);
ns.publish("simanta", "record");
trace("record video");
} else {
ns.close();
record_btn.label = "Record";
}
}
function stoprecord() {
if (stop_btn.label == "Stop") {
stop_btn.label = "Stop";
record_btn.label = "Record";
ns.attachVideo(my_cam);
ns.publish(false);
trace("stop recording");
} else {
ns.close();
record_btn.label = "Recording";
}
}
record_btn.onRelease = function() {
record();
trace("gsjfjhf");
};
stop_btn.onRelease = function() {
stoprecord();
trace("qwqwqw");
};
simanta-int Guest
-
Gauthier_dgp #5
Re: Recording a Flash Video from Webcam
hi
var rtmpNow:String = "rtmp:/localhost";
you must create a directory in the flash media server applications directory .
ex: applications/videoTest/
after clientside
var rtmpNow:String = "rtmp:/localhost/videoTest/";
Gauthier_dgp Guest
-
jack_stanna #6
Re: Recording a Flash Video from Webcam
Hi there Simanta-Int,
I'm currently working on a University assignment where part of what i have to do is what your looking for...as you said you were lost, so am i. Is there any chance we could share code. Its non-profit what i am doing, and i will reference your work.
Thank you,
Jack
Junior Member
- Join Date
- Aug 2011
- Location
- Brisbane
- Posts
- 1



Reply With Quote


