Clip Intermittently Jumping to Later Frames

CaptainAKS
CaptainAKS Posts: 4 Just Starting Out*

I am working on a video, and I have one clip that is doing something strange: The clip will randomly insert a frame (or several between current frames) from later in the clip. This only happens when the clip is on the timeline, not in the viewer. And even then, it only shows up sometimes when I am scrubbing through or when I go frame-by-frame, but it ALWAYS shows up in the export. I change little things to try to get rid of it and the problem changes without any apparent pattern (more frames jumping, closer together, etc). Any idea on what to do? I have already tried to pull a new version of the clip, but the same thing happens. Here is a clip of the export.

Just for the record, the first transition is a separate composite shot, the problem clip is not part of that comp.

Comments

  • Triem23
    Triem23 Posts: 20,061 Ambassador

    Download MediaInfo (it's free), generate a Tree report for the problem video file and paste it here.

    My guess is the problem video is Variable Frame Rate (VFR). VFR can cause issues with any NLE, including Hitfilm. The solution is to transcode the video to Constant Frame Rate (CFR) before import to Hitfilm.

    All video from any phone or tablet is VFR. Most screen recorder video is also VFR.

    Assuming your video turns out to be VFR, let's talk about the fix.

    Starting at 23:40 in this video is a section on transcoding VFR to CFR with Handbrake, including optimized setting for speedy Hitfilm editing. Later sections show transcoding using other software, earlier sections discuss how digital video works, including a discussion of VFR.

    Once your video is transcoded, open your original project. Right click the problem video and select "Relink." Select the transcoded file. This swaps the original and transcoded versions in your project and preserves most of your edit. I say "most," because you'll have to step through your project and see if the transcode is causing any drift. If so, it's gonna be a few frames here and there. The "Slip Edit" tool will let you nudge your footage into place.

  • CaptainAKS
    CaptainAKS Posts: 4 Just Starting Out*

    Here is the report, I copied the text report instead of the tree because the tree report was not able to be copied (Unless you wanted a screengrab of that I suppose) :

    General

    Complete name              : D:\BASF Wallets & Journals\GX010627.MP4

    Format                  : MPEG-4

    Format profile              : Base Media / Version 1

    Codec ID                 : mp41 (mp41)

    File size                : 264 MiB

    Duration                 : 36 s 770 ms

    Overall bit rate             : 60.2 Mb/s

    Encoded date               : UTC 2021-01-09 10:00:03

    Tagged date               : UTC 2021-01-09 10:00:03


    Video

    ID                    : 1

    Format                  : HEVC

    Format/Info               : High Efficiency Video Coding

    Format profile              : [email protected]@Main

    Codec ID                 : hvc1

    Codec ID/Info              : High Efficiency Video Coding

    Duration                 : 36 s 770 ms

    Bit rate                 : 59.9 Mb/s

    Width                  : 3 840 pixels

    Height                  : 2 160 pixels

    Display aspect ratio           : 16:9

    Frame rate mode             : Constant

    Frame rate                : 59.940 (60000/1001) FPS

    Color space               : YUV

    Chroma subsampling            : 4:2:0

    Bit depth                : 8 bits

    Bits/(Pixel*Frame)            : 0.121

    Stream size               : 263 MiB (100%)

    Title                  : GoPro H.265

    Language                 : English

    Encoded date               : UTC 2021-01-09 10:00:03

    Tagged date               : UTC 2021-01-09 10:00:03

    Color range               : Full

    Color primaries             : BT.709

    Transfer characteristics         : BT.709

    Matrix coefficients           : BT.709

    Codec configuration box         : hvcC


    Audio

    ID                    : 2

    Format                  : AAC LC

    Format/Info               : Advanced Audio Codec Low Complexity

    Codec ID                 : mp4a-40-2

    Duration                 : 36 s 757 ms

    Bit rate mode              : Constant

    Bit rate                 : 192 kb/s

    Nominal bit rate             : 48.0 kb/s

    Channel(s)                : 2 channels

    Channel layout              : L R

    Sampling rate              : 48.0 kHz

    Frame rate                : 46.875 FPS (1024 SPF)

    Compression mode             : Lossy

    Stream size               : 849 KiB (0%)

    Title                  : GoPro AAC  

    Language                 : English

    Encoded date               : UTC 2021-01-09 10:00:03

    Tagged date               : UTC 2021-01-09 10:00:03


    Other #1

    ID                    : 3

    Type                   : Time code

    Format                  : QuickTime TC

    Duration                 : 36 s 770 ms

    Bit rate mode              : Constant

    Frame rate                : 59.940 (60000/1001) FPS

    Time code of first frame         : 10:09:36:58

    Time code, striped            : Yes

    Title                  : GoPro TCD  

    Language                 : English

    Encoded date               : UTC 2021-01-09 10:00:03

    Tagged date               : UTC 2021-01-09 10:00:03


    Other #2

    Type                   : meta

    Duration                 : 36 s 753 ms

    Bit rate mode              : Variable

    Duration_LastFrame            : -284


    Other #3

    Type                   : meta

    Bit rate mode              : Variable

    mdhd_Duration              : 36770

  • CaptainAKS
    CaptainAKS Posts: 4 Just Starting Out*
    edited July 30
  • CaptainAKS
    CaptainAKS Posts: 4 Just Starting Out*

    I have tried this now, but it is not working. It won't let me relink the file, I think because the new version is M4v, and the old is mp4. I tried dropping the new one in the timeline, exporting it, and using that exported mp4 to relink but the original problem persisted even then. Any advice? Thanks for the help thus far!

  • Triem23
    Triem23 Posts: 20,061 Ambassador

    Rename the M4V to MP4, and the relink should work. Sorry, I didn't think to specify that.