Camera publishing frame rate - slow

Hello,
We're creating a video chat app which will work across desktop, iOS and Android.
Everything is working fine except that the published stream suffers from a low frame rate - averaging around 7fps.
This is really annoying especially as the camera is capturing at approx 30fps.
We're using a beefy server running Wowza or AMS but the issue seems to be on the publishing side in the Air app.
Has anyone else experienced this or any one know of optimum settings to get that frame rate higher?
It seems like it might be a bug with Air to be honest as I wouldn't have thought publishing would put that much strain on the CPU to reduce the frame rate that much.
Thanks,
Dave.

Hi Chris,
Sure, we used Scout and it showed the CPU was maxing out over 100%.
When the app wasn't publishing over the NetStream then CPU usage was around 30%. Which in itself seems high when there wasn't anything else going on and no other apps in the background.
This demo app we're using just displays the camera feed using a video object and then publish that feed directly to the streaming server. We've stripped out all other functionality while we address these video issues.
I can ask my guys to provide more detail regarding the Scout reports on Monday morning. But, until then what kind of CPU usage would you expect this process to consume? We're exporting video using the H.264 profile.
Doesn't the native camera utilise H.264 video and so other than encoding the audio to Speex I wouldn't have thought there's too much encoding/transcoding occurring? Just seems odd...
Any advice or ideas much appreciated!
Along these same lines...is there a reason why Air doesn't export/publish the video stream as H.264 and AAC since iOS already provides those? Is it a codec licensing issue? Just curious since Speex really isn't the best quality especially when we're going to be using this in a context where we'll be streaming live music events/gigs.
Thanks,
Dave.

Similar Messages

  • Why is my iPhone 4S Video Camera Changing Frame Rates?

    I've been doing some video tests with my iPhone 4S and I've found that in low lighting situations it's recording video at 24fps instead of the advertised 30fps. In good lighting conditions it's recording at 30fps. It's obvious the camera is compensating for the light with the lower frame rate, however, when I got into iMovie or Quicktime Pro to cut together some footage, the two different frame rates are causing an issue because they aren't consistent. The footage gets jerky and there's audio clicks. None of this happens when they're played individually. Please advise.
    ps I downloaded some other video camera apps and even ones that will lock you in at 30fps will still record at 24fps in low light situations, so it has to do with the Phone. Anyone know a workaround for this?  Thanks!

    You can zoom before you start taking a video, but not after you start the video. Sorry.

  • Frame rate slows to a crawl after continued use in Authoring

    Hello, I have quite a large game that I've developed. It uses
    a lot of sound, moving sprites and 3D.
    If I reboot my machine, then open Director MX 2004 and run
    the game, it will run (in authoring) at about 20fps. After a few
    times of stopping, rewinding to the beginning and playing again,
    the fps will eventually drop to about 6-8fps. This will take about
    7 or 8 starts/stops.
    I suspect a memory leak, but do not see anything odd using
    the memory inspector.
    Anyone else have this problem and found a solution?

    quote:
    Originally posted by:
    Newsgroup User
    Including the message window, if the OP is putting stuff into
    it.
    I problem I often have as well - sometimes when I'm in
    debugging mode I end up focused on my code and forget to turn this
    back off.

  • Why is my frame-rate lagging?

    I'm using Flash MX 2004 at the moment, and I've made an
    animation that is synced to music, but when I 'test movie' or
    'publish', the frame-rate slows down and the music becomes
    un-synced. How do I fix this?

    I wish I knew the answer, but I do know a way to solve it
    (sort of). In your publish settings, under the HTML tab, change the
    Window Mode to Opaque Windowless or Transparent Windowless. You can
    choose either one. Then re-publish/test.
    I don't know why this fixes it, but it does. The only
    downside to this, is that you can kiss your mac users goodbye. This
    causes your swf to lag even worse on a mac.
    Hopefully this help, but hopefully someone can provide a
    better answer.
    GAMBRKER

  • Mac os x plus quick cams using UVC = slow frame rates...

    well i took your advice and picked up a logitech 9000 pro quickcam. this camera is uvc compatible and works out of the box on my macbook running 10.5.2.
    the issue i am now having is that the uvc driver is bare bones and doesn't give any way to change the high resolution and low frame rate. the result is that the camera while very sharp gives unacceptable performance approaching 5 fps in any application including quicktime recording.
    any ideas on how to resolve this annoyance? the uvc on the mac is unusable for me at this time because i communicate in American Sign Language and need normal smooth video that one gets with the built in i-sight.
    thanks in advance!

    Unfortunately, I've not located any OSX drivers or software that allow higher framerates with standard UVC cams. There are a couple of options for you though - run bootcamp and run XP when you need to do signing, using the Windows software and drivers that came with your 9000. Or, buy an old Sony video camera, anything with firewire out will do, and are always available on eBay for about what you paid for the 9000.
    John F

  • What is the suggested frame rate to record in for fast / slow motion processing from a clip recorded

    I want to create a video however I only have 1 dslr camera and I want the ability to post process the clips I record to be either in slow motion or fast motion. I don't want to have to record something in 24fps then 60fps. is there an ideal frame rate for both. What are some of the best practices for this in regards to recording and post processing in Premiere Pro.
    Example of fast and slow video. Thanks.
    http://vimeo.com/75259949

    The ideal is to shoot in different frame rates, one for real time footage and one for fast or slow motion clips.  This is called under and overcranking.  It means you have to decide when shooting whether the clip will be real time or not.
    Less than ideal is to shoot everything at one frame rate and then slow it down or speed it up later.  It's less than ideal because the effect is never as perfect as the ideal method.  Especially in PP, which does not do very well with slow motion to the point I recommend using After Effects instead.  (At least with 24 fps media.)
    On a side note, you can help solve the horrible slow-motion problem:
    http://forums.adobe.com/thread/1369265?tstart=60

  • Frame rate for camera does not match with AVI output

    Hello,
    I'm taking a video from a Basler A504K camera of well plate bottoms deflecting down. I have a frame rate indicator from the Vision Acquisition to see at what fps the camera is acquiring images, and I also have a frame rate controller at the IMAQ AVI Create VI.
    The problem is when I set the frame rate at the Create VI. The higher I set the frame rate, the fewer frames it seems to take. For example when I play the videos on Windows Media Player, at 10fps, the video length is 60s. At 100fps, the video length is 6s. At 20fps, it's 30s, and at 50fps, it's 12s. Obviously, the video length decreasing by the factor by which I increase the fps. But since higher frames per second videos show a slower/longer videos, since they have more images to display per second?
    I need to be able to see a slow increase and decrease in the well deflections smoothly. At high frame rates, the video goes by so fast that I cannot analyze the deflections. At low frame rates, the video is slower, but there are too many missing frames so the deflection is not smooth (ie. you see no deflection one second, and the next, you see the peak deflection without seeing the gradual increase in deflections). It is very hard to find an "ideal" frame rate, so I was wondering if there was another way to control the frame rate such that I have high fps, and longer video lengths?
    I'm attaching my VI. The bottom loop is where all the Video and Camera controls are. The top loops is to control pressure gauge and valve (just ignore that loop)
    Thank you,
    B.J. Kim
    University of Michigan
    Attachments:
    Injury_Pressure_PulseFINAL_AVI.vi ‏174 KB

    Hi B.J. Kim,
    The problem you're seeing with the fps and video length makes sense to me.  If you keep the overall frame count constant and change only the rate of playback, then the video time will be indirectly proportional, as you have noticed.  Just from simple math, it appears like you kept the video image at a constant of 600 total frames while changing the frame rate between 10, 20, 30fps, etc.  If you're looking to have more resolution in you video, maybe you could increase the actual frame rate of acqusition from your camera. You may also try placing a small millisecond wait in your while loop to slow down execution speed.

  • Slow motion and frame rate and shutter speed

    I have two cameras that record 60i and three that use 30p. Neither of the 60i cameras has a 30p option (one has a pf30).  If I understand how FCPx handles this, if I drop both frame rates into a project, I get 30p out, correct?  In effect de-interlacing the 60i footage to 30p. Is it best to import the 30p footage first to set that frame rate so that the 60i gets rendered to 30p?
    We're producing a fishing DVD so good quality motion footage is important. This is an instructional DVD so I will be using some retiming to slow footage down to illustrate key points in the instruction.
    I've read a lot of stuff on 1080i 60i vs. pf30 vs.30p vs. 24fps and benefits of using 720p vs. 1080i.  Also looked at information on slow vs. fast shutter speeds.
    So, the bottom line to get the best motion results for the DVD, I should be shooting at best bit rate possible, use 1080i 60i or 30p depending on the camera and let FCPx set everything to 30p.  Correct?

    For the 1080/60i media, it is best to have FCPX conform it to 30p (29.97p). [30p is a real timing: 30 exact frames per second, but it is not broadcast compliant. 29.97 is quite often simply referred to as 30, just for simplicity and/or laziness. The final decision for which to use rests with you. Also note, like "30 fps", 60 more often refers to 59.94 fps... for the same reasons.]
    As for your target being DVD: DVD is always 480 lines whether it is anamorphic (16:9) or standard 4:3. If you would like to have "enhanced" slow motion, my recommendation would be to shoot in 720/60p (which is genuinely progressive "60" frames per second) and will give a slightly better edge on slow motion effects (retiming). That said, FCPX retiming is usually quite good no matter what the frame rate (frame blending recommended over optical flow [which tends to give a "morphing" effect when pushed too far].)  1280x720 frame size will give you plenty of downsampling resolution for DVD as well.  [I *believe* that FCPX will use all of the 60fps available from the original video in retiming, even if the frame rate of the project is slower than the original media; so, 720/60p conformed to a 30p project and retimed to 50% will use every frame of the 60p slowed down by half... (somebody correct me if I'm wrong!)]
    Best bitrate is also an important feature, but that is not due to the choice of format as much as that provided by the camera itself. Bitrates out of the camera may be relative to the frame size (they are in my consumer camcorders). A common consumer grade camcorder will top out at a bitrate (for 1080) somewhere between 17.5 and 22.5 Mbps, whereas an HD capable DSLR will usually top out at (easily) *twice* as much (45Mbps average from my Canon T4i) or more. Furthermore, the DVD standard imposes framerate restrictions (max is somewhere between 5 and  8Mbps -- the software that creates your DVDs will usually transcode for best bitrate, so not something you really need to bother with - just set the transcoder to best possible quality and provide it with the best quality video that's reasonable.) Whichever camera provides the highest bitrate should be your "main" camera.
    As you may have discovered: another factor for a quality video regardless of camera is shutter speed. If you set the shutter speed too high (faster than twice the frame rate) then you will have "stuttering" issues (there will be "gaps" from still frame to still frame). Keep the shutter speed at the same or no more than twice the frame rate: e.g., for 1080/30p (target) the shutter speed should never be more than 1/60th of a second (I'll use 1/30th, 1/40th, or 1/50th usually). I haven't shot a lot of 720/60p, but I think I would still keep the shutter speed at between 1/60th and 1/120th exclusively [that is -- I wouldn't go as high as 1/120th or greater... but that's me... you should experiment for best results for you.  If this creates exposure issues, then consider neutral density filters or circular polarizing filters to help bring scenes into exposure range (via aperture or iso or both.)
    HTH
    Good luck! Have a good shoot!

  • Slow Motion and Frame Rates?

    Hi I have a Sony NEX-VG20EH camera and it has an adjustable frame rate. I have put the frame rate on 8000 and recorded some footage. When i load it into Premiere it is still showing as 50.00 fps. I want to do some slow motion stuff but when i slow it down to 10% it is still quite "jumpy". Any ideas?

    While many cameras DO offer the ability to "overcrank" for a short duration, such as to capture a golf swing in slow-motion, I looked at the specs for your camera and don't see that feature listed.
    Raising the shutter speed means that the shutter is open for a shorter duration during the exposure of each frame of video. At slow shutter speeds, fast motion will look blurred on a freeze frame or during slow playback, because the subject moved quite a bit during the time the shutter was open. A fast shutter will "freeze" each moment in time clearly, but also lowers light sensitivity, so best used outdoors in good light.
    It can be fun to play with shutter speeds - on my honeymoon, I was shooting the airplane prop out my window and cranked up the shutter speed until the prop STOPPED and I could read the serial number off of it in my viewfinder!! Note this was in the old days with CCD sensors - the new CMOS sensors have skew which warps the image in many cases.
    Note that very high shutter speeds will result in choppy motion, so only use as needed.
    Jeff

  • Belkin Pre-N F5D8230-4 v2, slow video frame rate

    After years of faithful service from my D-Link DI-713P, the wired-ethernet switch (to which my iMac was connected) stopped working. I bought a new Belkin Pre-N F5D8230-4 v2 to replace it, and both the wired and wireless connections work fine... except with iChat. I can get a connection (e.g. to appleu3test01), but the frame rate is painfully slow. Running through the router, I get <15fps, <70kbps. Connected directly to my DSL modem through PPPoE, I get 30fps, >700kpbs; same performance as with my old D-Link router before it croaked. This seems to me to be a clear indication that the problem is the router, not my iMac, the DSL modem, or the ISP (SBCGlobal.net).
    Things I have tried to solve the problem.
    1. Port mapping all the iChat TCP and UDP ports listed in numerous locations in this discussion group, Apple support, portforward.com, etc.
    2. Enabling UPNP with and without the port mapping enabled.
    3. Operating through DMZ.
    4. Unbind SIP from port 5060 (see Ralph Johns' very helpful site: http://www.ralphjohnsuk.dsl.pipex.com/page4.html#_text). I was not able to telnet into the router (connection refused), and I couldn't find any SIP configuration on the web interface to the router, so I actually didn't get to try this. I don't have VoIP, and I'm not aware that SBC offers it, so I doubt that this is the problem.
    5. Ensured that iChat ports are allowed in OS X firewall.
    Any of these configurations enable me to make an iChat video connection, but all with slow frame rates.
    One other bit of information that might be helpful to someone who understands all this a bit better than I is the entries that are generated in the Belkin firewall security log when I run iChat:
    DoS log:
    2005-10-16 08:17:59 [HOST Attack: UDP Flood] (UDP) LAN to WAN 192.168.2.2:16384->17.202.39.141:16384 [Drop]
    2005-10-16 08:17:59 [HOST Attack: UDP Flood] (UDP) WAN to LAN 17.202.39.141:16384->71.131.221.23:32784 [Drop]
    2005-2005-10-16 08:18:00 [HOST Attack: UDP Flood] (UDP) LAN to WAN 192.168.2.2:16386->17.202.39.141:16386 [Drop]
    2005-10-16 08:18:00 [HOST Attack: UDP Flood] (UDP) WAN to LAN 17.202.39.141:16386->71.131.221.23:33811 [Drop]
    It would seem that the firewall considers the iChat traffic on 16384 and 16386 to be denial-of-service attacks. Shouldn't the port mapping prevent this? If this were the only problem, wouldn't operating in DMZ avoid this problem?
    I have not yet tried changing the firmware version of the router, in part because there seems to be some confusion about what the latest version is: web site lists 1.01.03 with a date of September 2005, but my installed version is 2.00.06. Apparently a version 1.01.04 was released but then retracted, and 1.01.03 is from January 2005, not September. Revision control does not seem to be Belkin's strong suit. Right now I have nothing to lose, so loading 1.01.03 may well be my next step.
    Some configuration details:
    iMac, PowerPC G4 (3.3), 1.25 GHz, 768 MB RAM, 167 MHz bus
    OS: OS X 10.3.9 with all security updates as of 2005-10-16
    connection method: SBCGlobal ADSL through Speedstream 5260 ADSL modem through Belkin FSD8230-4 router through ethernet to iMac
    connection speed: 1214 kbps down, 306kpbs up
    software: iChat 2.1 (v153)
    camera: Canon ELURA70
    Router info:
         Firmware Version 2.00.06
         Boot Version 1.00.00
         Hardware F5D8230-4 v2
    Is anyone getting good performance with iChat and this model Belkin router? Any other clever configuration ideas to try?
    - Fry -

    Hi Ralph,
    Thanks for the reply. I re-read your page on SIP and realize that it was a modem (not router) issue after I posted. Dohh! Thanks for being so polite.
    I agree that the DoS seems like the key, and hopefully the specific security log messages will facilitate useful feedback from the Belkin tech support folks to whom I sent a copy of my post.
    I tried turning on WAN Ping Blocking - no change. The System Settings tab allows me to set the password, date/time, and enable/disable of remote management, NAT, UPNP, and auto-update for the firmware. Of those I have only switched UPNP on and off. Unfortunately there is nothing on packet size settings anywhere that I could find.
    I tossed the packaging for the router, so I may not be able to return it easily. If this is the case, and Belkin (or someone in the forum) doesn't come through with a solution, I was thinking of buying an inexpensive wired router to connect between the modem and the iMac, and also run the Belkin off of the wired router for wireless access. Are there well-known problems daisy-chaining routers like this?
    The obvious alternative would be to sell the Belkin (to some non iChat user) and replace it with something known to work well with iChat. I read a recommendation for the Netgear DG834G in another posting, which could also take the place of my Speedstream modem (although there is nothing wrong with it). Any other recommendations from this wise community?
    For the time being I am switching between the router routine tasks and direct-to-modem with PPPoE for iChat. Not elegant, not easy to teach to spouse, but it works.
    Cheers,
    - Fry -

  • Log and transfer not changing frame rate to slow motion on P2 cards...

    Hello.
    I swear I have done this before on final cut studio 2 and it came out correctly, but for some reason this time, either myself or the computer is making an error. (chances are it's me).
    Basically, I'm logging and transferring footage that was shot on P2 at 50 fps, and my intention is to import it at 23.98 fps. I thought this is something that naturally happens in the log and transfer process, but i guess not?
    My project was set up via easy set up at panasonic dvcproHD frame rate 23.98... and I'm logging an d transferring directly into my browser but the f frame rate stays at 50 fps. (footage was shot in England to be incorporated into a video already shot in America).

    I thought this is something that naturally happens in the log and transfer process, but i guess not?
    Your guess is right...it DOES NOT slow it down upon injest. ONLY if you set the camera up to shoot 720p25 and then choose the 50 frame rate (I hear this is what you do...I am not a camera guy, so...), then it will import slowed down. But you have to set the camera up CORRECTLY. The first time I imported slow mo, it was 60p...and I had to use the Frame Rate Converter to slow the clips. Then my camera guy figured out the setting in camera and BOOM...there it was.
    So...I guess you are NOT wrong...actually. It just needs to be set up IN CAMERA in order to do what you want.
    and I don't know if the Frame Rate Converter works for PAL footage...stupid, but...no...Stupid.
    Shane

  • Video doesn't slow when added to timeline of different frame rate

    I'm having trouble understanding what's going on here.  I have a video shot at 59.94 fps, and I add it to a sequence that is set at 29.97 fps.  It plays back normally which makes sense if premiere is dropping frames by 1/2, but the drop frame indicator says that it isn't dropping frames.  The clip also runs the same length.  The interpret frame rate for the clip in the project window says 59.94 fps, so if it's added to a sequence that is set at 29.97 fps and it's NOT dropping frames, shouldn't it be slowed down?

    OK cool thank you very much.  So I've been doing some research to figure out the best way to edit this project.  The problem is that I have some GoPro videos shot at 1080X1920 and 59.94 fps and some at 480X840 and 240 fps.  But the catch is I want to make the final product work well for Youtube.  This is how I feel I should go about getting the best quality for my final video.
    1.  Set the sequence settings to 720X1280 (which is what I will export as so that the 480X840 doesn't loose as much quality compared to having to resize up to 1080X1920 to match the other clips).  I don't think there's much quality loss in down-scaling the 1080X1920 to 720X1280 (if any, or is there?), so it's kind of a happy medium for both frame sizes that I have and it's still good for Youtube.
    2.  Apparently Youtube really works well with 29.97 fps, so this is what I will set the sequence frame rate at.
           **Another side question I have is what if my sequence frame rate is set at 29.97fps and I interpret the frame rate of a 59.94fps clip as 29.97fps and add it to the sequence.  Now if I use the rate stretch tool to speed up the now slowed down clip to 200% so that it plays at normal speed.  Will Premiere remove frames to speed up the clip or does it really increase the rate of the frames so that I don't loose any frames?**  My guess is if I export at 29.97fps it will remove half of the frames.
    Is it not possible to have an exported movie clip that contains multiple frame rates?

  • Live! Cam Video IM Pro VF0410 Frame Rate Problem

    Hello I'm from Turkey sorry for my English first. I bought this camera yesterday and i tried it on 2 PC.First one is using Win Vista Home Premium (4Gb RAM + Core 2 Duo E6750),second one is Win XP Home (Gb Ram + Pentium M .8). In these PC's i can't get more than 4 or 5 FPS. I only saw 8 FPS for one second. I downloaded the?latest drivers from the site which is v.0.0 (2.68 Mb).Nothing changed it is 4 FPS again.What can i do what is this problem. Is my camera faulty ?

    I too have the same problem. It seems to be a flaw with the software or the hardware. If you disable the auto exposure setting the frame rate will still site at 4-5 fps.
    If you then move the exposure slider to the far left and then back to the right the frame rate will immediatley increase to 20-30 fps, but the exposure is quite poor even with the adjustment of brightness, contrast, etc. Is this a software bug or a hardware flaw?

  • How to change the maximum frame rate of the camera by changing the image size?

    I have two  acA2040-180km cameras which are connected to 2 NI PCIe-1433 framegrabbers, I am monitoring my cameras by LabView, maximum allowable frame rate is about 187 for full resolution images, but I just need a small fraction of the images, I know if I make the images smaller, FPS will get higher, but it isn't possible by changing the image size in NI MAX, I've also tried to change the size by defining the region of interest in the grab setup.vi, but it would be after going to camera so it isn't the case as well, so I need a VI to go to the camera before starting to take photo and define the region of interest which is going to be captured, would you please help me to find it?
    Please help me, this problem get me stuck!!!

    Have you tried changing the image size using property nodes as Bruce suggested? Do remember with Basler cameras, reducing the width only will not affect the transfer speed but the reducing the height will. Have a look at the frame calculator to understand what you frame rates you can acheive with certain settings:
    Basler Frame Rate Calculator
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Photon Focus MV-D1024E-160-CL-12 Camera frame rate problem.

    Hi,
    I have a photon Focus MV-D1024E-160-CL-12 camera connected with a PCI2-1429 board. I trigger my camera externally using a NI-DAQ and an I/O board to the camera. I am having a problem with the frame rate of my camera. In the manual it says that the camera can operate at 150 fps. When I am triggering at 10Hz the camera works fine. But when I trigger it at 100 Hz the camera does not give me the required fps. I am imaging an analog clock to measure the fps. When I am triggering at 100 Hz I should get just 1sec in images but instead I am getting images of 3sec. I am using the NI-IMAQ sequence example for it. Is it a software problem (e.g. buffer allocation etc) or a hardware limitation.
    Regards,
    Farhan Ahmad.

    Hello Farhan,
    You can use the Calculate FPS VI here to display the number of frames/second for your camera.
    Andy Chang
    National Instruments
    LabVIEW Control Design and Simulation
    Attachments:
    CalculateFPS.vi ‏12 KB

Maybe you are looking for