Recording modified webcam videos

Hi there,
Is there a possibility - instead of attaching a camera [via
ns.attachcamera()] to a netstream - to "attach" e.g. BitmapData to
netstream. The reason is, that I use BitmapData's .draw method to
get the webcam video in order to change it, such as with the
.treshold method. And I want to record and save these altered
bitmaps (as a video) on the FMS instead the original webcam video.
This URL gives a good example what I mean!! ...
http://www.adobe.com/devnet/flash/articles/webcam_motion.html
Two videos are shown, the left one is the original from the
webcam, the right one the "modified" video. Only the modified video
shall be recorded via the netstream .publish method.
Thanks for any help.

Hope someone answers you.... I have the exact same question.
JJ

Similar Messages

  • What's the best way to record live webcam video with Premiere CS6?

    We are producing an online news show and will interview guests from all over the country. We will have them phone in using Skype and or their IPad. We would then do all of the post in Premiere. We would like to capture guest video from either Skype or an iPad using Premiere. Any suggestions for camera/software combinations will be appreciated. Thank you in advance.

    I would not attempt to use Premiere Pro to capture live video. There are better ways.
    Perhaps a screen capture utility that records to a lossless codec that is easily edited in Premiere Pro.
    I use a free program (CamStudio-Recorder) but there are others. Since I have the drive space, I record to the Lagarith Lossless Codec. Premiere Pro cuts through it like a hot knife through butter.
    If quality is not the issue, then there are other codecs you can use that are lossy, but still not too bad.

  • Webcam Video pauses when recording sound from microphone

    I have a strange problem which i am encountering when recording and playing back webcam video.
    I am developing a small application for recording webcam video and audio using FMS and playing it back later from FMS.
    I am using AS 3.0, FMS 3.5 and flash CS 5.5
    When i record only the video from webcam without sound from microphone the playback is fine. But when i record microphone sound also along with the video, and when i playback the video pauses right where the sound starts for 10 sec or more and then it starts playing. Towards the end the video pauses again and only the sound goes on till the end.
    I tried setting the buffertime to 50 before ns.publish and ns.play but that didnt help either.
    I tried using the flvplayback component and even their it pauses.
    Any help is appreciated.

    Haha, that is such a genius use of common sense! Thank you, I didn't think of that. I certainly will!
    However, does anyone know if there is a way of adjusting the program of garageband to fix this issue? Using headphones certainly fixes the symptoms of my problem, but it doesn't actually address the root cause: garageband should only be recording the input through the microphone. I shouldn't need to wear headphones. (And doing so inhibits my ability to clearly hear myself play, and stay in tune.)

  • Record from webcam to f4v on FMS

    I'm trying to build / modify an application to record from webcam and microphone, in a web browser and save it to an FMS 5.4.2 server to stream via web and iOS
    recording as a flv file works fine and it plays back just fine in firefox / any browser
    I can steam f4v files over http as filename.f4v.m3u8 and that works fine with the samples that come with FMS from my record folder (/opt/adobe/fms/applications/record/streams/)
    My flash web application can record to the FMS server, the file it records has the .f4v file extension, has content (i see the file size), and has time in quicktime (4 or 5 seconds - just a test) but it doesn't play - the screen is black and never starts.
    I know i'm right on the edge of figuring this out, I just don't know what I'm missing or whats wrong (i'm a php programmer, not action script)
    any ideas ?
    here is the code i'm working with:
    package com
        import fl.controls.ProgressBar;
        import fl.controls.ProgressBarMode;
        import flash.display.MovieClip;
        import flash.events.Event;
        import com.NetConnector
        import flash.events.MouseEvent;
        import flash.events.TimerEvent;
        import flash.media.Camera;
        import flash.media.Microphone;
        import flash.media.Video;
        import flash.net.navigateToURL;
        import flash.net.NetConnection;
        import flash.net.NetStream;
        import flash.net.URLLoader;
        import flash.net.URLLoaderDataFormat;
        import flash.net.URLRequest;
        import flash.net.URLRequestMethod;
        import flash.net.URLVariables;
        import flash.text.TextField;
        import flash.utils.setTimeout;
        import flash.utils.Timer;
        import flash.media.H264Level;
        import flash.media.H264Profile;
        import flash.media.H264VideoStreamSettings;
        import flash.media.VideoCodec;
         * @author Alexander (flash2you) < >
        public class Recorder extends MovieClip
            private var dataHolder:DataHolder = DataHolder.getInstance()
            public var layer:MovieClip
            public var activityLevel_pb:ProgressBar
            public var aguja:MovieClip
            public var aguja2:MovieClip
            public var publishButton:MovieClip
            public var timer_txt:TextField
            public var recordStatus:MovieClip
            public var recordBtn:MovieClip
            private var netStream:NetStream
            private var microphone:Microphone = Microphone.getMicrophone()
            private var camera:Camera = Camera.getCamera()
            public var  video:Video
            private var timer:Timer = new Timer(100)
            private var clockTimer:Timer = new Timer(1000)
            public var published:Boolean = false
            private var isRecording:Boolean = false
            private var minutero = 0;
            private var crono = 0;
            private var records = 0;
            public var settings_mc:MovieClip
            public static var recorder:Recorder
            public var settings_icon:MovieClip
            private var limitTimer:Timer
            public function Recorder()
                Recorder.recorder = this;
                timer.addEventListener(TimerEvent.TIMER, on$timer)
                clockTimer.addEventListener(TimerEvent.TIMER, on$clockTimer)
                //visible = false
                recordBtn.buttonMode = true
                recordBtn.addEventListener(MouseEvent.CLICK , recordBtn$click)
                recordBtn.addEventListener(MouseEvent.MOUSE_OVER, recordBtn$over)
                recordBtn.addEventListener(MouseEvent.MOUSE_OUT, recordBtn$out)
                addEventListener(Event.ADDED_TO_STAGE, onAddedToStage)
                limitTimer = new Timer(dataHolder.timelimit * 1000);
                limitTimer.addEventListener(TimerEvent.TIMER, onLimitTimerHandler)
            private function onLimitTimerHandler(e:TimerEvent):void
                 stopPublish()
             *  when we comes to second frame
            private function onAddedToStage(e:Event):void
                removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
                init()
             *   function for set up camera from settings module
            public function setCamera(_camera:Camera) {
                camera = _camera
                addCameraSettings()
                video.width = 1280;
                video.height = 720;
                video.attachCamera(camera)
                if (netStream){
                    netStream.attachCamera(camera)
            public function setMicrophone(mic:Microphone) {
                microphone = mic;
                if (netStream){
                    netStream.attachAudio(microphone)
                addMicSettings()
            private function addMicSettings() {
                microphone.setUseEchoSuppression(true);
                microphone.setSilenceLevel(1)
            private function addCameraSettings():void
                camera.setMode(1280, 720, 25);
                   camera.setLoopback(true);
                   camera.setQuality(0, 100);
            public function init() {
                startConnect()
             *  main function for connection
            private function startConnect() {
                visible = true
                timer_txt.htmlText = "<b>00:00</b>";
                initCamera()
                initMicropone()
                var nc:NetConnection = new NetConnection()
                nc.connect(null)
                netStream = new NetStream(nc)
                netStream.attachAudio(microphone)
                video.attachCamera(camera)
                layer.visible = false
                publishButton.gotoAndStop(1);
                activityLevel_pb.mode = ProgressBarMode.MANUAL;
                recordStatus.gotoAndStop("noRecord")
                timer.start()
                connection.addEventListener(NetConnector.CONNECTED, connectionComplete)
                connection.startConnection()
            public function get connection():NetConnector {
                return dataHolder.connection
            private function on$timer(e:TimerEvent) {
                activityLevel_pb.setProgress(microphone.activityLevel, 100)
             *  when connection to your stream server done
            private function connectionComplete(e:Event = null) {
                netStream = new NetStream(connection)
                netStream.attachAudio(microphone)
                netStream.attachCamera(camera)
             *   add 0 if less then 10secs
            private function addLeading(nbr) {
                if (nbr<10) {
                    return ("0"+Math.floor(nbr));
                } else {
                    return (Math.floor(nbr).toString());
             *   update visible clock, rotate arrows
            private function updateTimer() {
                timer_txt.htmlText = "<b>"+addLeading(crono/60)+":"+addLeading(crono%60)+"</b>";
                aguja.rotation = aguja.rotation+6;
                if (addLeading(crono/60)>minutero) {
                    aguja2.rotation = aguja2.rotation+6;
                    ++minutero;
                // end if
                ++crono;
            private function on$clockTimer(e:TimerEvent):void
                updateTimer()
            private function startClockTimer() {
                clockTimer.start()
             *  update graphics and start recording
            private function recordBtn$click(e:MouseEvent):void
                if (!isRecording) {
                    startRecording()
                    recordStatus.gotoAndStop("record")
                    recordBtn.visible = false
            private function recordBtn$over(e:MouseEvent):void
                if (!isRecording) {
                    this.gotoAndPlay(65);
            private function recordBtn$out(e:MouseEvent):void
                if (!isRecording) {
                    this.gotoAndPlay(61);
            private function startRecording() {
                if (connection.connected){
                    netStream.publish("mp4:" + dataHolder.filename + ".f4v", "record");
                isRecording = true
                startClockTimer()
                publishButton.gotoAndPlay(2)
                publishButton.buttonMode = true
                publishButton.addEventListener(MouseEvent.CLICK, publishButton$click);
                limitTimer.start()
             *  redirect to finishURL that was passed via flashvars
            private function publishButton$click(e:MouseEvent):void
                stopPublish()
                var request:URLRequest = new URLRequest(dataHolder.finishURL)
                navigateToURL(request, "_self")
            private function stopPublish():void
                netStream.close();
                connection.close();
                limitTimer.stop();
                clockTimer.stop();
                isRecording = false
                recordStatus.gotoAndStop("recordEnd")
                updateTimer();
             *  init microphone
            private function initMicropone():void
                microphone = Microphone.getMicrophone()
                addMicSettings()
             *  init camera
            private function initCamera():void
                camera = Camera.getCamera()
                addCameraSettings()

    Hi,
    Thanks for the details
    First, the quality of the feed we get to the flash player and FMS is highly limited by the capabilities of the webcam that the users have beyond which we cannot improve the quality.
    Next, flash player can encode good quality and hence you should probably find more stuff related to how best you can ingest video from a webcam on to the flash player.
    - Does recording from server side with asc script will increase the quality ?
    No, FMS does not do any type of transcoding/re-encoding stuff. All it does is to 'transmit' and in your case, to flush bits to the disk. So, unless FMS recieves 'Quality', it cannot do much.
    - what configurations files on the server can i adjust to increase the recording quality ?
    From above, it flows that, there are no configurations on the server that can make your quality grow. The configurations are more to do with delivery. It can be tweaked to improve streaming, reduce latency, quick start and more.
    - is there a way to cache locally the stream if the bandwith is not high enough, and when the user stops recording, upload it to the server (it doesn't have to be live or broadcast).
    I don't think flash player can do this.
    Thank you !

  • How to record from the video in or S-video Ports on Qosmio G40?

    Can anyone tell me how to record from the video in or S-video ports, because i've tried the Ulead DVD factory program and the only capture device it could see was the webcam, and it did capture from it
    After that i've downloaded the update file that was provided by the support website
    The devices that the program could see are the TV tuner and the webcam (which it couldn't access anymore for some reason)
    After that i've downloaded a newer update which simply is the same as the last update and seems that someone in the support website directed the link of the new update which they don't have to the file of the previous update which doesn't really do anything.

    Hi
    There are 2 s-video ports; s-video out port is not designed to capture the signals from any external source. The name of this port says everything; its an OUT port!
    The s-video-in port must be placed at the right side of the notebook. Dont mix the both ports. But note; this port receives only the video signals. To hear the sounds, use a video cable to connect the sound terminals of the audio device and your computer.
    Red: sound right channel
    White: sound left channel
    The Ulead DVD Movie factory can be used to capture this signal.

  • Webcam video streaming question

    Hello,
    Before I buy the Flash Media Server, i would like to know that:
    - is it possible to crop the webcam video (because I need just one part of the whole picture) before streaming from the client's Flash Player to the Media Server? (it would reduce the bandwidth a lot)
    - if not, can the player store some parts of video until it is fully streamed with all it's data (30 fps) to the Server? (e.g: client: low bandwidth, i need all frames that the webcam records, real-time doesn't matter if it takes 1 minutes for 20sec video, that would be ok.
    Thanks,
    Peter

    It is not possible to crop the video in the flashplayer. You can use the Camera.setMode method with the favorArea flag set to true to force an unsuppored resolution, but that often results in lowered image quality.
    You can't store video locally, but you can increase the buffer in efforts to minimize frame drops (see the bufferTime property of the netstream class). When using a publishing buffer, the Flashplayer will only start dropping frames when the buffer is full. I've never tried using a buffer of more than 10 seconds on a publishing stream, so I don't know if there is an upward limit (nothing in the docs about that). That said, if the user does not have sufficient bandwidth to publish in real time, frames will start dropping eventually... no way to completely avoid that AFAIK, other than reducing the publishing bitrate.

  • Recording audio without video

    Is there any way to record live audio from a mic and
    streaming it through FMS without having to have a webcam plugged
    in? Is there way to use another video source other than a webcam,
    such as an existing flv?
    thank you.

    Sure... you can record audio without video. It's the same as
    recording both... just don't attach the camera to the netstream.
    As for adding another video image... that one you can't do.
    You can only play once source over a stream, so video from one
    source and audio from another can't be played across a common
    stream.

  • HOW DO I RECOVER A WEBCAM VIDEO FILE DELETED BY ACCIDENT?

    HOW DO I RECOVER A WEBCAM VIDEO FILE DELETED BY ACCIDENT? I RECENTLY PURCHASED  SATELLITE  L775D-S7340 RECORDED MOTHERS BIRTHDAY PARTY WITH WEBCAM MORE THAN ONE HOUR WHEN I WAS DONE I CLICKED STOP REC BUTTON IN MENU IT FLASHED IN RED E.G. 1:00:05 THREE TIMES BUT VIDEO WAS NOT IN ALBLUM? PLS HLP.

    You can recover deleted video files from webcam with webcam recovery software, take a look at this guide:
     webcam data recovery
    Take note that you'd better stop using the webcam before you get back deleted files.

  • Finding webcam video

    Hello Mr. Romano: Since the Oct.20,2013  1:45 PM reply from you I have been very happy. After yesterday not so much. I edited my Logitech webcam video and when I was finished for the day I clicked File and clicked SAVE AS. I normaly click SAVE but I thought SAVE AS would be safer. Well the name of the file changed from George Bio. #1 WMV to George Bio. #1 PREL.When I load it into Premier  Elements 10 the monitor and all the panels in the Sceneline and Timeline are a dark red. They used to be a yellow color and it worked. Now I can click on the (red) monitor start arrow and the timer runs but nothing shows. There is a George Bio. #1 WMV icon in the Organizer but the computer cannot activate it. Do I have to start all over or can this be fixed? Also can you please advise. If I make a new video and run it thru  Windows Movie Maker and get a video with George Bio. #1 WMV , what should be the correct New Project settings? The webcam records in HD 1080.  Thank you for any help.    George

    George
    Let us start with the last question
    If I make a new video and run it thru  Windows Movie Maker and get a video with George Bio. #1 WMV , what should be the correct New Project settings? The webcam records in HD 1080.
    You will need to check this out, but it looks like your webcam video is 1080p30 (that is 1920 x 1080 @ 30 progressive frames per second). If you imported that into Windows Movie Maker and wanted to export it as 1080p30, when you got to Save Movie,
    a. first see what the program wants to give you under Recommended Settings...if it looks like 1080p30, go with that setting.
    b. if Recommended Settings did not look correct, then go down the list to where it says Create Custom Setting and do just that, making sure to include in your custom setting
    Frame Width 1920
    Frame Height 1080
    Frame Rate 30 frames per second
    Now if you wanted to take the export 1080p30 wmv file and import that into Premiere Elements 10, then
    a. Set the Premiere Elements 10 project preset = NTSC/DSLR/1080p/DSLR 1080p30
    b. Then use Get Media/Files and Folders to bring your 1080p30 wmv into the project.
    Now for this saving matter....lots of possibilities...
    Given you had the George Bio #1. wmv on the Timeline of your Premiere Elements 10 project (this project otherwise known as a project file named project.prel). What you have is a Premiere Elements 10 project which includes a copy of your wmv video file (not the original) that traces back to the original on the hard drive.
    When you opened the new project, the save for that project was set in the new project dialog where you set the project preset. The project (project.prel) with the video inside it is found in the new project dialog save location.  And that is where the saved closed project would be automatically when you saved closed the project.
    However, you decided to Save As before the Save or in place of the Save, two leading possibilities are:
    a. you over wrote the original project prel file
    b. you now have a version of that project.prel in two different places
    In all this, you should not have lost the original George Bio#1 WMV. That should be on the computer hard drive where you saved it before Premiere Elemens entered into all this.
    Do you remember changing the file name and/or location for the project.prel when you did the Save As?
    Let us start here and then see what we can put together to get beyond these setbacks.
    Minor setback. We will be back on track again.
    ATR

  • 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 server will be needed, but how do I go about
    recording a webcam in flash and linking it with flash media server?
    Any help would be much appreciated
    thanks
    Gavin

    Thanks!,
    have found this code in the documentation, but having a
    slight problem
    The following example shows how to publish and record a
    video, and then play it back.
    /* This script publishes and records video.
    The recorded file will be named "allAboutMe.flv". */
    var my_nc:NetConnection = new NetConnection();
    my_nc.connect("rtmp://localhost/allAboutMe/mySpeech");
    var publish_ns:NetStream = new NetStream(my_nc);
    publish_ns.publish("allAboutMe", "record");
    publish_ns.attachVideo(Camera.get());
    /* This script plays the recorded file.
    Note that no publishing stream is required to play a recorded
    file. */
    var my_nc:NetConnection = new NetConnection();
    my_nc.connect("rtmp://localhost/allAboutMe/mySpeech");
    var subscribe_ns:NetStream = new NetStream(my_nc);
    subscribe_ns.play("allAboutMe");
    my_video.attachVideo(subscribe_ns);// my_video is a Video
    object on the Stage.
    For this line
    my_nc.connect("rtmp://localhost/allAboutMe/mySpeech");
    I am having trouble with the location, what do I need to put
    in here?, When I entered admin details for fms2 I didn't enter a
    server address?, what needs to go in there? and is that meaning
    this code won't work at the moment?
    thanks
    Gavin

  • Record a webcam session?

    What program can I use to record a webcam session? (recording someone else's webcam while we are connected)

    I would also like to see video capture in AFCS. It would be preferable to record on my server because of the expense on the adobe side and the difficulties of doing any manipulation.
    For the greatest depth of function I would like to see the recording of whole containers or screen. For example if I has a canvas with 4 cameras and whiteboard. The recorder would record all that takes place within, be it one stream or five. Other items could be contained with the canvas such as a clock and a list of users present.
    The recorder could be expanded to capture the whole screen if needed.
    There are huge possibilities for such a function. Recording sales pitches for training purposes, recording the minutes of meetings or brainstorming sessions etc.
    Thanks, Keith

  • Recording high quality video using a local buffer with FMS 3.5

    Hello, I'm currently working on a webcam recorder to record high quality video. I had the recorder working before, but the video quality was quite poor. Instead I'm trying to use a client side buffer and then upload the buffer after recording has stopped. I thought after I unattached the video and audio from the NetStream that either a NetStream.Buffer.Empty or NetStream.Record.Stop event would be sent when the buffer was finished uploading. What is actually happening after I start recording is two NetStream.Record.Stop events are being sent in a row, so recording never really happens. Also, on the server side I'm trying to save a user name and password into a variable, but I'm not sure how to go about doing that since the application script is just a bunch of callback functions. I hope someone has done something similar so they might be able to help...

    Here is the client application; it's quite messy because I'm just testing things at the moment, but the functions causing the problem are probably onNetStatus, recordButton_clickHandler, and stopRecButton_clickHandler.
    http://pastie.org/private/vpk6naojmvagikgxkaffha
    Here is the server-side application, as you can see I commented out the variables and the code using them.
    http://pastie.org/private/gp5loh1wowbzvtusspxg
    I hope my code isn't unreadable. Ask me to clarify anything if you don't understand the code. Thank you.

  • We are evaluating the use of iPod touch devices to record best practice videos on our manufacturing floor and to post to an internal Moodle web site. How can you upload a video from the iPod touch to a site other than YouTube?

    We are evaluating the use of iPod touch devices to record best practice videos on our manufacturing floor and to post to an internal Moodle web site. How can you upload a video from the iPod touch to a site other than YouTube? The Moodle upload interface is expecting a file selection dialog box like windows or OSX. I do not want to have to go through an intermediary step of messing with a pc.
    Thanks!

    It should be around 7 and a half gigs. In iTunes, across the bottom there should be a bar that show how much storage is being used and by what. (music, movies, apps, etc.) To make music take up less room, you can check the box to make it convert the music to 128kbps AAC. This lowers the quality, but with most earbuds and speakers, you can't even tell the difference.
    The iPod touch has parental controls built in. You'll find them in Settings. I think they only work for enabling/disabling Safari, Mail, YouTube, and App Store. Here's an app that does more: http://www.mobicip.com/online_safety/ipod_touch

  • I recorded a 8min video on my brand new ipod touch 4g 9 gigs,i had .9gs bef

    i recorded a 8min video on my brand new ipod touch 4g 9 gigs,i had .9gs before the vid,after i was done recording it,it said it saved it,but its not in my photos but it took up the memory im down to .3gs now in itunes it says i have 281 photos but on my ipod i have around 278 ***

    Are you saying you can't find the video in your iPod Touch, or you can't find it in iTunes? Because iTunes doesn't save any videos from your camera roll, you have to go into the device from your computer and drag it to your computer.

  • Hi, i get the error -49 when trying to Export a Movie edited in iMovie and recorded with Elgato Video Capture anyone know why i get this Error and can help me?

    Hi, i get the error -49 when trying to Export a Movie edited in iMovie and recorded with Elgato Video Capture anyone know why i get this Error and can help me?

    Read this
    http://support.apple.com/kb/ts1583

Maybe you are looking for