Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Apple Final Cut Pro Legacy Key frames and H.264. Off by 1/1000

  • Key frames and H.264. Off by 1/1000

    Posted by Kelly Kendziorski on September 15, 2010 at 10:01 pm

    I am working in Final Cut 6.0.5 and need to export an H.264 video at 15fps with a keyframe every 15 frames. We are then embedding this video into a custom player that relies on these key frames for navigation functionality. The original sequence is 29.97, and I’m using the Export>Quicktime Conversion options set the frame rate and key frames.

    When it outputs, the keyframes should be every second on the second, but instead they are coming out every 1.001 seconds. So, the sequences goes: 1.001, 2.002,3.003 and so on. It’s not a big deal in the fist few minutes, but this is a two-hour long video, and as it progresses, the key frames get farther and farther off.

    Does anyone here have any idea why this is happening, and more importantly, how to fix it? We don’t necessarily need every key frame to be at x.000, but they do need to be one second apart.

    Thanks!

    Kelly Kendziorski replied 15 years, 6 months ago 3 Members · 6 Replies
  • 6 Replies
  • John Fishback

    September 15, 2010 at 10:11 pm

    You might export a self-contained QT using current settings, and then use Compressor to encode the file. QT Conversion has issues now and then.

    John

    MacPro 8-core 2.8GHz 8 GB RAM OS 10.5.8 QT7.6.4 Kona 3 Dual Cinema 23 ATI Radeon HD 3870, 24″ TV-Logic Monitor, ATTO ExpressSAS R380 RAID Adapter, PDE enclosure with 8-drive 6TB RAID 5
    FCS 3 (FCP 7.0.3, Motion 4.0.3, Comp 3.5.3, DVDSP 4.2.2, Color 1.5.3)

    Pro Tools HD w SYNC IO & 192 Digital I/O, Yamaha DM1000, Millennia Media HV-3C, Neumann U87, Schoeps Mk41 mics, Genelec Monitors, PrimaLT ISDN

  • Kelly Kendziorski

    September 16, 2010 at 12:21 am

    We tried exporting through Compressor, but I was not successful inserting keyframes every second in an h.264 file. Do you know how to do that?

  • Rafael Amador

    September 16, 2010 at 4:42 am

    Take any of the H264 clips and delete the TC track (Clip properties) and see how its works.
    rafael

    http://www.nagavideo.com

  • Kelly Kendziorski

    September 16, 2010 at 4:28 pm

    Thank you! I had read that NTSC was offset from 30fps by 1/1000, but I didn’t know what to do with that information. That explanation is just what I was hoping for!

  • Kelly Kendziorski

    September 21, 2010 at 3:49 pm

    So, that solution worked beautifully, except the key frame for every 8th second is off. We’re speculating it’s because 1/15 = 6.666666666666, repeating and there’s some crazy math that throws it off on the 8th second, but that’s just a guess. We found a way to work around it in our player, but we’re still wondering what’s going on. Any ideas?

  • Kelly Kendziorski

    November 23, 2010 at 5:00 pm

    I gave up on this and didn’t see your reply until just now.

    The answer to your “why” question is both. It’s a highly specialized situation and there are folks here trying to get it perfect. It would be great if it all worked out that way, but I remain completely out of ideas. Thankfully, this problem was solved through the magic of the programmers.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy