Selur's Little Message Board

Full Version: End of video is trimmed during black screen
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
- Hybrid 2024.12.11.1
- Some frames at the end of videos, during black screen, are removed.
- Open the video sample, encode with any codec. Note that using Vapoursynth or Avisynth, filters or no filters, do not change the result. The sample will go from 314 frames to 62 frames, you should be able to reproduce.

It happened with many videos, bu the number of deleted frames in black screen go from one to hundreds.

e.g. The source video of this sample : 114834 frames
e.g. The encoded video of this sample : 114555 frames

- Video sample
- Report log
- Debug output
Code:
The sample will go from 314 frames to 62 frames, you should be able to reproduce.
Where does the 314 frames come from?
Playing the sample I see no 314 frames. (which should be ~13 seconds at 23.976fps)

Code:
General Count : 350 Count of stream of this kind : 1 Kind of stream : General Kind of stream : General Stream identifier : 0 Unique ID : 116394712877592972664678938814758158574 Unique ID : 116394712877592972664678938814758158574 (0x5790CE69045522369A96DAD5C8C280EE) Count of video streams : 1 Count of audio streams : 5 Count of text streams : 5 Video_Format_List : AVC Video_Format_WithHint_List : AVC Codecs Video : AVC Video_Language_List : Japanese Audio_Format_List : FLAC / FLAC / FLAC / FLAC / FLAC Audio_Format_WithHint_List : FLAC / FLAC / FLAC / FLAC / FLAC Audio codecs : FLAC / FLAC / FLAC / FLAC / FLAC Audio_Language_List : Japanese / English / English / English / zxx Audio_Channels_Total : 14 Text_Format_List : ASS / ASS / UTF-8 / ASS / ASS Text_Format_WithHint_List : ASS / ASS / UTF-8 / ASS / ASS Text codecs : ASS / ASS / UTF-8 / ASS / ASS Text_Language_List : English / English / English / English / Japanese Complete name : c:\Users\Selur\Desktop\Sample-DBM04.mkv Folder name : c:\Users\Selur\Desktop File name extension : Sample-DBM04.mkv File name : Sample-DBM04 File extension : mkv Format : Matroska Format : Matroska Format/Url : https://matroska.org/downloads/windows.html Format/Extensions usually used : mkv mk3d mka mks Commercial name : Matroska Format version : Version 2 File size : 9684268 File size : 9.24 MiB File size : 9 MiB File size : 9.2 MiB File size : 9.24 MiB File size : 9.236 MiB Duration : 14301 Duration : 14 s 301 ms Duration : 14 s 301 ms Duration : 14 s 301 ms Duration : 00:00:14.301 Duration : 01:19:33:03 Duration : 00:00:14.301 (01:19:33:03) Overall bit rate mode : VBR Overall bit rate mode : Variable Overall bit rate : 5417393 Overall bit rate : 5 417 kb/s Frame rate : 23.976 Frame rate : 23.976 FPS Frame count : 114555 IsStreamable : Yes Title : [SoM] Dragon Ball 10th Anniversary Movie Movie name : [SoM] Dragon Ball 10th Anniversary Movie File creation date : 2025-01-02 20:22:46.569 UTC File creation date (local) : 2025-01-02 21:22:46.569 File last modification date : 2025-01-02 20:22:46.681 UTC File last modification date (local) : 2025-01-02 21:22:46.681 Writing application : Lavf54.63.104 Writing application : Lavf54.63.104 Writing library : Lavf54.63.104 Writing library : Lavf54.63.104 Attachments : FunimitationBoldItalic.ttf / Caballar (s).ttf / Wolf Sans Regular (!rd-rd).ttf / FaxfontTone.ttf / Funimitation.ttf / Alley-Oop.ttf / BIZUDGothic-Regular.ttf Video Count : 390 Count of stream of this kind : 1 Kind of stream : Video Kind of stream : Video Stream identifier : 0 StreamOrder : 0 ID : 1 ID : 1 Unique ID : 1 Format : AVC Format : AVC Format/Info : Advanced Video Codec Format/Url : http://developers.videolan.org/x264.html Commercial name : AVC Format profile : High@L4 Format settings : CABAC / 4 Ref Frames Format settings, CABAC : Yes Format settings, CABAC : Yes Format settings, Reference frames : 4 Format settings, Reference frames : 4 frames Internet media type : video/H264 Codec ID : V_MPEG4/ISO/AVC Codec ID/Url : http://ffdshow-tryout.sourceforge.net/ Duration : 4777898.000000 Duration : 1 h 19 min Duration : 1 h 19 min 37 s 898 ms Duration : 1 h 19 min Duration : 01:19:37.898 Duration : 01:19:33:03 Duration : 01:19:37.898 (01:19:33:03) Bit rate : 40086761 Bit rate : 40.1 Mb/s Width : 1920 Width : 1 920 pixels Height : 1040 Height : 1 040 pixels Sampled_Width : 1920 Sampled_Height : 1040 Pixel aspect ratio : 1.000 Display aspect ratio : 1.846 Display aspect ratio : 1.85:1 Frame rate mode : CFR Frame rate mode : Constant FrameRate_Mode_Original : VFR Frame rate : 23.976 Frame rate : 23.976 (24000/1001) FPS FrameRate_Num : 24000 FrameRate_Den : 1001 Frame count : 114555 Color space : YUV Chroma subsampling : 4:2:0 Chroma subsampling : 4:2:0 Bit depth : 8 Bit depth : 8 bits Scan type : Progressive Scan type : Progressive Bits/(Pixel*Frame) : 0.837 Delay : 83 Delay : 83 ms Delay : 83 ms Delay : 83 ms Delay : 00:00:00.083 Delay : 00:00:00:02 Delay : 00:00:00.083 (00:00:00:02) Delay, origin : Container Delay, origin : Container Stream size : 23941306930 Stream size : 22.3 GiB Stream size : 22 GiB Stream size : 22 GiB Stream size : 22.3 GiB Stream size : 22.30 GiB Title : Toei Remaster AMZN WEB-DL (White Balanced) [Nikosan] Language : ja Language : Japanese Language : Japanese Language : ja Language : jpn Language : ja Default : No Default : No Forced : No Forced : No colour_description_present : Yes colour_description_present_Source : Stream Color range : Limited colour_range_Source : Stream Color primaries : BT.709 colour_primaries_Source : Stream Transfer characteristics : BT.709 transfer_characteristics_Source : Stream Matrix coefficients : BT.709 matrix_coefficients_Source : Stream Audio #1 Count : 286 Count of stream of this kind : 5 Kind of stream : Audio Kind of stream : Audio Stream identifier : 0 Stream identifier : 1 StreamOrder : 1 ID : 2 ID : 2 Unique ID : 2 Format : FLAC Format : FLAC Format/Info : Free Lossless Audio Codec Format/Url : https://xiph.org/flac/ Commercial name : FLAC Internet media type : audio/x-flac Codec ID : A_FLAC Codec ID/Url : https://xiph.org/flac Duration : 4777984.000000 Duration : 1 h 19 min Duration : 1 h 19 min 37 s 984 ms Duration : 1 h 19 min Duration : 01:19:37.984 Duration : 01:19:37.984 Bit rate mode : VBR Bit rate mode : Variable Bit rate : 1462622 Bit rate : 1 463 kb/s Channel(s) : 2 Channel(s) : 2 channels Channel positions : Front: L R Channel positions : 2/0/0 Channel layout : L R Samples per frame : 4096 Sampling rate : 48000 Sampling rate : 48.0 kHz Samples count : 229343232 Frame rate : 11.719 Frame rate : 11.719 FPS (4096 SPF) Frame count : 55992 Bit depth : 24 Bit depth : 24 bits Compression mode : Lossless Compression mode : Lossless Delay : 110 Delay : 110 ms Delay : 110 ms Delay : 110 ms Delay : 00:00:00.110 Delay : 00:00:00.110 Delay, origin : Container Delay, origin : Container Delay relative to video : 27 Delay relative to video : 27 ms Delay relative to video : 27 ms Delay relative to video : 27 ms Delay relative to video : 00:00:00.027 Delay relative to video : 00:00:00.027 Stream size : 873548365 Stream size : 833 MiB Stream size : 833 MiB Stream size : 833 MiB Stream size : 833 MiB Stream size : 833.1 MiB Title : 2018 2.0 Toei Remaster Blu-Ray [Team-Mirolo] Language : ja Language : Japanese Language : Japanese Language : ja Language : jpn Language : ja Default : Yes Default : Yes Forced : No Forced : No MD5 of the unencoded content : 5A4E0823CCDE9078A5F5593D5D196215 Audio #2 Count : 286 Count of stream of this kind : 5 Kind of stream : Audio Kind of stream : Audio Stream identifier : 1 Stream identifier : 2 StreamOrder : 2 ID : 3 ID : 3 Unique ID : 3 Format : FLAC Format : FLAC Format/Info : Free Lossless Audio Codec Format/Url : https://xiph.org/flac/ Commercial name : FLAC Internet media type : audio/x-flac Codec ID : A_FLAC Codec ID/Url : https://xiph.org/flac Duration : 4777907.000000 Duration : 1 h 19 min Duration : 1 h 19 min 37 s 907 ms Duration : 1 h 19 min Duration : 01:19:37.907 Duration : 01:19:37.907 Bit rate mode : VBR Bit rate mode : Variable Bit rate : 1393191 Bit rate : 1 393 kb/s Channel(s) : 6 Channel(s) : 6 channels Channel positions : Front: L C R, Side: L R, LFE Channel positions : 3/2/0.1 Channel layout : L R C LFE Ls Rs Samples per frame : 4096 Sampling rate : 48000 Sampling rate : 48.0 kHz Samples count : 229339536 Frame rate : 11.719 Frame rate : 11.719 FPS (4096 SPF) Frame count : 55992 Bit depth : 16 Bit depth : 16 bits Compression mode : Lossless Compression mode : Lossless Delay : 110 Delay : 110 ms Delay : 110 ms Delay : 110 ms Delay : 00:00:00.110 Delay : 00:00:00.110 Delay, origin : Container Delay, origin : Container Delay relative to video : 27 Delay relative to video : 27 ms Delay relative to video : 27 ms Delay relative to video : 27 ms Delay relative to video : 00:00:00.027 Delay relative to video : 00:00:00.027 Stream size : 832067312 Stream size : 794 MiB Stream size : 794 MiB Stream size : 794 MiB Stream size : 794 MiB Stream size : 793.5 MiB Title : 2011 5.1 FUNi Remastered Dub [iKaos] Language : en Language : English Language : English Language : en Language : eng Language : en Default : No Default : No Forced : No Forced : No MD5 of the unencoded content : C20B3592E21AA72482CA0748C283CA04 Audio #3 Count : 286 Count of stream of this kind : 5 Kind of stream : Audio Kind of stream : Audio Stream identifier : 2 Stream identifier : 3 StreamOrder : 3 ID : 4 ID : 4 Unique ID : 4 Format : FLAC Format : FLAC Format/Info : Free Lossless Audio Codec Format/Url : https://xiph.org/flac/ Commercial name : FLAC Internet media type : audio/x-flac Codec ID : A_FLAC Codec ID/Url : https://xiph.org/flac Duration : 4777907.000000 Duration : 1 h 19 min Duration : 1 h 19 min 37 s 907 ms Duration : 1 h 19 min Duration : 01:19:37.907 Duration : 01:19:37.907 Bit rate mode : VBR Bit rate mode : Variable Bit rate : 615783 Bit rate : 616 kb/s Channel(s) : 2 Channel(s) : 2 channels Channel positions : Front: L R Channel positions : 2/0/0 Channel layout : L R Samples per frame : 4096 Sampling rate : 48000 Sampling rate : 48.0 kHz Samples count : 229339536 Frame rate : 11.719 Frame rate : 11.719 FPS (4096 SPF) Frame count : 55992 Bit depth : 16 Bit depth : 16 bits Compression mode : Lossless Compression mode : Lossless Delay : 110 Delay : 110 ms Delay : 110 ms Delay : 110 ms Delay : 00:00:00.110 Delay : 00:00:00.110 Delay, origin : Container Delay, origin : Container Delay relative to video : 27 Delay relative to video : 27 ms Delay relative to video : 27 ms Delay relative to video : 27 ms Delay relative to video : 00:00:00.027 Delay relative to video : 00:00:00.027 Stream size : 367769716 Stream size : 351 MiB Stream size : 351 MiB Stream size : 351 MiB Stream size : 351 MiB Stream size : 350.7 MiB Title : 2003 2.0 FUNi Original Dub [Krycek7o2] Language : en Language : English Language : English Language : en Language : eng Language : en Default : No Default : No Forced : No Forced : No MD5 of the unencoded content : F3C47A14E4723801CD3F44B102BA8321 Audio #4 Count : 286 Count of stream of this kind : 5 Kind of stream : Audio Kind of stream : Audio Stream identifier : 3 Stream identifier : 4 StreamOrder : 4 ID : 5 ID : 5 Unique ID : 5 Format : FLAC Format : FLAC Format/Info : Free Lossless Audio Codec Format/Url : https://xiph.org/flac/ Commercial name : FLAC Internet media type : audio/x-flac Codec ID : A_FLAC Codec ID/Url : https://xiph.org/flac Duration : 4789531.000000 Duration : 1 h 19 min Duration : 1 h 19 min 49 s 531 ms Duration : 1 h 19 min Duration : 01:19:49.531 Duration : 01:19:49.531 Bit rate mode : VBR Bit rate mode : Variable Bit rate : 401062 Bit rate : 401 kb/s Channel(s) : 2 Channel(s) : 2 channels Channel positions : Front: L R Channel positions : 2/0/0 Channel layout : L R Samples per frame : 4096 Sampling rate : 48000 Sampling rate : 48.0 kHz Samples count : 229897488 Frame rate : 11.719 Frame rate : 11.719 FPS (4096 SPF) Frame count : 56128 Bit depth : 16 Bit depth : 16 bits Compression mode : Lossless Compression mode : Lossless Delay : 110 Delay : 110 ms Delay : 110 ms Delay : 110 ms Delay : 00:00:00.110 Delay : 00:00:00.110 Delay, origin : Container Delay, origin : Container Delay relative to video : 27 Delay relative to video : 27 ms Delay relative to video : 27 ms Delay relative to video : 27 ms Delay relative to video : 00:00:00.027 Delay relative to video : 00:00:00.027 Stream size : 240112704 Stream size : 229 MiB Stream size : 229 MiB Stream size : 229 MiB Stream size : 229 MiB Stream size : 229.0 MiB Title : 2002 2.0 Speedy Dub [iKaos] Language : en Language : English Language : English Language : en Language : eng Language : en Default : No Default : No Forced : No Forced : No MD5 of the unencoded content : AE1A92B25E86433D77EAFA17862FAF14 Audio #5 Count : 286 Count of stream of this kind : 5 Kind of stream : Audio Kind of stream : Audio Stream identifier : 4 Stream identifier : 5 StreamOrder : 5 ID : 6 ID : 6 Unique ID : 6 Format : FLAC Format : FLAC Format/Info : Free Lossless Audio Codec Format/Url : https://xiph.org/flac/ Commercial name : FLAC Internet media type : audio/x-flac Codec ID : A_FLAC Codec ID/Url : https://xiph.org/flac Duration : 4777984.000000 Duration : 1 h 19 min Duration : 1 h 19 min 37 s 984 ms Duration : 1 h 19 min Duration : 01:19:37.984 Duration : 01:19:37.984 Bit rate mode : VBR Bit rate mode : Variable Bit rate : 460685 Bit rate : 461 kb/s Channel(s) : 2 Channel(s) : 2 channels Channel positions : Front: L R Channel positions : 2/0/0 Channel layout : L R Samples per frame : 4608 Sampling rate : 48000 Sampling rate : 48.0 kHz Samples count : 229343232 Frame rate : 10.417 Frame rate : 10.417 FPS (4608 SPF) Frame count : 49771 Bit depth : 16 Bit depth : 16 bits Compression mode : Lossless Compression mode : Lossless Delay : 99 Delay : 99 ms Delay : 99 ms Delay : 99 ms Delay : 00:00:00.099 Delay : 00:00:00.099 Delay, origin : Container Delay, origin : Container Delay relative to video : 16 Delay relative to video : 16 ms Delay relative to video : 16 ms Delay relative to video : 16 ms Delay relative to video : 00:00:00.016 Delay relative to video : 00:00:00.016 Stream size : 275143730 Stream size : 262 MiB Stream size : 262 MiB Stream size : 262 MiB Stream size : 262 MiB Stream size : 262.4 MiB Title : 1996 Laserdisc Isolated Score [Deli] Language : zxx Language : zxx Language : zxx Language : zxx Default : No Default : No Forced : No Forced : No MD5 of the unencoded content : 1C40EFEE62D4AFD5371FC63F6B0DFBFB Text #1 Count : 305 Count of stream of this kind : 5 Kind of stream : Text Kind of stream : Text Stream identifier : 0 Stream identifier : 1 StreamOrder : 6 ID : 7 ID : 7 Unique ID : 7 Format : ASS Format : ASS Format/Url : http://ffdshow.sourceforge.net/tikiwiki/tiki-index.php?page=Getting+ffdshow Commercial name : ASS Codec ID : S_TEXT/ASS Codec ID/Info : Advanced Sub Station Alpha Duration : 4775930.000000 Duration : 1 h 19 min Duration : 1 h 19 min 35 s 930 ms Duration : 1 h 19 min Duration : 01:19:35.930 Duration : 01:19:35.930 Bit rate : 181 Bit rate : 181 b/s Frame rate : 0.285 Frame rate : 0.285 FPS Frame count : 1362 Count of elements : 1362 Compression mode : Lossless Compression mode : Lossless Stream size : 108159 Stream size : 106 KiB (1%) Stream size : 106 KiB Stream size : 106 KiB Stream size : 106 KiB Stream size : 105.6 KiB Stream size : 106 KiB (1%) Proportion of this stream : 0.01117 Title : Stylized Subtitles [iKaos/sangofe] Language : en Language : English Language : English Language : en Language : eng Language : en Default : Yes Default : Yes Forced : No Forced : No Text #2 Count : 305 Count of stream of this kind : 5 Kind of stream : Text Kind of stream : Text Stream identifier : 1 Stream identifier : 2 StreamOrder : 7 ID : 8 ID : 8 Unique ID : 8 Format : ASS Format : ASS Format/Url : http://ffdshow.sourceforge.net/tikiwiki/tiki-index.php?page=Getting+ffdshow Commercial name : ASS Codec ID : S_TEXT/ASS Codec ID/Info : Advanced Sub Station Alpha Duration : 4775930.000000 Duration : 1 h 19 min Duration : 1 h 19 min 35 s 930 ms Duration : 1 h 19 min Duration : 01:19:35.930 Duration : 01:19:35.930 Bit rate : 110 Bit rate : 110 b/s Frame rate : 0.124 Frame rate : 0.124 FPS Frame count : 592 Count of elements : 592 Compression mode : Lossless Compression mode : Lossless Stream size : 65711 Stream size : 64.2 KiB (1%) Stream size : 64 KiB Stream size : 64 KiB Stream size : 64.2 KiB Stream size : 64.17 KiB Stream size : 64.2 KiB (1%) Proportion of this stream : 0.00679 Title : Signs/Songs/Titles [corre/Ploffy/moi15moi] Language : en Language : English Language : English Language : en Language : eng Language : en Default : No Default : No Forced : No Forced : No Text #3 Count : 305 Count of stream of this kind : 5 Kind of stream : Text Kind of stream : Text Stream identifier : 2 Stream identifier : 3 StreamOrder : 8 ID : 9 ID : 9 Unique ID : 9 Format : UTF-8 Format : UTF-8 Commercial name : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 4756660.000000 Duration : 1 h 19 min Duration : 1 h 19 min 16 s 660 ms Duration : 1 h 19 min Duration : 01:19:16.660 Duration : 01:19:16.660 Bit rate : 38 Bit rate : 38 b/s Frame rate : 0.162 Frame rate : 0.162 FPS Frame count : 772 Count of elements : 772 Stream size : 22616 Stream size : 22.1 KiB (0%) Stream size : 22 KiB Stream size : 22 KiB Stream size : 22.1 KiB Stream size : 22.09 KiB Stream size : 22.1 KiB (0%) Proportion of this stream : 0.00234 Title : Basic Subtitles [iKaos/sangofe] Language : en Language : English Language : English Language : en Language : eng Language : en Default : No Default : No Forced : No Forced : No Text #4 Count : 305 Count of stream of this kind : 5 Kind of stream : Text Kind of stream : Text Stream identifier : 3 Stream identifier : 4 StreamOrder : 9 ID : 10 ID : 10 Unique ID : 10 Format : ASS Format : ASS Format/Url : http://ffdshow.sourceforge.net/tikiwiki/tiki-index.php?page=Getting+ffdshow Commercial name : ASS Codec ID : S_TEXT/ASS Codec ID/Info : Advanced Sub Station Alpha Duration : 4775930.000000 Duration : 1 h 19 min Duration : 1 h 19 min 35 s 930 ms Duration : 1 h 19 min Duration : 01:19:35.930 Duration : 01:19:35.930 Bit rate : 191 Bit rate : 191 b/s Frame rate : 0.289 Frame rate : 0.289 FPS Frame count : 1378 Count of elements : 1378 Compression mode : Lossless Compression mode : Lossless Stream size : 114256 Stream size : 112 KiB (1%) Stream size : 112 KiB Stream size : 112 KiB Stream size : 112 KiB Stream size : 111.6 KiB Stream size : 112 KiB (1%) Proportion of this stream : 0.01180 Title : FUNi Dubtitles [iKaos/WTK] Language : en Language : English Language : English Language : en Language : eng Language : en Default : No Default : No Forced : No Forced : No Text #5 Count : 305 Count of stream of this kind : 5 Kind of stream : Text Kind of stream : Text Stream identifier : 4 Stream identifier : 5 StreamOrder : 10 ID : 11 ID : 11 Unique ID : 11 Format : ASS Format : ASS Format/Url : http://ffdshow.sourceforge.net/tikiwiki/tiki-index.php?page=Getting+ffdshow Commercial name : ASS Codec ID : S_TEXT/ASS Codec ID/Info : Advanced Sub Station Alpha Duration : 4760840.000000 Duration : 1 h 19 min Duration : 1 h 19 min 20 s 840 ms Duration : 1 h 19 min Duration : 01:19:20.840 Duration : 01:19:20.840 Bit rate : 113 Bit rate : 113 b/s Frame rate : 0.238 Frame rate : 0.238 FPS Frame count : 1132 Count of elements : 1132 Compression mode : Lossless Compression mode : Lossless Stream size : 67372 Stream size : 65.8 KiB (1%) Stream size : 66 KiB Stream size : 66 KiB Stream size : 65.8 KiB Stream size : 65.79 KiB Stream size : 65.8 KiB (1%) Proportion of this stream : 0.00696 Title : JP Subtitles Language : ja Language : Japanese Language : Japanese Language : ja Language : jpn Language : ja Default : No Default : No Forced : No Forced : No
Those headers are wrong in multiple places.
(Report file holds no info that isn't part of the debug output,..)

Code:
Frame rate mode : CFR Frame rate mode : Constant FrameRate_Mode_Original : VFR
So Hybrid will assume CFR, but the video stream stream reports vfr.
You might want to enable either: "Config->Automation->On Load->Always extract time codes from input" or "Config->Input->Decoding->CFR Output".
When enabling the time code extraction on the given sample, Hybrid reports: "Adjusting frame count (114555) to time code entry count (63)."
Looking at the time codes:
Code:
# timestamp format v2 83 125 167 208 250 292 333 375 417 459 500 542 584 625 667 709 751 792 834 876 917 959 1001 1043 1084 1126 1168 1209 1251 1293 1334 1376 1418 1460 1501 1543 1585 1626 1668 1710 1752 1793 1835 1877 1918 1960 2002 2044 2085 2127 2169 2210 2252 2294 2335 2377 2419 2461 2502 2544 2586 2627
Hybrid seems correct.

Looking at the debug output, I don't see any indication of a problem.

Code:
e.g. The source video of this sample : 114834 frames e.g. The encoded video of this sample : 114555 frames
No clue where the 114834 comes from, the above header info shows:
Code:
Frame count : 114555

I see nothing wrong in the way Hybrid processes the sample. (So I see no bug in Hybrid.)
To me that sample (and potentially your source) simply is broken.

Cu Selur
I tried both of your options, but it doesn't change anything.

Btw it was 341 frames for the source my bad. And I check this in virtualdub

So, everytime the encoded sample is 62 frames (~2 seconds) instead of 341 frames (~14 seconds)
Assuming the source, is the sample you shared, VirtualDub seems to do something different from any tool I use here.
Since even mkvtoolnix/mkvextract only reports the shown time codes (for each frame, there has to be a time code), I think VirtualDub is the one at fault here. (or your source is incompatible with anything that uses libav or hardware decoding)

Cu Selur
Update : I think you're right, the sources have an issue. The play time and the number of frames in VirtualDub are simply wrong.
But when I remux them, the have the exact same number of frames / duration than Hybrid encoded files.

Hybrid isn't the culprit here 👍

Thanks