MKV weirdness - same file ALWAYS freezes any instance of VP21

Jessariah67 wrote on 12/23/2023, 7:17 AM

Yes. I drag MKV1 onto the timeline. No problem. MKV2. No problem. MKV3 - hangs up while dragging. Stops responding. Crashes.

You will never bring that MKV file into any other instance of VP21 in any way. Fresh veg file. Veg file already with MKVs on the timeline. Even putting in a remuxed mp4 and trying to replace it causes Vegas to freeze up.

The freeze is one of those "Uncle Bill" freezes - you get the reporting to Microsoft message and no Magix prompt. So, I'm wondering if it's some kind of tick in the registry? It's the only explanation (short of my file not opening on anybody else's system, either - which would be its own weirdness...)

I just like using the MKVs because they aren't VFR like the remuxed MP4s that OBS generates.

Comments

3POINT wrote on 12/23/2023, 7:43 AM

Probably you should deep dive into OBS settings. I just installed OBS and could record using MP4 with CFR.

eneral
Complete name                            : D:\M E D I A\2023-12-23 14-36-11.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/avc1/mp41)
File size                                : 26.0 MiB
Duration                                 : 1 min 21 s
Overall bit rate                         : 2 669 kb/s
Writing application                      : Lavf60.3.100

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.2
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                                 : 1 min 21 s
Source duration                          : 1 min 21 s
Bit rate                                 : 2 500 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 60.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.020
Stream size                              : 23.4 MiB (90%)
Source stream size                       : 24.3 MiB (94%)
Writing library                          : x264 core 164 r3106 eaa68fa
Encoding settings                        : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=30 / lookahead_threads=8 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=cbr / mbtree=1 / bitrate=2500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=2500 / vbv_bufsize=2500 / nal_hrd=none / filler=1 / ip_ratio=1.40 / aq=1:1.00
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
mdhd_Duration                            : 81833
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 1 min 21 s
Bit rate mode                            : Constant
Bit rate                                 : 160 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                              : 1.56 MiB (6%)
Title                                    : Track1
Default                                  : Yes
Alternate group                          : 1
 

andyrpsmith wrote on 12/23/2023, 7:53 AM

What's inside your MKV3 files?

(Intel 3rd gen i5@4.1GHz, 32GB RAM, SSD, 1080Ti GPU, Windows 10) Not now used with Vegas.

13th gen i913900K - water cooled, 96GB RAM, 4TB M2 drive, 4TB games SSD, 2TB video SSD, GPU RTX 4080 Super, Windows 11 pro

mark-y wrote on 12/23/2023, 8:26 AM

All MKV is not created equal, and support in Vegas is still a WIP. I know the current rave is to hardware-encode MKV in OBS; Vegas can have a number of problems with those or their remuxed mp4 versions.

If you feel you must encode MKV in OBS, those files should rewrap nicely to Vegas-friendly MP4 in Shutter Encoder, a free utility with many transcoding options.

3POINT wrote on 12/23/2023, 8:41 AM

My OBS recorded CFR MP4 was imported in Vegas without issues...

john_dennis wrote on 12/23/2023, 10:40 AM

I just record to ProRes in OBS and avoid the whole issue.

Jessariah67 wrote on 12/23/2023, 11:25 AM

MKV is because I was getting bluescreened (and then MP4s are dead). This is for a YouTube channel. So, MP4 was a great option, till I lost a 44 minute file. I can try the ProRes, but the bluescreen thing...

Everything works fin for me, and the transcoding is just to try and cut down on the crashing while working. Using the MKVs straight out of OBS saves some time and HD space, but it certainly isn't a deal-breaker.

It still doesn't answer why any instance of VP21 in any way will crash after the first occurrence.

john_dennis wrote on 12/23/2023, 11:57 AM

Without some hard data about what's in the MKV (Mediainfo report that 3POINT asked about) we're all just speculating.

john_dennis wrote on 12/23/2023, 11:58 AM

Have you tried rewrapping the offending MKV3 in Shutter Encoder?

Jessariah67 wrote on 12/23/2023, 12:26 PM

No, I will be trying that as well. Thanks.

mark-y wrote on 12/23/2023, 12:48 PM

I've done some research, and the best reason for recording MKV in OBS seems to be that it does not require a closing process, meaning all is not lost if recording crashes before stopping it.

In the flaky world of high fps game capture with machine encoders, some will find this reassuring. Personally, I don't game, and I've never had an mp4 software encode crash during recording.

@Jessariah67 Yes, you should give Shutter Encoder a try as your first option if you experience OBS crashing during intensive recording.

Jessariah67 wrote on 12/23/2023, 1:18 PM

Just tried it. Love it. the H264 is nice. I wish I could render stereo tracks instead of getting audio split out to four mono tracks, but it cuts out the step (and extra file) of remuxing to a VFR MP4. That's just a tweak in the template...

 

Thanks again for the help. LOVE this community - and the software. (Cutting on it since the Sonic Foundry days...) Happy Holidays!

john_dennis wrote on 12/23/2023, 2:06 PM

Tinker with the audio combinations and you might be able to find a stereo combination. Try a MOV wrapper.