23.98 to 29.97 fps --- Capt Mench if you're out there help!!!

Hi again FCP community
We captured at 23.98 fps using 2:3:3:2 pulldown and edited in 24fps sequence....why??? Because without stress, our lives would be boring. No for real, the directors shoot their in 29.97 and 24P, etc...that's why we captured in 23.98fps
I exported the 24fps as QT mov and in Cinema Tools converted it to 23.98fps to be able to print to miniDV tape
My questions is there a way to bump the 23.98 to 29.97 or 30 fps and keep the sound in sync??? HELP!
If you need further explanation, please shoot me an email at [email protected] or [email protected]

answered

Similar Messages

  • My Cannon HF 100 native format is 50i but when iMovie loads it up it says the it is at 30 fps - for PAL 25fps 50 i would be ideal one would hav ethought - any experts out there. movies in NSTC seem to be without the interference patterns (jiggling leaves)

    my canon HF50 is set to a native 50i frame rate. When I load it into iMovie from the chip iMovie says it is at 30 fps. Interestingly editing it int NSTC (american TV format) I do not seem to get the horrible interference patterns (twitching leaves, vibrating paralell lines that I have with doing the same clips as PAL, )the british format).

    My daughter has had her Razr for about 9 months now.  About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!

  • Error message ''Disk Full' when trying to export with CS6, works fine in 5.5

    I get an error message when I try to export media in Premiere CS6 that I don't have in CS5.5
    I use export media for a AVCHD 60fps sequence with a few photoshop images on top of the main track. In the export settings I choose ''match sequence settings'' which gives me a .mpeg I- frame, 1920 x 1080 P, 60fps, quality 50, and a I tick the ''use maximum render quality'' check box at the bottom.
    It used to work fine but now I get a message: Disk Full where there is 1.5 TB free on the disk?
    I have the exact same sequence made in Premiere Pro CS 5.5 and it exports fine.
    It started to act weird after I used the queue for the first time and it went to the CS6 encoder.
    Since I used that once and it gave me that message for the first time, even when I try to do the same thing directly in Premiere CS6 , I always get the same error message.
    Question 2, is there a place to change the settings from 50 to 100 for the quality of this export profile?
    By the way I can export with other profiles without problems but this setting is the only one that I've seen that lets me keep my 60 frames per second in the export
    process. (Example: I can export this sequence in the H.264, 1920 x 1080, 30fps, high quality preset, using the maximum render quality in CS6)

    Hi Guys,
    Thanks for the input but if you read my message correctly and until the end I already can export to other settings and I want an answer to this problem. There's no logical explanation to why this suddenly wouldn't work with the same sequence that it used to do fine with and that CS 5.5 handles fine.
    As I said earlier this is the only setting that lets me export my sequence with the 60 fps, that I know of, for further and easier manipulation. As my main camera provides me with these 60 fps I'd really like to be able to have them left in that transition phase and, no, I'm not gonna give up until I know, really, what's going on and solve that problem. If this is a bug it needs to be fixed, if not I want to know what's happening.
    Also there's no answer to my question 2: Question 2, is there a place to change the settings from 50 to 100 for the quality of this export profile?
    So for you experts out there the question is still hanging.

  • Synching in FCP - Video at 24, but final cut reading BWAVS as 23.98!!!???

    Hi
    I have Arri D21 rushes transcoded to Apple Pro Res HQ at 24fps. I'm attempting to symch with seperate sound but for some reason the rushes are out of synch.
    When I drag the audio into a blank seq it seems to want to read the audio as running at 23.98 fps instead of 24.
    If I drag the audio in a seq set up for 24fps video a green process bar appears on the audio!
    The audio is running at 48Khz at 24 bit integer, they are broadcast wavs.
    can anyone out there help me?

    Then you did it right. Delete the audio, then change settings.
    The audio doesn't have a timer in it. Neither does the video.
    The video contains a specific amount of frames, regardless of how many seconds/minutes it took to capture those frames. The audio has a specific number of samples, regardless of how many seconds/minutes it took to capture those samples.
    One minute of audio will always match one minute of video, as long as the sequence settings match the acquisition settings. The problem I see often is that people confuse the video frame rate. 24p is not 24 true, it's 23.98. And when people say they shot 30 frames per second, usually (but not always) they mean 29.97. These are not subtle differences, they are monumental.
    So don't go by what someone told you. Open the clips and audio in whatever program you need to get the exact file specs. I tend to use MPEG Streamclip; if you go to FILE/Show Stream Info you'll get accurate specs on the true rates of both audio and video files. Quicktime Window/Show Movie Inspector will give you most of what Streamclip gives you, but not all.

  • Need help with compressor settings

    I hoped someone could help me with this. I have HD footage that has been captured in FCP as SD, so it's 4:3, with letter box so that the original 16:9 footage wasn't stretched.
    I need to make small Quicktime movies for streaming on the internet. I want to keep the proportions that I have, but I want to crop out the black letter box for a 320x180 video. How do I do this?
    I could also use help in determining which codecs to use. I want the best possible picture quality at a file size of less than 2MB per 1 min. of footage at the above dimensions.
    Please help if you can. Thanks!

    I'm also experimenting with the exact same thing. Only difference to yours - I am maintaining the 4:3. Here's what is giving me best results so far - the quality is very good, however I am still working on reducing the file size -> right now I'm at 4 MB/minute. I am trying get better file size only by slowly reducing the Kbps in the Video Settings until my results get unacceptable. All the rest remains as here - (my COMMENTS IN UPPER CASE):
    File Extension: mov
    Estimated file size: 970 KB
    (I'M USING A 15 SEC TEST CLIP)
    *Audio Encoder
    IMA 4:1, Stereo (L R), 22.050 kHz
    *Video Encoder
    Format: QT
    Width: 320
    Height: 240
    Pixel aspect ratio: square
    Crop: (L: 50, T: 50, R: 50, B: 50)
    (I'M CROPPING AWAY THE ACTION SAFE ZONE, KEEPING 4:3. YOU CAN ADJUST THESE SETTINGS TO YOUR LIKING IN THE GEOMETRY TAB.)
    Frame rate: 12
    (MY SOURCE IS DV PAL - THUS 12 FPS. IF YOU ARE USING NTSC YOU SHOULD GO FOR 15 OR EVEN 10 FPS. THIS WILL GIVE YOU HALF OF EVEN 1/3 FILE SIZE RESPECTIVELY)
    *Frame Controls:
    Retiming: Nearest Frame
    Resize Filter: Linear Filter
    Deinterlace Filter: Motion Adaptive
    Adaptive Details: Off
    Antialias: 0
    Detail Level: 0
    Field Output: Progressive
    *Codec Type: H.264
    Multi-pass: On, frame reorder: On
    Pixel depth: 24
    Spatial quality: 75
    Min. Spatial quality: 25
    Temporal quality: 50
    Min. temporal quality: 25
    *Average data rate: 0.512 (Mbps)
    I hope this helps you. Please let me know if you find out anything helpful to keep that quality, but reduce the file size! Good luck. Keep in touch!
    Jacques
    Message was edited by: Jacques Tarnero

  • Help with Compressor settings

    I have a motion animation that's in DVCPRO HD 1080/24P I have compressed it using the H.264 800kbps streaming codec. The file size is still a litle too big for web use. Will using the 300kbps cut down on the file size?

    I'm also experimenting with the exact same thing. Only difference to yours - I am maintaining the 4:3. Here's what is giving me best results so far - the quality is very good, however I am still working on reducing the file size -> right now I'm at 4 MB/minute. I am trying get better file size only by slowly reducing the Kbps in the Video Settings until my results get unacceptable. All the rest remains as here - (my COMMENTS IN UPPER CASE):
    File Extension: mov
    Estimated file size: 970 KB
    (I'M USING A 15 SEC TEST CLIP)
    *Audio Encoder
    IMA 4:1, Stereo (L R), 22.050 kHz
    *Video Encoder
    Format: QT
    Width: 320
    Height: 240
    Pixel aspect ratio: square
    Crop: (L: 50, T: 50, R: 50, B: 50)
    (I'M CROPPING AWAY THE ACTION SAFE ZONE, KEEPING 4:3. YOU CAN ADJUST THESE SETTINGS TO YOUR LIKING IN THE GEOMETRY TAB.)
    Frame rate: 12
    (MY SOURCE IS DV PAL - THUS 12 FPS. IF YOU ARE USING NTSC YOU SHOULD GO FOR 15 OR EVEN 10 FPS. THIS WILL GIVE YOU HALF OF EVEN 1/3 FILE SIZE RESPECTIVELY)
    *Frame Controls:
    Retiming: Nearest Frame
    Resize Filter: Linear Filter
    Deinterlace Filter: Motion Adaptive
    Adaptive Details: Off
    Antialias: 0
    Detail Level: 0
    Field Output: Progressive
    *Codec Type: H.264
    Multi-pass: On, frame reorder: On
    Pixel depth: 24
    Spatial quality: 75
    Min. Spatial quality: 25
    Temporal quality: 50
    Min. temporal quality: 25
    *Average data rate: 0.512 (Mbps)
    I hope this helps you. Please let me know if you find out anything helpful to keep that quality, but reduce the file size! Good luck. Keep in touch!
    Jacques
    Message was edited by: Jacques Tarnero

  • IDVD rendering, frame rate and pixellation

    I have a number of MPEG-4 movies which I handbraked from DVDs. As standalone files, these play in Quicktime player fluidly and clearly at real time - all looking fine. I've imported them into iMovie to edit bits of each which I didn't want: the iMovie preview still plays these looking good. Add transitions and chapters and save project.
    I then make an iDVD project, drag the iMovie file (the one with the star) into it and it works fine, automatically displaying the correct chapters and in preview, it still looks fine. I leave it overnight to Burn DVD (which renders each movie file etc)., and the the DVD plays in my DVD player machine BUT each file is more pixellated than the original PLUS it seems to have dropped the number of frames per second. This means that although the audio and video are in synch and realtime, it looks slowed down.
    My iDVD settings are for Best Performance. The project is 6GB and I used a double layer 8.5GB disc. Also set to PAL which is correct for the UK.
    I have tried many methods to make this disc. Why are these movies compressed again? There doesn't seem a need to compress them. Why is the frame rate not maintained when there is plenty of room on disc to avoid compression?
    All I want to do is make a viewable DVD of a collection of movies without this quality fall-off!
    Is it just a simple matter of saving as disc image and burning at a slower rate (how do you do that anyway?). If so, what's the point of this software?
    17 PowerBook G4   Mac OS X (10.4.2)  
    17 PowerBook G4   Mac OS X (10.4.2)  

    DVDs are heavily compressed MPEG-2 files.
    If you rip a DVD using Handbrake, it will expand the MPEG-2 file into an uncompressed video file, then compress it on the fly to MPEG-4. Also, it will either retain the original 24 or 25 or 29.97 FPS frame rate, or will transcode to 25 FPS (PAL).
    If you then import the MPEG-4 file into iDVD, it will take the MPEG-4 clip, uncompress it, then squeeze it back to MPEG-2, and because iDVD is intended for encoding DVDs of (especially) DV-25 material, it will transcode the frame rate to 25 FPS (PAL).
    What you have done there is to take a file compressed with a lossy compression scheme, recompress it with an even lossier compression scheme, then recompress it a third time to the original compression scheme (but probably a different bit rate).
    In digital video, compression artifacts (noise, blockiness, etc.) become visible with the initial compression stage. Even DV-25, which is compressed 5:1 with an adaptive sampling method, uses a 1-frame GOP (all I-frames) and is optimized for editing and post-processing, will show artifacts, especially "mosquito noise". Artifacting is worse in MPEG-2 and MPEG-4, especially as the GOP length gets longer, caused by prediction errors in trying to re-create data that isn't really there. If you take this compressed MPEG-2 image, re create it, then compress it again, you will add new artifacting to the already trashy looking picture. Very quickly your picture will degrade into something significantly worse than VHS as you add compression stages. By the time you do that third compression, going MPEG-2 to MPEG-4 and back to MPEG-2, you're lucky if you have a recognizable picture at all.
    If you are hacking up a DVD and you want to maintain quality, then iDVD is not the proper tool to use. Ideally you should limit yourself to editing on the GOP borders (if you're lucky, every scene starts with an I-frame...) so that you can snag a chunk of the original MPEG-2 stream and drop it unaltered into your new project. You could then burn the un-re-re-recompressed DVD compliant MPEG-2 stream back to the disc with something like Toast or Sizzle.
    --Dave Althoff, Jr.

  • Dropped frames during playback & must render everything & tried everything

    This is an updated question. My last posting for some reason did not include everything, such as my System Settings, A/V Settings, and View Settings. There also was no Preview option. Hope it works this time.
    I am editing a multiple camera project with a lot of color correction (to get the cameras to match up), and photo montages with motion and image compositing.
    I am getting way too many dropped frames during playback, and I have to render every little thing, even simple dissolves. It's taking forever to work like this, and is extremely counter productive. I have tried all the obvious things, but nothing seems to be working. Please help.
    I have a 17 inch Mac Book Pro, using OX 10.4.8, processor 2.16 ghz, Intel Core Duo, memory 2 gigs, 667 mhz, DDR2 SDRAM.
    Using FCP 5.1.4, and Quicktime 7.1.3
    My external hard drive is a 300 gig Maxtor One Touch II, firewire 800, 7200 rpm, which is divided up into 3 partitions of 100 gigs each:
    First Partition - 12.79 gigs left (did not use for this project. Mac OS Extended (Journaled)
    Second Partition - 44.53 gigs left. Currently using now. MAC OS Extended.
    Third Partition - 47.75 gigs left. (Used earlier - had another project on it and ran out of space so I switched to the second partition. The other project is now deleted which left me 47.75 gigs.) Mac OS Extended (Journaled).
    Here are my current settings that may be applicable:
    - Tried variations of playback control: safe and unlimited
    - Tried variations of playback video quality: dynamic, high, medium and low.
    - Tried variations of playback frame rate: dynamic, full, 1/2, and 1/4
    - Record to tape is at full quality.
    - Play Base Layer only: Tried on and off
    - Monitor Color LCD 1280 x 800 millions, NTSC/PAL 640 x 480 60 hertz NTSC. There is only one ntsc setting which is 60 hertz, so I am unable to increase it.
    - User Prefs - Real time audio mixing is at 2.
    - System Settings
    Memory Usage
    Application 100% (1820 MB)
    Still Cache 10% (167 MB)
    Thumbnail Cache
    Disk 8192 k
    Ram 512 k
    - A/V Settings
    Sequence Presets
    Frame size - 720 x 480 pixels
    Edit timebase - 29.97 fps
    Field Dominance - lower even
    Pixel Aspect Ratio - NTSC-CCIR 601/DV
    Anamorphic - Off
    Video Processing - YUV allowed (8 bit)
    White Point - White
    Compressor - dv/dvcpro-ntsc
    Millions of Colors (24 bit)
    No Date Rate Limit
    No Keyframes Set
    Quality - 100
    Audio Settings
    16-bit 48.000 kHz stereo
    View
    Video Playback - Digital Cinema Desktop - Full Screen
    Sequence
    Render All - Everything is checked.
    I haven't increase my memory aloted to fcp yet, cause I'm not sure how do it with this version. The article that I found was for the older version. Would that help? If so, could someone tell me exactly how to do it?
    Well, that's it. Hope one of you experts out there will be able to help me out.
    Thanks
    Anneita

    Even if you use Dynamic as your playback setting, depending on the complexity of the edit or composite, you may still get dropped frames. Keep in mind that the weak link in this chain is the FW800 connection. You also mentioned that you using quite a bit of color correction as well as motion effects. Depending on the color correction, the more that you add to your sequence as far as effects are concerned, the more processing is required. The dropped frames that you are experiencing is most likely the computer trying to maintain realtime playback at the expense of the quality of the picture. In order to really judge the final result, you'll need to render.
    The official definition of Dynamic Playback:
    This option allows Final Cut Pro to automatically change between high,
    medium, and low quality as necessary to maintain real-time playback. In this case,
    the quality of the video resolution can change frame by frame.

  • CSS code to change cursor to magnify symbol on hover over specific images

    Hi to you experts out there!  I'm having a problem getting my CSS code to work.  (I'm using Adobe CS4 Design Premium)
    The web pages I'm working on are a gallery of images, with linked thumb images to the left which when clicked show the complete image on the right of the page.  All 'main images' can also be clicked on to link to the next main image along, corresponding to the order of the thumbs. However, some 'main images' when clicked on are linked to larger, full page versions of an image.  In this instance I want the user to see the pointer/cursor to change from the little hand to a magnify symbol when hovering over these specific main images. This is where I can't get the css code to work/achieve this.
    For your info the main images reside in '#main_image' div.  There is a compound CSS Rule for the main image pic called 'main_image a img', for a 2px, white border.  There is then a hover state for this 'main_image a img:hover' where the border changes colour. (the main pic is assigned the ID 'img')
    I have created a new compound CSS Rule for specific main images, where I want the cursor to change to a magnify symbol, again corresponding to the '#main_image' div, named 'main_image a zoomin' and also a hover state, 'main_image a zoomin:hover'.  These two still have the same border attributes as above, 'a img' and 'a img:hover' (these main pics have been assigned the ID 'zoomin').  However, this is where I have also added CSS code for the cursor change.  I have tried 15 or so variations of the following, without success:
    #main_image a zoomin {
         cursor: url ('images/magnify.cur'), pointer;
         [then the border attributes...]
    and...
    #main_image a zoomin {
         cursor: url ('images/magnify.cur'), -moz-zoom-in, auto;
         [then the border attributes...]
    What am I doing wrong?  This can't be difficult!  Would welcome some help please!
    (Within the root directory: WinVista(C)/local_sites/sjcillustration/images' there are two files 'magnify.cur' (a downloaded img) and 'magnify.png' (my custom img - created in Illustrator, which I would actually prefer to use, but can't export as a .cur file). )

    Call me Capt. Obvious, but why can't you put a "magnify" icon next to or below the thumbnail image along with the words "Click to Zoom?"
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • NTSC/PAL Export/Import

    I am producing a short documentary that is split into two different sequences, one shot and edited in NTSC, and the other half of the program shot and edited in PAL. I need to export the NTSC sequence to my PAL sequence/timeline, in order to have the finished program all in/on the PAL timeline, to then export as a Quicktime movie to play the finished program on my internet tv channel, liverpooltelly.com.
    The NTSC sequence has already been downloaded and edited on my G5 Power PC, as has the PAL sequence. I just need to marry them together to give me one complete program in PAL.
    Anyone out there help?
    Tom

    Hi,
    You can either do this in compressor, or in After Efeects.
    I'd recommend After Effects, as I'm more familiar with it.
    But its a personal choice. Firstly you will have to export quicktime of your NTSC edit. You can bring this into After Effects or Compressor.
    You will need to scale it as NTSC is 720x480 whereas PAL is 720x576. This will result in a marginal loss of quality, but there is nothing you can do about it.
    When you are ready to render it out make sure that the field dominance is upper(odd) and the frame rate is 25 fps. The codec will also change. For example if your footage is DV-NTSC then your new codec will be DV-PAL.

  • Graphic driver problems ?

    Hello to all you courageous out there. Ready to read this ?
    Here's my little story of my problem:
    One year ago I bought a superb macbook pro 15" (early 2008), unfortunately I quickly noticed some problem with the display.
    This is how what it looked like (activate the HQ mode to better see the problem):
    http://www.youtube.com/watch?v=s-0dCONX6FY
    http://www.youtube.com/watch?v=tsak8n_P6ZY
    Description : vertical objects are torn apart when panning horizontally
    The symptoms appears right after start up, even when the mac is not warmed up yet. It happens during internet navigation when scrolling horizontally, also during youtube videos (or flash files), and all application using accelerated hardware. Graphic performance is not affected, but the results is ugly and realism takes a hit.
    I have tried the following :
    Clean install of leopard
    Reset PRAM
    Apple hardware test
    Updated to 10.5.6
    The problem is missing on my iMac (ATI Radeon 2400HD) or on Windows PCs : the display is clean.
    I posted this issue in different forums and I received two interesting answers :
    - My problem could be linked to the famous problem of faulty nvidia chips (Geforce 8600m GT)
    - A developer of Aspyr told me that it could be a serious problem of vertical synchronization, probably du to not optimized drivers
    Indeed, it's look like a strong tearing effect. Normally, the "vsync" option in games solves these types of problems, but it consumes a lot of FPS and this option is not available on OS X, or doesn't works with most games (DOOM 3 engine, Quake IV, Colin Mcrae Rally, UT2004 etc...). To have small problem of synchronization with frames is normal, but in my case, the magnitude is abnormally high.
    I decided finally to go see a service center and presented my problem to a technician, who agreed to my problem. He thought that I had a faulty video memory and change the mother board. But the problem continued. He then changed the screen and the hard disk without success.
    The technician then contacted Apple, and sent them a video of the problem.
    After 4 weeks I'v got my mac back and was told that Apple will contact me directly and that the issue will be solved with a future update of OS X.
    Apple remained vague about the solution and didn't contact me directly. I'm for sure not the only one who has this issue but so far I have not read anything about it on the internet. In view of the hight cost of a macbook pro, I would expect a clean display.
    Any ideas ?

    Hi,
    Unfortunaly, Mac OS 10.5.7 update didn't solve the problem. I decided to install windows to see it's a driver problem.
    I have exactly the same problem on :
    - Windows Xp 32 bit
    - Windows Vista 64 bit
    - Windows 7 RC 64 bit
    It was tested with Apple nvidia drivers (BC 2.1) and nvidia updated drivers (from nvidia website).
    Here how it look likes (enable HQ !) :
    http://www.youtube.com/watch?v=qfVgcu3TMks (doom 3 demo under Mac or PC)
    http://www.youtube.com/watch?v=XmlKNg79nQM (Mac OS)
    I haven't this screen tearing on my windows PC or on my iMac (ATI).
    I'v tested the graphic memory of my 8600M GT and no errors were detected and the graphic card performance seems fine (7800 pts with 3Dmark benchmar 05).
    Same problem with an external screen.
    Is this normal ? if it's not the drivers, graphic card, or the screen, what can it be ?
    Best regards,

  • DTT 3500 Help Me Please!

    Can anyone please help me how to connect my DTT 3500 speaker system to my p.c.,I'm a dummy when it comes to electronics,I recently bought these from an auction,with no instructions as I have a FPS 1000 with 2 speakers dead,however the DTT3500 are far more superior and I would dearly like to fit these instead. what I have is 4 sattelites with jacks, centre and woofer with clip ons and jacks, optic cable, I think is called a tandem cable with green(looks like p-c.plug) on one end and a red and white jack on other end,a transformer with plug to something and a remote control,I think I am missing something.
    My FPS 1000 speakers plug into the back of the woofer which is so much simpler, can anyone out there help a music lover pensioner.

    Tommorow I will send you scans of User's Guide
    http://forums.creative.com/t5/util/emoticonspopuppage
    http://forums.creative.com/i/smilies...miley-wink.gif
    User's Guide Creative Cambridge SoundWorks DTT3500:
    http://www.sendspace.com/file/i2xbrv
    Message Edited by lucass3 on 05-30-2009 10:35 PM
    Message Edited by lucass3 on 05-31-2009 07:21 AM

  • How do I fix the FPS in my platform game?

    Hi everyone! As part of a course in Gamemaking in school, my team created a platformer with a colission-map instead of tiles. This has worked out well for the most part.
    My problem is that we have a loop that updates and draws everything to the screen ( this is in windowed mode by the way ) . The game runs and the gameplay is ok.
    But it runs with different speed depending on the hardware. On my computer everything is slow, but on new computers the objects race back and forth like mad. Furthermore sometimes as the player dies and the level restarts, the player dies on the spot!
    From what I have read this is due to the fact that we haven´t fixed the FPS. But Im at a loss as to how im supposed to fix it. One sollution tells me to use a timer and then place logic inside actionPerforemed, but since I am using a loop inside run() this cant work.
    The program is divided into several classes, but the main logic residen in the class main,java
    public Main(){
              super("Mimic");
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);          
              setVisible(true);
              this.enableEvents(KeyEvent.KEY_PRESSED | MouseEvent.MOUSE_DRAGGED);     
              setSize(1280, 720);
              setResizable(false);
              setLocationRelativeTo(null);
              requestFocusInWindow();
              AudioPlayer.loadClip("transform", "sound/transform2.wav");
              AudioPlayer.loadClip("gameover", "sound/gameover.wav");
              AudioPlayer.loadClip("ambient", "sound/test.wav");
              AudioPlayer.loadClip("jump", "sound/jump.wav");
              //Cursor - 1x1px
              Toolkit toolkit = Toolkit.getDefaultToolkit();
              Image transparent = toolkit.getImage("images/empty_pixel.gif");
              Point hotSpot = new Point(0,0);
              Cursor game = toolkit.createCustomCursor(transparent, hotSpot, "transparent");
              setCursor(game);
              createBufferStrategy(3);
              transformationTimer = new Timer(1000, this);
              transformationTimer.setInitialDelay(0);
    geyserTimer = new javax.swing.Timer(1000, new ClockListenerGeyser());
    geyserTimer.start();
              mimicTimerBarBackground = new ImageIcon("images/mimic-bar-bgr.png").getImage();
              mimicTimerBar = new ImageIcon("images/mimic-bar.png").getImage();          
              start();
         }//public
    public void start(){
              (new Thread(this)).start();
         }//start
         public void run(){
              avatar = new Avatar();
         //Ambient sound
         //AudioPlayer.play("ambient", true); Musiken avstängd...
         loadLevel(Map.Levelname.LevelOne);
              //loadLevel(Map.Levelname.LevelTwo);
              long start = System.nanoTime();
              long delta = 0;
              long sleep;
              while(gameOn){ // game loop
                   tick(delta);
                   draw();                    
                   delta = System.nanoTime() - start;
                   sleep = DELAY - delta;
                   // detta är en test för att kolla om loopen fortfarande har tid kvar att göra saker, om den har det, sov och ge den en//
                   start = System.nanoTime();
                   //tick(delta);
                   //draw();               
              }//while
              System.exit(0);
    }//run
    //i den här metoden ligger allt motor, kollision, styrning och scrollning m.m
         public void tick(long tid) {
              float timeScale = tid/100000000f;
                   avatar.update(tid); //animationen uppdateras
                   currentMap.tick(tid);
                   // update mimics
    // lots of codes for Keys, colissionmap and more here.
         public void draw(){
              Graphics g = getBufferStrategy().getDrawGraphics();
              g.translate(-cameraX,-cameraY);          
              g.drawImage(currentMap.collisionMap, 0, 0, null);
         for(Background b: currentMap.getBackgrounds()){
              if(b.isVisible())
                   g.drawImage(b.getImage(),(int)b.getX(), (int)b.getY(), null);
         }//for
         for(MapItems mi: currentMap.getItemList()){
              g.drawImage(mi.getImage(),(int)mi.getX(), (int)mi.getY(), null);           
         }//for
         for(Mimics m: currentMap.getList()){
              if(m.getVisas()){
                   g.drawImage(m.getImage(), (int)m.getX(), (int)m.getY(), null);
              }//if
         }//for
         g.drawImage(avatar.getImage(), (int)avatar.getX(), (int)avatar.getY(), null);
         if (currentMap.levelname == Map.Levelname.LevelTwo){
              g.drawImage(grass, 0, 623, null);
         g.drawImage(key, cameraX+1000, cameraY+72, null);
         g.drawImage(sekLevel, 800, 580, null);
              //Visar timern om den är aktiv
              if (transformationTimer.isRunning()) {
                   g.drawImage(mimicTimerBarBackground, cameraX+509, cameraY+72, null);
                   g.drawImage(mimicTimerBar, cameraX+514, cameraY+77, (int)(cameraX+514+(200/20)*transformationTime), cameraY+77+30, 0, 0, (int)(200/20)*transformationTime, 30, null);
              g.setColor(Color.red);      
              g.dispose();
         getBufferStrategy().show();
         }//void
    I figure I got to put a timer to fix the FPS somewhere in here, but where?
    Any help is greatly appreciated!
    Regard,
    Gabriel

    Speed should be 'tick' based. The way I do it, with silky smooth results, is to lock the game to a framerate. That part is quite easy, all you do is calculate at what interval you want to update. Say you want 60FPS, it becomes:
    interval = 1000 / 60 (interval = 17ms).
    So if you want 60FPS, you have to update and draw every 17 milliseconds. That sounds like a short time, but for computers it really is not.
    Okay, so you have your game loop. while(true) { update(); render(); }. The body of this loop should execute every 17ms (it won't be that precise, but it will be good enough). It goes a little something like this:
    while(running){
    long measure1 = currentTimeInMillis();
    update();
    render();
    long measure2 = currentTimeInMillis();
    long diff = measure2 - measure1;
    Thread.sleep(17-diff); // sleep until next tick
    }This will have the game ticking at 58-61 FPS, depending on the timing precision of the OS - you'll find that on Linux OSes the framerate is far more steady than on Windows environments for example, in Java at least. Its just the sleep call that is far from precise.
    Now you will want to make movement based on the framerate - the way I do that is to work with float measurements. For movement speed I say 'every tick, move X.X pixels', where I keep the units in increments of 0.5 pixels. This means that moving game entities can go as slow as 0.5 pixels each tick in my games, which is slow enough for most of them. In the end when determining the actual pixel locations, the floats are rounded down to ints.
    I hope that makes some sense.

  • Best Practice for 8mm 18 fps movies

    I've just transferred a bunch of old 8mm home movies as image sequences. They were shot at 18 frames per second and transferred frame-for-frame as a series of TIFFs.
    My goal is to edit these things in an 18 fps timeline and then export the finished video as an 18 fps quicktime -- then post them  on Vimeo. It seems  that this will produce the smallest amount of artifacting.
    I've imported the clips and set their frame rate in "Interpret Footage". And I've created sequences at 18 fps by dragging a clip to the new sequence icon. My problem now is how to export. All the export options limit you to a menu of framerates -- but the menu doesn't include 18 fps. FLV let's you set a "same as source" framerate, but I'd prefer to create quicktimes. I know that I can do this in After Effects, but it's easier to do the editing work in Premiere.
    Anybody have any suggestions how I can output at 18 fps? And will Vimeo (or any other video hosting service) accept that rate? And if this won't work, then what's the best way to get them to 24 fps? Would that be Twixtor?
    Many thanks to anybody who can offer any suggestions --
    Steve

    For what it's worth, I ended up doing all the work in After Effects. It's much easier to edit in Premiere, but all the effects work I had to do was easier in AE and I didn't like worrying about that Intermediate Frame Rate issue.
    Other Notes:
    Vimeo is happy to show an 18 fps file. They don't say so in the docs, but if you ask their terrific support people, they'll tell you. I ended up creating a countdown timer, uploaded it, played it back and checked it with a stopwatch -- it played perfectly at 18. (I have a Plus account, which might make a difference, but I don't think so.)
    AE won't render an MP4 file at 18 fps. If you ask it to render an 18 fps timeline as an MP4, you get a 15 fps MP4. So you have to make an H.264 Quicktime, which can be any framerate. And as far as I can tell mp4 files can work at any frame rate, but AE will only create them at standard rates. If anybody knows a better way to create an 18 fps file that Vimeo will accept, I'd love to know it.
    Thanks to all of you for your input --
    Steve

  • HD Scaling to 960x540@30 fps or 1280x720@24 fps?

    Wondering what the best way is to get source material (1080i or 720p, 60 fps) onto the ATV with the least quality degredation, two target file options being 960x540@30 fps and 1280x720@24 fps. Based on a little bit of fooling around, seems like former maybe looks the best (my display a large 1080p), latter has better resolution, but picture is a little jumpy, presumably from the reverse 3:2 pulldown that I suppose is happening. I am working with source material from EyeTV, if anyone thinks that makes a difference. And actually, exporting from EyeTV to 24fps might give a smoother result than exporting at 60 fps and doing the 24fps conversion with Quicktime. Not a lot of good information on this stuff out there, which I find surprising. Maybe an opportunity for someone!

    Changing frame rate wouldn't be something I would do, but I have compared 720p and 540p at 25 fps, 25 fps is our native frame rate in PAL land and unlike 30 fps is accepted by the tv at 720p.
    See my comparisons.
    I suspect the fact that 540p is exactly half the vertical resolution has a great deal to do with things, but any difference there is, isn't worth the additional work of applying manual settings in my opinion, indeed I'm not so sure the slight difference is in favour of 720p anyway.

Maybe you are looking for

  • Will 2D objects in java.awt.geom.* be Serializable in next version of Java?

    I am pretty frustrated about having to write my own Serializable classes. I'm not sure if this is the right place to ask, but will the next version of Java supports Serializable 2D objects? Further, I was trying to write my own class to extend java.a

  • How to use the Managed Review and Approval

    Hi, I'm a RIA Consultant at iDA MediaFoundry, Adobe Gold Partner in Belgium. I'm trying to figure out how the new solution accelerators work and how we can use them in the solutions that we develop for clients. I'm a bit stuck though with the Managed

  • IOS 6, HDCP, AirPlay via iPad or iPhone or MacBook Air = not working

    I upgraded to iOS6 and Mountain Lion 10.8.2 this week. Now I'm having all kinds of problems with streaming content from my devices via my ATV2. I keep getting an error that the content or device is not HDCP compliant (or words to that effect) so I ca

  • Restoring backed up iTunes to sync to Nano

    I had to restore my hard drive, but did back up my iTunes folder. Now when i try to access the application I get " file of iTunes Library.it cannot be read because it was created by a newer version of iTunes". I would like to keep content on iPod so

  • Getting parseFloat to take things like "$1.0054e+10"

    Hi, I need to read in an excel file, some of the columns of which should be floating point numbers. The problem is that the format of the data in these columns can't be guaranteed, I may or may not get $ signs, I might get the 'e' exponential thing,