Frame rate = One picture in 5 seconds?

Hi, I am capturing video from a web cam in rgb. I want to send only one picture in five seconds across the network (Frame Rate = 0,2). This does not seem to work. My code:
          Object frameRate = processor.getControl("javax.media.control.FrameRateControl");
          if(frameRate != null)
Logger.getInstanceOf().writeLog(Constants.LOG_INFO, this.getClass(), "createProcessor()", "Current frame rate is: " + String.valueOf(((FrameRateControl) frameRate).getFrameRate()) + " frames per second ...");
          FrameRateControl frc = (FrameRateControl) frameRate;
          frc.setFrameRate(0.2f);
Logger.getInstanceOf().writeLog(Constants.LOG_INFO, this.getClass(), "createProcessor()", "New frame rate is: " + String.valueOf(((FrameRateControl) frameRate).getFrameRate())+ " frames per second ...");
It seems as if I can only reduce the Frame Rate to 5. I am using a H263 video format. Does anybody know how to further reduce the frame rate?
Regards, Nik

Hi, I found the answer myself.
When you capture with RGB in Frame Rate 15 and 320x240 Dimensions and you want to transmit using H263, you can only reduce the Frame Rate to 5 FPS. I do this using the code above on a realized player. When you want to further reduce the frame rate you need to create a second processor taking the H263 Stream with 5 FPS as input. Using the code above on the second realized processor enables you to further reduce the Frame Rate.
This worked for me.
I also used the following code WITH NO SUCCESS:
     Format checkForVideoSizes(Format original, Format supported) {
          int width, height;
          Dimension size = ((VideoFormat) original).getSize();
          Format jpegFmt = new Format(VideoFormat.JPEG_RTP);
          Format h263Fmt = new Format(VideoFormat.H263_RTP);
          return (new VideoFormat(VideoFormat.H263_RTP, new Dimension(width, height),
                    Format.NOT_SPECIFIED, null, Format.NOT_SPECIFIED))
                    .intersects(supported);
Anyway ... the problem is solved.
Regards, Nik

Similar Messages

  • 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 Interpolation

    I would, if possible, love to know a method for improving the overall frame rate of a flash movie using interpolation. I'm not talking about videos delivered through a flash player such as YouTube or Vimeo, but rather vector animations that were common before the days of mainstream internet video. Each flash video consists of manually defined shapes and key frames. These key frames are used to determine inbetweening, or interpolation, motion effects. Since movements, shape transformations, etc are all based on keyframes (scrolling backgrounds and zooms for example) it should be possible to "tween" the master frame rate to 60fps or higher correct? There is a whole host of good stuff from years past (Weebls-stuff, Ebolaworld, Homestar Runner, Newgrounds, etc.) and many of those use low frame rates (one series uses only 12fps) due to performance limitations of yesterday's machines.
    What are your thoughts, and has anyone considered attempting to improve old Flash movies in this way?

    Try this process.
    It was originally developed to create 24p DV files, but can also be used to convert NTSC to PAL (and quite well I might add). The details are in the Read Me.
    Going from AVI to MOV is another issue, though. Not sure how specifically to do that one as I'm really not a Mac fan.

  • Preserve frame rate when loading one swf into another

    Is there a way to preserve the frame rate of a swf when
    loading it into another swf that plays at a higher frame rate. I'm
    loading some flash ads that mostly run at around 12-15 frames a
    second into a portfolio site that runs at around 40 frames per
    second. All my ads play too fast. The link is:
    www.dg8tal.com/portfolioidea.html
    Thanks!

    As far as I understand it, there is no option to override the
    frame rate designated by the main movie you are loading into. The
    SWF file you are loading always inherits the framerate of the SWF
    you are loading it into. Here are some suggested work-arounds that
    might help:
    1) Lower the frame rate of the main movie on the website that
    you are loading into.
    2) Expand the timelines of the advertisements just for use in
    your portfolio
    3) Put your menu and thumbnails in one HTML frame that can
    then load each item in another HTML frame above it. Since each SWF
    would load on its own, the framerate of your main swf would not
    matter. You would lose your nice resizing effect though unless you
    did some more complicated integration with javascript I imagine.
    I would recommend going with option 2, since that will take
    the smallest amount of work while preserving your overall design.
    However, with the faster framerate, your advertisements would have
    difference performance characteristics that you'll need to assess.
    I'm trying to think of more options, but these seem to be the
    first things that come to mind.

  • Concerning multiple frame-rates in one export file to perceive important necessary philosophies.

    consider READ QUESTION, The following 4#'d Paragraphs should be skipped and not considered to be read and don't link
    to my discussion it's question.
    4.It's a strange world we live in, yet the wonders are revealed if realised once more.
    Hello my dear friend or opposition. As this was my first post I represented my normal
    thought flow throughout as it would be me daily, reflecting as necessary, apologizing in advance
    if thrown out of balance.
    1.Rather contradicing or raising questions, I would like to consider this very moment the age
    of turn around points. As the evolution and perhaps one a day, revolution continues I would
    like to take a moment to stand by this process, I conclude we are going towards the red pitt hole.
    2. I also consider After Effect a program to allow whatever creativity could thrown at it, powered
    by our imagination creating a new breed of cinema. I consider myself a philospher, always spellinG it
    wrong but even thaT I consider mental restrictions only preventing me to reach out for your location,
    wherever or however you may consider that to be so.
    3. Proclaiming filters most out, but if I could only change one mind, I succeeded. I plan to rewrite
    or so to speak, re-introduce what could be film and where we could are going with it, possibly. Film will
    be an art that could differ as much as some painters have created unpredictably impossible differences
    between them selfs. Concludingly art style differ so does reality, I am thanking the creators of After Effects,
    and improvers, hereby with a salute for a program potentially as versatile.
    QUESTION
    Film=60:00 seconds
    first 00:10 seconds=>a 2000FRAMES/s animation,
    2nd 00:11-60:00 seconds=> 60FRAMES/s film.
    Exports results in one frame-rate, I have done insufficient research as why this is still a limit,
    or might not be because of simply not knowing enough yet. I created this story that could
    potentially explain our source and the infinite continuation of that and why.
    Thank you for your time, and I do appreciate it already if
    you read this far. Information regarding the question is fine.

    Imagine a movie theater. The projector is running happily away at 24 fps. All of a sudden you want to watch the movie at 60fps. You pick up your cell phone and call the lobby and talk to the manager. He thinks this is an interesting idea so he sends the projectionist up to the booth to look for a speed control on the projector. No luck, this one only runs at 24fps.
    That's how video containers work. You render to a container (mov, avi, flv, whatever) and you've just bought a projector with only one speed. If you want to change speeds in the middle you have to have a very special projector. No way around that.
    So the answer is that you can't render to the same container with different frame rates.
    You can, however, in a single comp, have footage that runs from 1 frame per hour to 99 frames per second. You can interpret the footage placed in a comp at any frame rate from 1 per second to 99 frames per second, which would accomplish what you are trying to do, except for the part that the first hour of the movie rendered movie would contain more than one frame.
    There are different types of containers however that can display each frame for a specific time interval. Animated Gif is the simplest movie container of this type. Flash is the most common. These are non standard video containers and you have to control the timing outside of AE.
    It would help if we had a little less escortaric posing of your question. What exactly, in an actionable question, are you trying to do and why?

  • Frame Rate drops to 1FPS after 30 seconds

    Recently my iChat has begun to behave strangely. I can initiate and respond to iChat video chats and my frame rate starts off a healthy 15 fps and the bit rate is about what I'd expect (300+) but then both fall off sharply over the first 30 seconds and bottom out at 1fps and around 60 kbits. I can see my buddy at 15fps and sound and video are green at 100%.
    I don't know if it's related but Spotlight has stopped working too and I can't fix that.
    I've trawled the web and tried many things but can't find the answer. I hope somebody can help.
    15" PowerBook G4   Mac OS X (10.4.9)   iSight Camera

    Hi Paul the Artist,
    One thing first.
    iSight does not like to be daisychained. This can even be a problem if it is ganged ports on the computer going to the same Firewire Controller.
    The Spotlight problem may be Indexing linked as you say.
    Open the Activity Monitor in Applications/Utilities
    Make sure the Drop Down at the top reads All Processes
    Now the lower section (no icons) should be system stuff below the icon for the DOCK.
    Above that are the newer Apps and newer things running (some without icons owned by Root and some by "you"
    I can not remember the exact name but it will be one owned by you but with no icon and called something like mdimport
    You will need to see if it implies or states it is Not responding OR shows lots of CPU usage.
    If the indexing is finished it should say it has no CPU usage.
    Force Quit it if required via the big red Quit icon to left.
    8:21 PM Friday; May 18, 2007

  • One swf running on lower frame rate

    Hi,
    I have a basic loader swf, which loads several external swf's and displays them in a browser. Now all the other swfs work just fine, at 24 fps, but one particular swf drops down to 12 or 11 fps in the middle of the timeline. Why is this happening?? And how can I get it to run at the same frame rate as the others.
    There is some heavy animation in all the external swf's but that does not seem to affect any other files, only this one. Also, the animation is not heavy throughout, though the low frame rate persists...
    What could be wrong???Any help will be greatly appreciated..as the entire site is looking bad because of this file...:|

    Have you tried just loading the problematic file? Does is play better? Does this problematic file play correctly alone?

  • Multiple formats and frame rates in one sequence

    i have material shot on many different cameras. it includes PAL and NTSC, HD and SD, 24, 25, 30, and 60 fps, ProRes, DCVProHD, DVCam, etc etc. the final product is going to HD in both NTSC 24fps and Pal 25fps, for NatGeo domestic and international.
    the roughs are already done with this hodgepodge. my job is to clean up the audio (done), and send the video out in for color, titles, and graphics. i'm trying to get at least the frame rates to match at 24, much of it is already in 24 dvcprohd or prores, so i have been doing quicktime exports of the non-dvcprohd/prores video to prores, then conforming to 24p in cinema tools, then overlaying the clips in the sequence with a fit to fill edit. sync has not been a problem, miraculously, even though the speeds end up between 100 and 125 percent.
    am i doing anything right, and if not, what's a preferable way to handle this mess? i tried media manager initially but nothing would relink, so i gave up and started doing the clips individually as stated above.
    all i know for sure is that whatever i end up doing, they're not paying me nearly enough.
    -m

    Hi Shane - Thanks for getting back to me! I figured I'd have to compress it, but
    my question is - how? Initially, I used MPEG Streamclip to import the 23.98 dvd footage in as a DV/DVC Pro QT at 100% Best Quality. I then imported those files into FCP. After getting your e-mail, I went to export the files into Compressor (from FCP), and I'm only given 5 setting choices under "QT." I'm not sure which one to select . . . Uncompressed 10 bit? Any ideas? Again, thanks so much!!!

  • 2 questions - one about Frame Rates, the other about Rendering

    These are two areas I need to learn more about.
    Any answers to my 2 specific questions below would be appreciated, but also, I need to gain a deeper understanding of these 2 areas, so if you have any recommendations on how/where to learn more, I'd appreciate that, as well.
    1. I'm trying to copy a tape from an older 8mm Sony Handycam to my Canon XL-1 mini-DV, in order to be able to import the footage into FCP, however, it comes out all messed up, skipping and jumping in a way that makes me think the frame rate of the two cameras is not in sync. I don't know of a way to change, or even to confirm, the frame rate of either one of these cameras and have found nothing online. Yet, I was able to successfully copy a tape a few years ago, with the same equipment I'm using now, so I'm thinking maybe the frame rate was changed on one of these??? I don't know.
    2. I've never really understood rendering - why some clips require it while others do not. The latest example was with footage from my Canon and a different (newer) Sony DCR-SR68. Because the format of this Sony is wider than that of the Canon, I shot it knowing that I'd be cropping off some of the left and right of the frame. So, in FCP, when I click and drag the corner of the wireframe in the canvas to make the Sony footage fill the square, it needs to be rendered in the Timeline. However, if I do the same with the Canon footage, it does not require rendering. I'm trying to understand why. If it makes a difference, the Canon footage was imported directly from the camera, whereas the Sony footage needed to be first imported into iMovie and saved as an MPEG before being imported into FCP.
    Thanks a lot.
    J

    Hi Mr. Chappell,
    Many older tapes have sat on shelves etc. for many years, It is
    a good idea to,
    First make sure your 8mm is mechanically sound, throw in a blank or
    unimportant tape and make sure it will play etc. without causing any
    phisical damage to the tape.
    Then put in a tape to transfer and Fast forward to the end and then rewind
    to the begginning, this will re-pack/tension the tape.
    then play the tape back briefly while looking thru the viewfinder or monitoring
    with a tv, hopefully all looks well.
    then connect and transfer to the mini-dv (best to use a tbc, but should work
    without)then playback the DV tape briefly, again, with either viewfinder or TV,
    if all looks good you should have no problems unless they are related
    to capture settings (they should match the DV cameras video and audio sampling
    rate, check for 32K).
    Hope this helps,
    J>H<L

  • Footage of different formats on one timeline; also different frame rates

    I need to edit footage of different formats on one timeline. The end product will be compressed for the web so I do not need to be working in HD.
    I have been using the timeline settings for DVCAM (720 x 480) Anamorphic.
    I have broll footage shot and captured at 960 x 720 59.95 FPS DVCPRO HD 720p60
    And Interview footage shoot in DV Cam -- 720 x 480 29.79 Dv/DVCPRO – NSTC
    When I put the HD footage on the timeline and render it, it appears to be in fast-forward – as if I adjusted the speed of the clip. I am wondering if it is caused by the difference in frame rates and also what I can do about it.
    Thanks!

    The main bulk of your footage is DV and DVCAM, with some B-roll at DVCPRO HD, and you need to deliver HDCAM? Then you either need to have a dub facility use a Terranex to upconvert all the DV to DVCPRO HD, or you need to invest in a Kona 3 and use that to upconvert your footage to DVCPRO HD...and also use that to output to HDCAM.
    Shane

  • I have a white iPhone 4S. For some reason I cannot MMS only one of my contacts. I'll send a picture or video and it will go through, say delivered underneath the picture, then 30 seconds later it will say not delivered and I have to send it as a text.why!

    I have a white iPhone 4S. For some reason I cannot send media (picture,video,etc.) with one of my contacts. I'll send a picture or video and it will go through, say delivered underneath the picture, then 30 seconds later it will say not delivered and I have to send it as a text message. Why is this happening!? It happens connected to wifi and not connected to wifi.
    I appreciate the help, thank you!

    If it says "Delivered" under it to begin with, then you're not sending it as an MMS, you're sending it as an iMessage. It's entirely possible the problem is on the receiving end.

  • Working with many different formats/codecs/frame rates within one Sequence.

    Good Afternoon,
    As an editor for an ad agency I am being tasked with cutting a demo reel together. Nothing too difficult.
    The reel is to include video footage of past projects, going back a couple years or so. The footage that I will be given will undoubtably be in a variety of formats, codecs, frame sizes, frame rates, etc (all SD, though). Delivery is SD DVD.
    My question is this:
    What is the best way to set up my timeline for a barrage of clips with differing specs?
    Do I encode all the media assets FIRST to conform to my Sequence Settings? Or do I just deal with the large amounts of timeline rendering as I work with different formats and codecs? Or do I....?
    I am running FCP 5.1.4, so I don't have the Open Timeline feature going for me.
    I appreciate any advice and tips you can offer!
    Thanks!

    Your final format is NTSC SD DVD, so you're going to have to go to 720x480 at some point. This is what I would upscale to. Make sure your "client" knows that the 320x240 wmv's may not look to good in the final production.
    Personally I use MPEG Streamclip (an excellent FREE application that's part of many a pro's arsenal) for this kind of conversion and/or upscaling. It's not particularly intuitive (especially for upscaling) so read the manual.
    You may need to get hold of Flip4Mac or Episode for the wmv conversions.
    I would tend to convert to a lossless codec like Apple Uncompressed or Animation. You could try going to NTSC-DV but you're going to lose some quality initially and again when you do the final mpeg2 compression.
    Experiment.

  • Different frame rates in one movie

    Hi there... have a flash movie at 18 frames p/s, have had to
    embed video which is at 25 frames p/s (obviously this means that
    the video itself is slower than the sound). Is there any way i can
    use action script to control the frame rate of a movie - have it at
    18 fps for a certain amount of frames, then up to 25 fps for the
    next couple of frames, and then back down to 18fps??
    Any help would b greatly appreciated.

    Import with progressive steaming and it will not matter, and
    you shouldn't embed FLV files unless it is absolutely necessary.
    You can't change the frame rate with actionscript.

  • FCE frame rates-which ones?

    I cannot figure out which frame rates I can edit: can I do 24p; normal or advanced. I've got a promo video and the client wants 24p but can FCE support it?
    Thanks in advance.
    (FCE HD 3.5.1)

    As an alternative to upgrading to FCP, however, I believe the Nattress Film Effects plugin set works for FCE. It should allow you to convert your finished product to 24p (or any other format), and all for $100. You'll have to email Graeme about FCE compatibility.

  • Image Sequence Settings in QT Pro - what is the Frame Rate range available?

    I am considering purchasing QT Pro for Windows. I wish to make a time lapse movie out of a series of pictures. I would like to know what the range of options is for the "Image Sequence Settings" in File->Open image Sequence... menu. Does is it go well beyond 1 second?
    Thanks!
    Chris

    Frames rates are from 10 seconds per frame up to 60 frames per second.
    I make many image sequence movies and just start with one frame per second.
    I then "add scaled" to a properly timed audio only file. This way you can get nearly any frame rate you could ever need.

Maybe you are looking for