Webcam recording problems

I am trying to record audio and video from the user's computer and upload it to a Flash media server.
The problem I'm having is that the audio doesn't start immediately even though the video does.  Also the video cuts off before the user has finished recording.  I am waiting for the netstream buffer to empty after the user clicks 'stop' so I'm not sure what the problem is.
Do I have to do anything else to 'finish' a recording?

I wrote a custom Flex application to publish the stream.  Most of the code I copied from Adobe examples.  To start the camera:
var camera:Camera = Camera.getCamera();
    if (camera != null) {
        camera.setMode(320,240,30,true);
        camera.addEventListener(ActivityEvent.ACTIVITY, activityHandler);
        video = new Video(camera.width, camera.height);
        video.attachCamera(camera);
        var spriteWrapper:UIComponent = new UIComponent();
        addChild(spriteWrapper);
        spriteWrapper.addChild(video);
    } else {
        Alert.show("You need a camera.");
The actual publishing part is here:
    nc = new NetConnection();
        nc.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
        nc.connect("rtmp://myserver.compute.amazonaws.com/jsd");
        var client:Object = new Object();
        client.onBWDone = function ():void { trace('on bw done'); }
        nc.client = client;
private function onNetStatus(event:NetStatusEvent):void {
    if(event.info.code == "NetConnection.Connect.Success"){
        cam = Camera.getCamera();
        mic = Microphone.getMicrophone();
        mic.rate = 22;
        ns = new NetStream(nc);
        ns.attachCamera(cam);
        ns.attachAudio(mic);
        ns.publish("camtest", "record");
    if (event.info.code == 'NetConnection.Connect.Rejected' || event.info.code == 'NetStream.Record.NoAccess') {
        Alert.show("Rejected");
        nc.close();

Similar Messages

  • Low resolution webcam recording on linux

    Hi,
    Webcam recording on 3 different ubuntu 10.4 pc. Will only show a low resolution view and recording. We have this problem with a self developed flash application. On mac and widows it works fine. The same problem as exist in the youtube webcam recorder (http://www.youtube.com/my_webcam)
    We tested it with different 10.3.* flash players.
    https://bugs.adobe.com/jira/browse/FP-2138
    https://bugs.adobe.com/jira/browse/FP-3309
    I think these two bugs relate to the same problem. But the are closed. There are some people still complaining the issue isn't fixed. As I have experienced.
    Thanks
    Marcel

    Hi Marcel,
    This bug (our internal number is 2589240) has been deferred for the initial release of Flash Player 11 but will be considered for future versions.  I've personally brought this up to our management team and I know that others are aware of it.  Since Jira is no longer used for Flash Player, and the bugs are closed, would you mind opening a new bug over at bugbase.adobe.com?  Once opened, I'd like to encourage everyone effected by this issue to vote and comment in the bug.  We use these votes to help determine priority for bug fixes in future builds.
    Thanks,
    Chris

  • Recording problem on my Xi-Fi Fatality?

    'Recording problem on my Xi-Fi Fatality?d So I have a Xi-Fi Fatality, and I would like to be able to record directly from my computer so that it's own output is also the input. For example, if I'm on ventrillo or something and I want to play a funny mp3 to show my friends I'd like to be able for the audio to come directly from the output.
    Anyways, my microphone seems to work fine, and that's where the trouble begins.
    I go to the sound control panel and click on the recording tab. ? It has microphone as the default device and it says "working."
    There are also options for "Auxillary" "Line-In" "Digital-In" and "What U Hear"
    However, under each of them it says "currently unavailable"
    I am unable to get any of them to function even when I set them to the default device.
    Is this normal?

    + It's funny you should post this because I came here right now to post the exact same thing. I would have posted earlier but I forgot my account information and had to wait to get a reply email.
    So... same here (yes I know this was no help).
    Actually this is kind of weird. Every now and then my "Aux 2" will become available and my mic is not. I have to restart my computer 4 or 5 times for my mic to become available.

  • Record Store only reads one record problem

    I have a problem where I can read and write a record to a records store, but i can not do this for multiple records as i am trying with below code. Any help is very welcomes thank you, I am very new to J2ME.
    I have a J2ME midlet that calls the startRecordStore() method which create a record 1.
    It uses a static int records and it increments it every time a new recordstore is created, well I am not entirely sure if i need to do this. Because I want to go through all the records created.
    public void startRecordStore() {
         // Incremenets records count
         // Temporary example for this workshop only
         records+=1;
         try { rs = RecordStore.openRecordStore("StudentStore"+records+"", true);
         catch (Exception err) {
              Alert alr = new Alert("Error Creating", err.toString(), null, AlertType.WARNING);
              alr.setTimeout(Alert.FOREVER);
              display.setCurrent(alr);
    }Then it calls the readData() method which reads the data from the 3 fields, something like this
    for(int i=0;i<count;i++) {
              ods.writeUTF(ReadDataString);
              ods.writeUTF(ReadDataString[i+1]);
              ods.writeInt(ReadDataInt[i]);
              ods.flush();
              // Put the whole write stream to a byte
              ReadDataByte = os.toByteArray();
              // finally add the fetchDataType to to a record store
              rs.addRecord(ReadDataByte, 0, ReadDataByte.length);
         os.reset();
         os.close();
         ods.close();
    Then the WriteData() method is called displaying the records
    PROBLEM it only displays the last record, instead of more then one record.
    eg. StudentStore1, StudentStore2 etc etc ..
    // create record enumerator referrence to the instance
         re = rs.enumerateRecords(null,null,false);
         // go through each records using enumerator
         while(re.hasNextElement()) {
              rs.getRecord(re.nextRecordId(), ReadInputData, 0);
              buffer.append(ids.readUTF());
              buffer.append("\n");
              buffer.append(ids.readUTF());
              buffer.append("\n");
              buffer.append(ids.readInt());
              buffer.append("\n");
              Alert alr = new Alert("Currently Reading", buffer.toString(), null, AlertType.WARNING);
              alr.setTimeout(Alert.FOREVER);
              display.setCurrent(alr);
         // CLOSE INPUT STREAM
         is.close();Any idea thanks guys

    public void startRecordStore() {
        records+=1;
        try {
            rs = RecordStore.openRecordStore("StudentStore"+records+"", true);
        }Are you sure this is what you want to do?
    I don't know where you're calling startRecordStore(), but you're creating a new record store for each "records".
    Shouldn't you be just opening the record store "StudentStore", and them adding records to that store?
    jc

  • Audio recording problem in Cap 5

    I have used earlier Captivate editions a great deal and never had audio recording problems.  I am getting a weak scratchy audio recording.  I have tried in Vista, Win 7 and with multiple microphones.  What can be the problem?

    Joe,
    Unfortunately, you have posted to the Premiere forum. This was the precursor to PrPro. The MOD's will probably move this out to the PrPro forum, so more folk will see it and can respond.
    Now, did you use a USB mic? Many have had issues with those.
    Also, going back about a year, there was a similar thread, and the description was about the same - "chipmunk." I do not recall the flow of that thread, or the resolution, but will try to find it. I just hope that it was not before the forum changeover, as it is likely gone forever.
    Good luck,
    Hunt
    [Edit] OK, I think that this is the THREAD.
    Message was edited by: Bill Hunt - Added Edit and link

  • Audio Recording Problem - distorted

    Hey all,
    I got an audio recording problem here...
    When I try to record audio onto my project, the sounds is very poor and distorted. Plus, there is a pretty ugly delay. But when I use garageband, the sound is great and how it should be. So this makes me think that Logic has some sort of problem with my driver (Firebox) or somethin'.
    Here's my Setup
    -imac G5
    -Logic Pro 7.2 (Bought just a few days ago)
    -Presonus Firebox (audio interface)
    -Condensor Mic
    Cheers!

    Hi,
    It is possible that your FireBox is not the audio card set up in Logic, and that you are accidentally recording the built-in mic.
    If Garageband is seeing your FireBox corrctly, then it is the setup in Logic, and nothing else, that you should be looking at.
    Check your audio hardware and drivers.
    Cheers

  • Re: Recording Problems - Programmes Recoding but B...

    Posts: 1
    Registered: 24-02-2011
    0
    Re: Recording Problems - Programmes Recoding but Blank Screen
    Options
    Edit Reply
    Mark as New
    Bookmark
    Subscribe
    Subscribe to this message's RSS Feed
    Highlight this Message
    Print
    Email this Message to a Friend
    Report Inappropriate Content
    on 24-02-2011 21h35
    Need help please I'm new to this forum... I have been having a few problems with my recordings like others I try to play back programme I have recorded and get nothing and also trying to delete a programme I'm getting a message to say I can't delete as the programme may be running on another box!!! I only have 1 box!!! I have tried all the rebooting fixes but no joy... I have an old white style hh... Is this or the box tired and in need of replacing??? I've also checked the settings and I'm online and have space on my disk!!! Help

    We have had the same problem, which is really frustrating!!
    The box appears to be recording but when the programme is played back, it stops during the programme and goes to the resume play on the menu or sometimes the channel isn't there, its just a black screen, I'm thinking of going to Sky if it carries on, getting really fed up now!!!
    davearliss wrote:
    Posts: 1
    Registered: 24-02-2011
    0
    Re: Recording Problems - Programmes Recoding but Blank Screen
    Options
    Edit Reply
    Mark as New
    Bookmark
    Subscribe
    Subscribe to this message's RSS Feed
    Highlight this Message
    Print
    Email this Message to a Friend
    Report Inappropriate Content
    on 24-02-2011 21h35
    Need help please I'm new to this forum... I have been having a few problems with my recordings like others I try to play back programme I have recorded and get nothing and also trying to delete a programme I'm getting a message to say I can't delete as the programme may be running on another box!!! I only have 1 box!!! I have tried all the rebooting fixes but no joy... I have an old white style hh... Is this or the box tired and in need of replacing??? I've also checked the settings and I'm online and have space on my disk!!! Help

  • Duplicate records problem

    Hi everyone,
    I'm having a a little difficulty resolving a problem with a repeating field causing duplication of data in a report I'm working on, and was hoping someone on here can suggest something to help!
    My report is designed to detail library issues during a particular period, categorised by the language of the item issued. My problem is that on the sql database that out library management system uses, it is possible for an item to have more than one language listed against it (some books will be in more than one language). When I list the loan records excluding the language data field, I get a list of distinct loan records. Bringing the language data into the report causes the loan record to repeat for each language associated with it, so if a book is both in English and French, it will cause the loan record to appear like this:
    LOAN RECORD NO.     LANGUAGE CODE
      123456                             ENG
      123456                             FRE
    So, although the loan only occurred once I have two instances of it in my report.
    I am only interested in the language that appears first and I can exclude duplicated records from the report page. I can also count only the distinct records to get an accurate overall total. My problem is that when I group the loan records by language code (I really need to do this as there are millions of loan records held in the database) the distinct count stops being a solution, as when placed at this group level it only excludes duplicates in the respective group level it's placed in. So my report would display something like this:
    ENG     1
    FRE      1
    A distinct count of the whole report would give the correct total of 1, but a cumulative total of the figures calculated at the language code group level would total 2, and be incorrect. I've encountered similar results when using Running Totals evaluating on a formula that excludes repeated loan record no.s from the count, but again when I group on the language code this goes out of the window.
    I need to find a way of grouping the loan records by language with a total count of loan records alongside each grouping that accurately reflects how many loans of that language took place.
    Is this possible using a calculation formula when there are repeating fields, or do I need to find a way of merging the repeating language fields into one field so that the report would appear like:
    LOAN RECORD     LANGUAGE CODE
      123456                      ENG, FRE
    Any suggestions would be greatly appreciated, as aside from this repeating language data there are quite a few other repeating database fields on the system that it would be nice to report on!
    Thanks!

    if you create a group by loan
    then create a group by language
    place the values in the group(loan id in the loan header)
    you should only see the loan id 1x.
    place the language in the language group you should only see that one time
    a group header returns the 1st value of a unique id....
    then in order to calculate avoiding the duplicates
    use manual running totals
    create a set for each summary you want- make sure each set has a different variable name
    MANUAL RUNNING TOTALS
    RESET
    The reset formula is placed in a group header report header to reset the summary to zero for each unique record it groups by.
    whileprintingrecords;
    Numbervar  X := 0;
    CALCULATION
    The calculation is placed adjacent to the field or formula that is being calculated.
    (if there are duplicate values; create a group on the field that is being calculated on. If there are not duplicate records, the detail section is used.
    whileprintingrecords;
    Numbervar  X := x + ; ( or formula)
    DISPLAY
    The display is the sum of what is being calculated. This is placed in a group, page or report footer. (generally placed in the group footer of the group header where the reset is placed.)
    whileprintingrecords;
    Numbervar  X;
    X

  • RESULT RECORDING PROBLEM

    Dear Gurus,
    I am facing problem I have maintained formula for paricular MIC,e.g Zn-for this MIC i have to calculate the percantage as 100 minus balance of the remaining MICs eg i  have maintained in this form--1
    100-(C9010C9020C9030C9040C9050C9060C9070C9080C9090)
    Please note i have maintain the folowing parameters in control indicators for the MICs from 10 to 90 in the Inspection plan
    1) Sampling procedure
    2) Required chara
    3) single results
    4) Fixed scope
    5)Record measured values
    6)print
    7) documentation
    and only for the MIC which formula is maintain i have maintained CAL CHAR.
    when i creat a purchase and do migo an inpsection lot is gnerated.
    when go to t.code QA32 to record results in RECORD RESULTS CHARACTERISTICS OVERVIEW
    I HAVE NOTICED THE FOLLOWING PROBLEMS
    1) FORMULA IS NOT BEEN CALCULATED.
    2)INSPECTED COLCUMN NEXT TO SINGLE VALUE IS AN INPUT SCREEN.i.E-Number of Inspected Sample Units--(WHAT I MEAN ITS NOT GREY FEILD-THE VALUES HERE SHOULD BE 1 AND GREY )
    3)ALSO THE SINGLE VALUE TAB IS GREY NOT USUAL-IF CLICK ON IT THE TAB DROP DOWN.
    I HAVE RUN THIS SCENRIO IN MY DEVELOPMENT SERVER AND IT WORKED PREFECTLY,BUT MY CLIENT SERVER I AM GETTING THIS PROBLEM
    WHAT ARE SETTING I AM MISSING.
    Regards
    Ram
    Edited by: RAMKUMAR WARIYAR on Feb 24, 2009 4:41 PM

    Dear Ram
    1) As the sample size was 1 system was taking this as Summarised recording & that is the reason why the system is showing 3 tabs instead 4
    2) Please do the following setting in Config : SPRO>QM> Basic Setting> maintain setting for plant level>Plant> Result recording  > untick Summ. Recording n=1.
    If you had ticked this means that the results recording will always be summarized if n = 1 (for example when inspecting one unit or 1 ml).
    please do check now whether the formula is working for a new lot and you have 4 tabs in RR
    Was a good question to solve
    Regards
    gajesh

  • Creative WebCam Vista Problem !

    Hi! I just bought my Creative WebCam Vista3 weeks ago and it was working just fine ..Until a week ago, Now it shows something like this ... http://img00.imageshack.us/img00/6205/623698gj0.jpgCan anyone please tell me what to do?I have to record something really important,It's for a school project ... and the deadline is next week. Thank you!

    more info:
    I'm using Windows XPand the webcam is already plug-in but it kept on showing the same thing :womansad: WEBCAM VISTA:http://www.creative.com/products/pro...9&product=5969
    Message Edited by soul987 on 06-16-2007 10:33 AM

  • TV@nywhere Master Recording Problems

    The TV@nywhere Master works fine for viewing, but I can't record without problems.  There is a sound problem with all available versions of WinDVR.  The recorded sound regularly "warbles" or pulsates. It is detectable when a musical tone is playing, otherwise it may be hard to hear. It is very annoying once you pick up on it.  Other interVideo programs WinProducer and WinDVD Recorder exhibit the same problem.
    I tried PowerVCR and I get an error message when attempting to record in MPEG2:
    S0009 : Unable to render preview video stream.
    I have all the latest drivers and software versions. I even tried a clean install of Windows several times and a different sound card, but no luck. I'm getting nowhere with tech support. Very frustrating.
    ASUS A7N8X Deluxe MB
    Onboard nForce2 sound (also tried Soundblaster Audigy)
    AMD 2800+ Barton CPU
    512MB DDR RAM
    GeForce 5600 Video Card
    250 Gig Hard drive
    Windows XP

    Using PowerVCR II 3.0, and there is no Use Smart Tee option available.
    Here's all the options:
    Video -> Overlay Options -> Overlay/Non-Overlay  (Non-overlay causes a crash)
    Profiles
    Check boxes for MMX, SSE, 3DNow and Enhanced 3DNow.  All are checked.
    Recording / Advanced -> Advanced Options
    Video Smoothing (during recording) - unchecked
    Intelligent Noise Removal (during recording)  checked
    Enable Time-Shifting when recording  - unchecked
    Have tried changing most of these settings but always get error message, unless I use MPEG1 which is not acceptable quality.
    I did a search in Help for "Smart" and for "Tee" and there are no matches.

  • Recording Problem!

    hi folks,
    i'm having problem recording from tv. whenever i start recording, my screen turns to black & white. the device settings switches from PAL B to SECAM. i'm using anthena connection from a cenralized cable connection. I'm here right now in Saudi Arabia, Riyadh. we are using here PAL signal. can anyone tell me what to do and what is causing this problem. regarding recording from VCR no prolems. thanks!

    The problem is probably caused by a bad or outdated frequency table ...
    Try changing your country code to one with Pal-B (Germany).

  • Dvd recording problems!!!!!!

    Two problems are really bugging me guys. I made a 15 minute video project through imovie imported it to idvd and it recorded the whole project except for the sound. I just bought a Lacie external burner dvd + & - rw. And it ejects my dvd and says the disc cant be used for burning. Insert recordable dvd media. I am using tdk dvd -rw dvd's. What can I do to get the sound. #2 problem : everytime I make an idvd project using the drop zones when I go to pull the project back up my drop zone clips are always missing.Why?
    Thanks guys

    dvd -rw
    #1 RW disks are problematic. Try using "Save as Disk Image" in iDVD, and play that image with the Apple DVD Player. If the image works, then burn it with Disk Utility.
    http://docs.info.apple.com/article.html?artnum=164927
    Also check to make sure the sound track(s) is(are) "checked" in iMovie (far right in the timeline).
    my drop zone clips are always missing
    iDVD only makes "links" to movies/clips when they are used, it does not import them (unless you archive the project). Are the clips/movies from other external drives? Where were they when you added them in the first place?
    John B.

  • DVR620KU Recording Problem VHS-DVD

    Having a problem copying from a VHS tape to DVD. Followed the instructions in the Owners manual and and checked the input settings but when the recording process is completed there is nothing on the DVD. Any suggestions ??
    Solved!
    Go to Solution.

    I'm not sure what you mean when you say there is nothing on the DVD. Do you mean, something is recorded, but it's all black? Or do you mean that no recording appeared to take place at all?
    Here are some steps to follow to confirm proper behavior:
    1. Have a VHS tape to play back and a recordable DVD (such as DVD-R).
    2. Press INPUT SELECT on the remote multiple times until you see L2 appear on the TV screen. Be sure you have nothing connected to L2 (which are the connectors in the front of the unit). You should see a blue screen.
    3. Press VCR on the remote.
    4. Insert the VHS tape. You should see the counter set to 0:00:00.
    5. Press DVD on the remote.
    6. Insert the DVD into the DVD tray and wait until it is fully loaded and the progress bar goes away on the TV screen.
    7. Press DUBBING on the remote. You should see the VHS tape start to play back, and the DVD start recording. Let it record onto DVD for around 3 minutes. Then press STOP. Let it finish processing until the progress bar goes away. Then press TOP MENU and navigate to the last thumbnail, then press ENTER. You should start seeing the dubbed video play back.
    Report back with your findings.

  • Stereo Audio Record problem (While recording video as well)

    Hi,
    I just just bought Sony Xperia C3 dual yesterday. I'm having problem with audio recording. I installed the Sony audio recorder from Google play store but while recording in stereo mode with it the gain suddenly drops after 1/2 second(s). Same problem while recording a video with stock camera app as well, video quality is fine but the audio with it is,just worst. Tried third party app like regorge pro but faced the same problem. Tried disabling the AGC with it, but no good. Recording in mono mode just works fine and I get clear record.
    Any solution?
    Thanks.

    @uliwooly  This one i recorded today morning. The audio starts good & clear at the begining but just after one second it drops & then you can hear the bus engine sounds like waterfall. Here is the youtube link https://www.youtube.com/watch?v=5H1jNxyYMlw Here's another video uploaded by a review site with the same problem https://www.youtube.com/watch?v=z3vKwydfN6U & more from youtube https://www.youtube.com/watch?v=-GLLj2ommP4  then i used a third party audio recorder with mic switch option https://www.youtube.com/watch?v=D6d4uAEZFRE as usual with the rear mic the gain suddenly drops after second & you can hear some weird sounds like a "movie bomb" sound at 00:04, "rattle snake" sound at 00:05 & 00:12 & with the front mic starts at 00:17 you can hear the difference. It's mono but so clear & sharp.  Finally, as i dont have the mic swith option while recording video, all videos i record will have the same problem. This is definitely not  the typical "sony" thing to carry on.

Maybe you are looking for