• Most new users don't bother reading our rules. Here's the one that is ignored almost immediately upon signup: DO NOT ASK FOR FANEDIT LINKS PUBLICLY. First, read the FAQ. Seriously. What you want is there. You can also send a message to the editor. If that doesn't work THEN post in the Trade & Request forum. Anywhere else and it will be deleted and an infraction will be issued.
  • If this is your first time here please read our FAQ and Rules pages. They have some useful information that will get us all off on the right foot, especially our Own the Source rule. If you do not understand any of these rules send a private message to one of our staff for further details.
  • Please read our Rules & Guidelines

    Read BEFORE posting Trades & Request

Video Stuttering

asterixsmeagol

Well-known member
Donor
Faneditor
Messages
2,041
Reaction score
940
Trophy Points
128
bionicbob pointed out a strange video playback issue in my Picard edit that I think is due an issue in Vegas. Most of the video playback is fine, but a few random segments have stuttering video, as if they are playing at the wrong frame rate. These segments to not correspond to specific clips in the timeline, they're just random bits. All of the inputs and outputs are at constant 23.976 fps.

For reference, here is my standard work process:
  • Rip Blu-ray disk with MakeMKV
    • Creates a separate .mkv file for each episode with the unaltered video and audio streams from the disc
  • Convert file with AviDemux
    • MP4 container (for compatibility with Vegas)
      • Copy video stream (to prevent reduction in video quality)
      • Convert audio to 5.1 640 kbps AAC (for compatibility with Vegas)
      • Sample of file attributes that I can see with MediaInfo:
        General
        Complete name : C:\Video Editing\Star Trek\Picard\s02e02 - Penance.mp4
        Format : MPEG-4
        Format profile : Base Media
        Codec ID : isom (isom/iso2/avc1/mp41)
        File size : 10.9 GiB
        Duration : 54 min 21 s
        Overall bit rate mode : Variable
        Overall bit rate : 28.6 Mb/s
        Frame rate : 23.976 FPS
        Writing application : Lavf58.76.100

        Video
        ID : 1
        Format : AVC
        Format/Info : Advanced Video Codec
        Format profile : [email protected]
        Format settings : CABAC / 4 Ref Frames
        Format settings, CABAC : Yes
        Format settings, Reference frames : 4 frames
        Format settings, GOP : M=3, N=24
        Codec ID : avc1
        Codec ID/Info : Advanced Video Coding
        Duration : 54 min 21 s
        Source duration : 54 min 21 s
        Bit rate mode : Variable
        Bit rate : 28.0 Mb/s
        Maximum bit rate : 34.0 Mb/s
        Width : 1 920 pixels
        Height : 1 080 pixels
        Display aspect ratio : 16:9
        Frame rate mode : Constant
        Frame rate : 23.976 (24000/1001) FPS
        Standard : NTSC
        Color space : YUV
        Chroma subsampling : 4:2:0
        Bit depth : 8 bits
        Scan type : Progressive
        Bits/(Pixel*Frame) : 0.563
        Stream size : 10.6 GiB (98%)
        Source stream size : 10.6 GiB (98%)
        Color range : Limited
        Color primaries : BT.709
        Transfer characteristics : BT.709
        Matrix coefficients : BT.709
        mdhd_Duration : 3261383
        Codec configuration box : avcC

        Audio
        ID : 2
        Format : AAC LC
        Format/Info : Advanced Audio Codec Low Complexity
        Codec ID : mp4a-40-2
        Duration : 54 min 21 s
        Source duration : 54 min 21 s
        Bit rate mode : Constant
        Bit rate : 640 kb/s
        Channel(s) : 6 channels
        Channel layout : C L R Ls Rs LFE
        Sampling rate : 48.0 kHz
        Frame rate : 46.875 FPS (1024 SPF)
        Compression mode : Lossy
        Stream size : 248 MiB (2%)
        Source stream size : 248 MiB (2%)
        Language : English
        Default : Yes
        Alternate group : 1
        mdhd_Duration : 3261482
  • Create Vegas project
    • 1920x804 (removes black bars)
    • Field Order: None (progressive scan)
    • Pixel Aspect Ratio: 1.000 (Square)
    • Frame Rate: 23.976 (IVTC Film)
    • Stereoscopic 3D Mode: Off
    • Pixel Format: 8-bit
    • Full-resolution Rendering Quality: Best
    • Motion Blur Type: Gaussian/Pyramid Box (I've tried all three)
    • Deinterlace Method: None
    • Resample Mode: Disable Resample
    • Adjust Source Media to Better Match Project or Render Settings: Yes/No (I've tried both)
  • Render Video/Audio
    • ProRes 422 (HQ) video
      • MediaInfo (sample render of just the problematic scene)
        General
        Complete name : C:\Video Editing\Courtyard (ProRes).mov
        Format : QuickTime
        Format/Info : Original Apple specifications
        File size : 165 MiB
        Duration : 10 s 844 ms
        Overall bit rate mode : Variable
        Overall bit rate : 128 Mb/s
        Frame rate : 23.976 FPS
        Encoded date : 2023-09-10 15:10:51 UTC
        Tagged date : 2023-09-10 15:10:51 UTC

        Video
        ID : 1
        Format : ProRes
        Format version : Version 1
        Format profile : 422 HQ
        Codec ID : apch
        Duration : 10 s 844 ms
        Bit rate mode : Variable
        Bit rate : 128 Mb/s
        Width : 1 920 pixels
        Height : 804 pixels
        Display aspect ratio : 2.40:1
        Frame rate mode : Constant
        Frame rate : 23.976 (24000/1001) FPS
        Color space : YUV
        Chroma subsampling : 4:2:2
        Scan type : Progressive
        Bits/(Pixel*Frame) : 3.447
        Stream size : 165 MiB (100%)
        Writing library : dp4
        Language : English
        Encoded date : 2023-09-10 15:10:51 UTC
        Tagged date : 2023-09-10 15:10:51 UTC
        Color primaries : BT.709
        Transfer characteristics : BT.709
        Matrix coefficients : BT.709
    • 5.1 512 kbps AAC audio (Vegas max bitrate)
  • Mux video and audio in MKVToolNix
  • Re-encode with Handbrake
    • Video:
      • Video Encoder: H.264 (x264)
      • Framerate (FPS) 23.976 Constant
      • Constant Quality: 20 RF
      • Encoder Speed: Very Slow
    • Audio: AAC Passthru
    • General
      Complete name : \\Plex\Fanedits\Star Trek\Picard - The Watcher.mp4
      Format : MPEG-4
      Format profile : Base Media / Version 2
      Codec ID : mp42 (mp42/iso2/avc1/mp41)
      File size : 3.79 GiB
      Duration : 3 h 11 min
      Overall bit rate : 2 837 kb/s
      Frame rate : 23.976 FPS
      Encoded date : 2023-08-10 01:15:00 UTC
      Tagged date : 2023-08-10 01:15:00 UTC
      Writing application : HandBrake 1.6.1 2023012300

      Video
      ID : 1
      Format : AVC
      Format/Info : Advanced Video Codec
      Format profile : Main@L4
      Format settings : CABAC / 5 Ref Frames
      Format settings, CABAC : Yes
      Format settings, Reference frames : 5 frames
      Codec ID : avc1
      Codec ID/Info : Advanced Video Coding
      Duration : 3 h 11 min
      Bit rate : 2 318 kb/s
      Width : 1 920 pixels
      Height : 804 pixels
      Display aspect ratio : 2.40:1
      Frame rate mode : Variable
      Frame rate : 23.976 (24000/1001) FPS
      Minimum frame rate : 23.974 FPS
      Maximum frame rate : 23.981 FPS
      Color space : YUV
      Chroma subsampling : 4:2:0
      Bit depth : 8 bits
      Scan type : Progressive
      Bits/(Pixel*Frame) : 0.063
      Stream size : 3.10 GiB (82%)
      Writing library : x264 core 164 r3100 ed0f7a6
      Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x1:0x131 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=25 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
      Encoded date : 2023-08-10 01:15:00 UTC
      Tagged date : 2023-08-10 01:15:00 UTC
      Color range : Limited
      Color primaries : BT.709
      Transfer characteristics : BT.709
      Matrix coefficients : BT.709
      Codec configuration box : avcC

      Audio
      ID : 2
      Format : AAC LC
      Format/Info : Advanced Audio Codec Low Complexity
      Codec ID : mp4a-40-2
      Duration : 3 h 11 min
      Bit rate mode : Constant
      Bit rate : 512 kb/s
      Channel(s) : 6 channels
      Channel layout : C L R Ls Rs LFE
      Sampling rate : 48.0 kHz
      Frame rate : 46.875 FPS (1024 SPF)
      Compression mode : Lossy
      Stream size : 701 MiB (18%)
      Title : Surround / Surround
      Language : English
      Default : Yes
      Alternate group : 1
      Encoded date : 2023-08-10 01:15:00 UTC
      Tagged date : 2023-08-10 01:15:00 UTC
Here is a folder with some rendered clips to compare.
  1. Courtyard (AviDemux):
    • Ripped Blu-ray with MakeMKV
    • Converted to MP4 with AviDemux, only taking the segment in question
  2. Courtyard (AviDemux + Handbrake)
    • Re-encoded #1 in Handbrake
  3. Courtyard (Vegas ProRes + Handbrake)
    • Ripped Blu-ray with MakeMKV as above
    • Converted to MP4 with AviDemux (whole episode)
    • Imported into Vegas and trimmed to the courtyard segment
    • Rendered ProRes video and AAC audio
    • Muxed MKV in MKVToolNix
    • Re-encoded in Handbarke
  4. Courtyard (Vegas AVC)
    • Same as #3 except rendered as .mp4 with AVC video and AAC audio directly from Vegas as a single file, no muxing required
  5. Courtyard (Vegas AVC + Handbrake)
    • Re-encoded #4 in Handbrake
 
Last edited:
Looking through your outputs, I would say Variable Frame Rate in Handbrake is the problem. You said it was Constant but...

Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Minimum frame rate : 23.974 FPS
Maximum frame rate : 23.981 FPS
Something's going on there.
 
Huh. That is strange. The toggle is definitely set to Constant in Handbrake, any ideas on what would make Handbrake ignore that or how I can make it actually do what it's told?

And for comparison, how does #4 look to you, since it isn't going through Handbrake at all?
 
Huh. That is strange. The toggle is definitely set to Constant in Handbrake, any ideas on what would make Handbrake ignore that or how I can make it actually do what it's told?

And for comparison, how does #4 look to you, since it isn't going through Handbrake at all?
Mega is trying to make me log in instead of letting me see the files.

The only idea I have is to try setting Constant again, but then changing the actual value setting. Whether it's "Same as Source" or "23.976", whichever one, switch to the other one and see if that forces it to work. If not, then it sounds like a software bug, in which case the only other idea I have is to see if there's either a newer or older version of handbrake that won't do that.
 
Sorry, I forgot to include the key on the Mega link. It should work now.
 
Sorry, I forgot to include the key on the Mega link. It should work now.
Unfortunately I am seeing stuttering in that clip, when I scrub slowly through, frame-by-frame, I am seeing duplicated frames, but in a seemingly random pattern rather than a consistent every X number of frames there's a duplicate. So are you SURE this didn't go through handbrake, because if not then your video gets a variable frame rate before that point in your workflow, and if that's the case then perhaps Handbrake is set to "same as source" and simply carrying over what's already there.
 
Vidoes #1 and #2 do not go through Vegas, and do not appear to stutter (to my eye)
Videos #1 and #4 do not go through Handbrake, and do not have the min/max frame rates listed. However, I think #4 does have the stutter.

This leads me to believe that the error is somehow coming from Vegas itself, but I have no idea why.

Media Info reports:
General
Complete name : C:\Picard\Courtyard (AviDemux).mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 43.9 MiB
Duration : 10 s 816 ms
Overall bit rate mode : Variable
Overall bit rate : 34.0 Mb/s
Frame rate : 23.976 FPS
Writing application : Lavf58.76.100

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 10 s 678 ms
Source duration : 10 s 636 ms
Bit rate mode : Variable
Bit rate : 34.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.684
Stream size : 43.1 MiB (98%)
Source stream size : 43.1 MiB (98%)
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
mdhd_Duration : 10677
Codec configuration box : avcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 10 s 816 ms
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 845 KiB (2%)
Language : English
Default : Yes
Alternate group : 1
General
Complete name : C:\Picard\Courtyard (AviDemux + Handbrake).mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp42/iso2/avc1/mp41)
File size : 4.63 MiB
Duration : 10 s 816 ms
Overall bit rate : 3 591 kb/s
Frame rate : 23.976 FPS
Encoded date : 2023-09-10 15:32:25 UTC
Tagged date : 2023-09-10 15:32:25 UTC
Writing application : HandBrake 1.6.1 2023012300

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4
Format settings : CABAC / 5 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 5 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 10 s 719 ms
Source duration : 10 s 677 ms
Bit rate : 2 982 kb/s
Width : 1 920 pixels
Height : 804 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Minimum frame rate : 23.974 FPS
Maximum frame rate : 23.981 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.081
Stream size : 3.80 MiB (82%)
Source stream size : 3.80 MiB (82%)
Writing library : x264 core 164 r3100 ed0f7a6
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x1:0x131 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=25 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Encoded date : 2023-09-10 15:32:25 UTC
Tagged date : 2023-09-10 15:32:25 UTC
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
mdhd_Duration : 10677
Codec configuration box : avcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 10 s 816 ms
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 845 KiB (18%)
Title : Surround / Surround
Language : English
Default : Yes
Alternate group : 1
Encoded date : 2023-09-10 15:32:25 UTC
Tagged date : 2023-09-10 15:32:25 UTC
General
Complete name : C:\Picard\Courtyard (VegasProRes + Handbrake).mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp42/iso2/avc1/mp41)
File size : 4.28 MiB
Duration : 10 s 845 ms
Overall bit rate : 3 308 kb/s
Frame rate : 23.976 FPS
Encoded date : 2023-09-10 15:40:19 UTC
Tagged date : 2023-09-10 15:40:19 UTC
Writing application : HandBrake 1.6.1 2023012300

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4
Format settings : CABAC / 5 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 5 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 10 s 845 ms
Bit rate : 2 789 kb/s
Width : 1 920 pixels
Height : 804 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Minimum frame rate : 23.974 FPS
Maximum frame rate : 23.981 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.075
Stream size : 3.61 MiB (84%)
Writing library : x264 core 164 r3100 ed0f7a6
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x1:0x131 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=25 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Encoded date : 2023-09-10 15:40:19 UTC
Tagged date : 2023-09-10 15:40:19 UTC
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
mdhd_Duration : 10844
Codec configuration box : avcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 10 s 838 ms
Bit rate mode : Constant
Bit rate : 512 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 678 KiB (15%)
Title : Surround / Surround
Language : English
Default : Yes
Alternate group : 1
Encoded date : 2023-09-10 15:40:19 UTC
Tagged date : 2023-09-10 15:40:19 UTC
General
Complete name : C:\Picard\Courtyard (Vegas AVC).mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp42/isom)
File size : 19.0 MiB
Duration : 10 s 844 ms
Overall bit rate mode : Variable
Overall bit rate : 14.7 Mb/s
Frame rate : 23.976 FPS
Encoded date : 2023-09-10 15:37:42 UTC
Tagged date : 2023-09-10 15:37:42 UTC

Video
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 2 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 2 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 10 s 844 ms
Bit rate mode : Variable
Bit rate : 14.2 Mb/s
Maximum bit rate : 16.0 Mb/s
Width : 1 920 pixels
Height : 804 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.385
Stream size : 18.4 MiB (97%)
Language : English
Encoded date : 2023-09-10 15:37:42 UTC
Tagged date : 2023-09-10 15:37:42 UTC
Codec configuration box : avcC

Audio
ID : 1
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 10 s 816 ms
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 592 KiB (3%)
Language : English
Encoded date : 2023-09-10 15:37:42 UTC
Tagged date : 2023-09-10 15:37:42 UTC
General
Complete name : C:\Picard\Courtyard (Vegas AVC + Handbrake).mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp42/iso2/avc1/mp41)
File size : 4.72 MiB
Duration : 10 s 845 ms
Overall bit rate : 3 654 kb/s
Frame rate : 23.976 FPS
Encoded date : 2023-09-10 15:43:33 UTC
Tagged date : 2023-09-10 15:43:33 UTC
Writing application : HandBrake 1.6.1 2023012300

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4
Format settings : CABAC / 5 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 5 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 10 s 845 ms
Bit rate : 3 199 kb/s
Width : 1 920 pixels
Height : 804 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Minimum frame rate : 23.974 FPS
Maximum frame rate : 23.981 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.086
Stream size : 4.14 MiB (88%)
Writing library : x264 core 164 r3100 ed0f7a6
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x1:0x131 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=25 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Encoded date : 2023-09-10 15:43:33 UTC
Tagged date : 2023-09-10 15:43:33 UTC
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
mdhd_Duration : 10844
Codec configuration box : avcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 10 s 816 ms
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 592 KiB (12%)
Title : Surround / Surround
Language : English
Default : Yes
Alternate group : 1
Encoded date : 2023-09-10 15:43:33 UTC
Tagged date : 2023-09-10 15:43:33 UTC
 
Last edited:
I have had the same issue, and my process and programs are completely different than yours. When it has happened to me, I have tried many solutions and none seem to work. It’s like, when it decides it’s going to do this, it’s going to do it, no matter what. The only solution I have found (solution probably isn’t even the right word, workaround is probably more appropriate) is to take that portion that is stuttering and render it on its own. Separate from the full edit. Then, if it rendered clean, take that rendered clip and place it in the full edit and render the full edit that way. I know this wouldn’t be the recommended way to do it, but it’s the only fix I have found.
 
1 and 2 look fine here, while 3-5 definitely stutter. It has the look of something with a bitrate my PC simply can't handle.
 
Yes, following Bailey's advice, I did try just rendering that little clip all alone so that I could try replacing it in my main Vegas project. All I did for this was take Video 1 (which plays perfectly), loaded it into a Vegas project all by itself, and rendered the video as a ProRes video. Unfortunately, to answer futon88's question, yes that ProRes video stutters. I've added it to the same Mega folder as a new Video 6.

As you all saw above, the MediaInfo report on Video 1 showed
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
with no max/min frame rate. It truly is 23.976 fps. For some reason I just decided to check what Vegas thinks the framerate is, and lo and behold, it is a very strange 24.070 fps!
AKsag4PO2_9u1J1PSGXFTOR2B1hMdClRqQiGnyzIB8Jiaq5QHE1L9VrkmFKA_tbxGlt3ShmQpPyZ49yrnUGCfybEUvZgzXv6CWJy1g7dpcGNVMxmFzocRdhHAT2l7X0-qyFDmWadUV4xZu7WjnTzb0uKVO7ihi-ZcYaemuAEQ2M55E2ltK4aQxVq7OFVJF7j1X-wFrpvv9Zvzh3cLHj-6nW0VPzxjPPGrVzDrCeOaAGeOeSbFiHaEVqdY22hGBHAo4Cmrvf8aCzVyaTtYIk_s4Wnnpvv1iC3_g0S1RFBYyxHFDxdJk2OTqMNj7X2DZM1RC6uE7EMPlB-3ID1sizHJe6oSruYoqHyfp9bndy_VAhTetcZkYkxHGJdDUS46yZ5b3vH2MyhedA0hX4owA9eTNpScc6H6oWBNZ57gbl2UobP4bNSWvpmjGgPllxXzaZ9WkB_qDunUwS9MEnLk-Y1JUnyoqxQsdiFYK6fuTqWVAqc7kvtu91yN2R5Ge8FjnAagqf-tlANbJ3zI3sTcsALVs6KLyLx0atO5E91UTEbxnXPE9G9kXQxEN5V--Dgy2rzfhQexkXPAOwfoP78kvuQ7h9WyEeN3YLbPqnJwbaMpDwsHf_2pOxVIm2zQbhQ6tFCaKGwioKXM7o8rcufdC_oZsv07GFY-rCEWMMYZpIQnETBR7DQ9QO4kxLWHaxQxYcjK_ojAXpWEG4xcwZfCdu91JepGALLWKmCaAGGHH6dyqQGgzL1Gs6YSyvO-4XmslmlkDb8f9S6iii7dLPyPGXJyEDD3HGAsUqme1y9wjB6v_VcgOEeCAoTSvT56Sd3vRn6Xzlhxge1uVWRxMJ4IqO58dNcNeBB-jiiyMZXOXpXT41_R27rypzTaYC6vq7Ksl76roMLTf1XLO6Hg8WU3JQRki1CXSzHsAPlkfsgaOvCjOCsZfXRUf4pbq5cJJ574xL0TUZxyNVYBRKtooeAuU9ZIf_hoa6kzrbKunUUKQ4_GT4PCbug46yY4avu28fjWfAuDygHTgb897AMbeHAv1Jr2gwSBPpczQRwVac9KJldVeElNME3zdgXfPIJhpy2a1C_sdCBGlZqsxw065oGMR7J8qYQRiVb_8gQ-xdY9pb36waPRMcOA76O3vZq-kteeB5EQBSdxzgcfN5TOTayMpxJ3hFYx1qYit9Co0oLGaRa_LwTSVesQuySaFcjBXaw7DVrdEWw2KSNPl0bH2sDaULaT3skipE96cOYMRekyLdNV-oYj5Tew4PBGJ27li0y2njRB3dQHBjSK6kcDGUhIui_tlRYAwgcYn_5N8y3GQx55eUuE0NILUH57_NTcU1w9AcgFdqAFGNO_mBDWQ6qEKgnubbeQl6x0Iqj3LF8RggxCqQzZvJa_ONUjPM8GnWJ4-fkJ_K-M6k9YzM-oy4vWLvT_e2TkXk7P5stRuqdqXJHiYWLEIFAroWgnEKLJ1gbFqkxVTdGmuOryA-MgEI74m4i1SdM3KFWGYZ1-MEE629wJOJZ6uUBrjO3rPnxLl4GIq3oGCpr2gQ2X653ef5GbFE2Z15QZoA=w1918-h1784

The only other time I've seen an atypical frame rate was when I imported the variable frame rate DS9 episode "Trials and Tribble-ations", where the number it showed was something between the 23.976 portion of the film-only section and the 29.97 VFX portions. (The frame rate issues on that edit are a whole different story!) This leads me to believe that Vegas for some reason thinks this video (and the full s02e02 rip that it was extracted from) are variable frame rate videos, even though they demonstrably are not. So now the question becomes, how to I get Vegas to recognize that and stop trying to "correct" the non-existent issue?
 
When you're doing ProRes, is it 422, HQ, or XQ?
 
422 HQ, but the stuttering is also present if I render from Vegas in AVC.
 
The issue is probably a certain box unchecked in the AviDemux options that is normally turned on by default. With this box unchecked the file is read by NLE’s as variable FRAMERATE so you get random frame skips in the NLE output.

EDIT: This option box must be checked/enabled:
“Move Index to the beginning of the file”
 
Last edited:
I just checked, and that option is already selected. Just to be sure, I went ahead and re-muxed the ripped .mkv to .mp4 again and got the same thing as before. MediaInfo confirms 23.976 fps constant, but Vegas is reading as 24. 070.
AKsag4P8wFNsjJ0_2QXKUL6R0LVNwZkSCuMeNdiB9PjTE7uzyGspBzvr3BJmR3hQj92Libtmbp0hWWmKuWvzSQ-Ehrkp8RBv-B_EJNcYRogP1UQGwU4uIJ7o7Ue_km-ZGM1r22_-RF7SGsmQahrscJVuhYdMv-o1-OI-4qXY9z4VDML-JJAA9vQVCV42k-DFJHV55yagpSKJVTdxFWyFuA7rOIkQNmS5lDxsxz_QbwDGsCaC12jYVMDFIAX1bgZH-d2T1reTQtuQPGW5eeVh0pPx1P_aTnfNcKZutZ8tlilQx0EsVssEmBJOR0M5WU95eeuafycWI0ASCg-wvdgp5VhjP_dEqDyQ4MlYqFG2NOhTVG8F-OsqsTdT7YienujaEXnzJiUDtvDQxWWVuL-_PnWPDbWqMiSR1DfoSYjdwDp139We3Tp6bRHhsmtp58P21UOkMq2bUpwsRfe8pdKAZL5HYuo81C816HBGWmsZZIXzzKoM2x85RT_-Ow30jIMXMgJ6tiq61IZYrCn-gOjMDWA4julsKziERzPMrqpubJ0M4rN-Dq-FEs3WoUILkkjZ-IYFsOiZxEFeoMPNHHdJuaXDKdnluegeDpRdQe3hM7YZxuhVS4-bfd7ASQ018UKaEn0Jz1YGhhXemvCeQEqEPT1onVOjg9vCOS9Yf-f1lRpL5OhfFOwhcWrEQPkT_DTJMvykDI7v21UfNcKeSlKSjEZ8yhlu-2QiNzdTQ3r4OYt48KwGPk5XAMdUiCI7cEMDLPKc-d961TzcfHKJDPRgxJuByGEFqiKVdb_qPGE1VOYvrUtIDdlcWPYB4K--OlLuDTWaWdbLbHcD8zMo8rxnf7_TqQLZK-3bzjnf5ZaotT9jl8a4ctMbIyCBmWjbbDy0uKtfOGaxUF4IH7eCEJ1Fh7Xd3iBb6PpUt45QFCv70P0-BFycNW4pb28ECe0jwITyj0ThBfr9v2x6z0q9aOa8ecuHJ6tYhZ4t_QOH8mIrwyLK571Brl7yE2jggoNfrLVo0EXl3AhMfdfS-SoMSCBHOorK5_8NXI7hD8ziW4mnPDelrZ6mh8iB1lvE9QEo-6eRtLm2gnuXMPnp5w98hB0SInU4qyJnK6wlbfTkm0bduYJTNAu0uifaqaU4DajTOdbpexaagxTYZkBWKxw8Nkl2MfrPsBK6G3QWCq-FFh_8DB6JA9mjV6Lgfo3Wn1B5KeHVOG5B0Tc_p9gpfVKVJ8WBvN5A7F0pSPX-ZjmUz4iiJcts8EVjimGjkF-Jhsvzt85l3h62jeMnl56oBAQE61rwq_3xiDCENILjxTszYvcLLo2u9He9RpcfnhjLu99YNNdyA2VF_4Q85quOgpgdLpiVcXzns7JKTyFoFO7fWtkKxeR9RXsxVI6f8L0CTBUyrZhnp3nUSlH4hdqxACFrnqavk8cK21izwVxD-fKniYDHBYJs1FegFpIM943m3eBsuD8wkoGSU3l6odI4BmGWRA4gtYymn0H9shzGcNlEoDybUB1BccAEUM2561gbcEXs8MejIZL7OXfVNJaxR8762EN0MkN0z0s=w3840-h1846
 
Does the source rip mkv show a variable FRAMERATE in mediainfo?
 
The ripped mkv shows constant 23.976 fps
General
Unique ID : 87960073645244257437579084114586100153 (0x422C7E751B02921DBCA75DEE994DE1B9)
Complete name : C:\Picard\s02e02.mkv
Format : Matroska
Format version : Version 2
File size : 11.4 GiB
Duration : 54 min 21 s
Overall bit rate mode : Variable
Overall bit rate : 30.0 Mb/s
Frame rate : 23.976 FPS
Movie name : Star Trek: Picard Season 2 - Disc 1
Encoded date : 2023-09-09 14:37:19 UTC
Writing application : MakeMKV v1.17.4 win(x64-release)
Writing library : libmakemkv v1.17.4 (1.3.10/1.5.2) win(x64-release)

Video
ID : 1
ID in the original source medium : 4113 (0x1011)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Format settings, GOP : M=3, N=24
Codec ID : V_MPEG4/ISO/AVC
Duration : 54 min 21 s
Bit rate mode : Variable
Bit rate : 28.0 Mb/s
Maximum bit rate : 34.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.563
Stream size : 10.6 GiB (93%)
Language : English
Default : No
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Original source medium : Blu-ray

Audio
ID : 2
ID in the original source medium : 4352 (0x1100)
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Codec ID : A_DTS
Duration : 54 min 21 s
Bit rate mode : Variable
Bit rate : 1 981 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossless
Stream size : 770 MiB (7%)
Title : Surround 5.1
Language : English
Default : Yes
Forced : No
Original source medium : Blu-ray

Text
ID : 3
ID in the original source medium : 4608 (0x1200)
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 53 min 4 s
Bit rate : 45.2 kb/s
Frame rate : 0.499 FPS
Count of elements : 1590
Stream size : 17.2 MiB (0%)
Language : English
Default : No
Forced : No
Original source medium : Blu-ray

Menu
00:00:00.000 : en:Chapter 01
00:02:07.043 : en:Chapter 02
00:12:18.696 : en:Chapter 03
00:24:15.787 : en:Chapter 04
00:30:34.666 : en:Chapter 05
00:40:16.497 : en:Chapter 06
00:53:18.445 : en:Chapter 07
 
I wonder why audio and text say they have a frame rate. That seems weird but maybe it's normal and I just don't look at Mediainfo output very often.
 
I am confused by that too. I've been reading a bunch about frame rates recently and often people talk about audio pitches getting messed up by frame rate conversions which also makes no sense to me unless you were physically slowing down a 24 fps film to 25 fps or something like that. Otherwise I would think the audio would be uncoupled from the video.
 
I think I've found a solution, which is a slightly modified version of what Bailey suggested.

Rendering just the problematic section is still giving the stuttering effects (That was video Video #3), and importing just the right section (Video #1) didn't work because Vegas thought it had the incorrect frame rate.

But this morning I tried taking Video #2 (just the problematic segment, but run once through Handbrake), and importing that into Vegas, and was happy to see that Vegas does recognize that it is the correct 23.976 fps. So I trimmed out those 10 seconds from the video in my timeline and replaced it with the Handbraked video, and it renders without the stutter now! Here's a sample, rendering a couple of extra seconds on either side to show it in context of the whole scene. The only downside here is that I'm now working with a second-generation encoding, but to my eye there is no noticeable degradation in video quality for those 10 seconds, and whatever small dip in image quality there might be is more than made up for by the smoother motion. What do you all think?
 
Back
Top Bottom