Markers Exported to Matroska Chapters with Vegasaur

hurricane1951 wrote on 11/13/2023, 10:40 PM

Vegas Pro 21, Win10 Pro, Vegasaur add-in.

I added a chapter marker at the beginning of each clip in my video file with Vegasaur. I then exported these to a Matroska chapter file. However, after viewing the generated MKV file, jumping to a chapter is not precise, like the chapter marker is not on a key frame. Does a Vegas marker not generate a key frame at the location of the marker?

Comments

Dexcon wrote on 11/14/2023, 5:56 AM

Maybe a question to put to Vegasaur: https://vegasaur.com/support

Cameras: Sony FDR-AX100E; GoPro Hero 11 Black Creator Edition

Installed: Vegas Pro 15, 16, 17, 18, 19, 20, 21 & 22, HitFilm Pro 2021.3, DaVinci Resolve Studio 19.0.3, BCC 2025, Mocha Pro 2025.0, NBFX TotalFX 7, Neat NR, DVD Architect 6.0, MAGIX Travel Maps, Sound Forge Pro 16, SpectraLayers Pro 11, iZotope RX11 Advanced and many other iZ plugins, Vegasaur 4.0

Windows 11

Dell Alienware Aurora 11:

10th Gen Intel i9 10900KF - 10 cores (20 threads) - 3.7 to 5.3 GHz

NVIDIA GeForce RTX 2080 SUPER 8GB GDDR6 - liquid cooled

64GB RAM - Dual Channel HyperX FURY DDR4 XMP at 3200MHz

C drive: 2TB Samsung 990 PCIe 4.0 NVMe M.2 PCIe SSD

D: drive: 4TB Samsung 870 SATA SSD (used for media for editing current projects)

E: drive: 2TB Samsung 870 SATA SSD

F: drive: 6TB WD 7200 rpm Black HDD 3.5"

Dell Ultrasharp 32" 4K Color Calibrated Monitor

 

LAPTOP:

Dell Inspiron 5310 EVO 13.3"

i5-11320H CPU

C Drive: 1TB Corsair Gen4 NVMe M.2 2230 SSD (upgraded from the original 500 GB SSD)

Monitor is 2560 x 1600 @ 60 Hz

joelsonforte.br wrote on 11/14/2023, 6:55 AM

This is due to Quantize to Frames Option. To resolve this, disable the option Enable Quantize to Frames before creating markers.

hurricane1951 wrote on 11/14/2023, 10:23 AM

Thanks for the tip.

john_dennis wrote on 11/14/2023, 11:31 PM

Long, long ago, in a land far away, there was a check box in the Mainconcept MPEG-2 Blu-ray render template that would force an I-frame at the location of a marker on the Vegas timeline.

I take it that DVD-Video and/or Blu-ray players could only seek to an I-frame. I'm unaware if current software or hardware players can seek to a P-frame or a B-frame. My guess would be no, they can't, but, I tend to be over navigation as a high priority.

I could find no such switch in the Magix AVC Blu-ray render template...

... or the Sony AVC Blu-ray render template.

I once would save my disc images in MKV to play them as files with navigation. As I remember, navigation was never more accurate than the location of the chapter points generated by Vegas and DVD-Architect.

hurricane1951 wrote on 11/29/2023, 11:11 PM

I found a fix, at least for my videos. Add a marker at the very beginning of the video (it doesn't have to be exact). If you have already added markers, use Vegasaur to renumber them. Export them to a Matroska XML file. Use MKVToolnix to merge them into an MKV video file. It worked for me in Vegas 19.3 and Vegas 20.2. Perfect jumps to every chapter marker, and an easy fix, even with old files.

hurricane1951 wrote on 12/26/2023, 8:28 PM

I guess I spoke too soon. I must have inserted a marker at the very start of the video and now it cannot be deleted. I cannot see the actual marker in the timeline, but I can see the tail end of the label: "hapter 00".

Delete All markers doesn't clear it, and numbering chapters always starts at "2".

I don't create the markers with Vegasaur; I just type "M" at the desired position, so I don't think it's that. Vegasaur does have a feature to delete all but that doesn't work either, and renumbering just starts at "2" again. Saving as another project simply duplicates the problem, and this particular video has lots of splits, so recreating it manually would be a tremendous task.

I usually use Vegasaur to export the markers to Matroska chapters, and the resulting XML file shows the correct starting point and numbering, but KODI skips some chapters like my original problem in this thread. I do not know if I can delete the hidden marker if that will fix the problem, but it's certainly suspicious.

Anyone with an idea?

 

jetdv wrote on 12/27/2023, 8:27 AM

View - Window - Edit Details and set it to show "Markers". What does it show there?

Can you move it there by changing the timecode?

Can you delete it from there?

hurricane1951 wrote on 12/27/2023, 11:30 AM

Yes, that did the trick. The first marker had a negative time code. I changed it to a positive value and was able to delete it. THANKS!

jetdv wrote on 12/27/2023, 2:40 PM

@hurricane1951, glad I could help. Not sure how you got a negative marker, though, unless auto ripple was on and you managed to ripple past the beginning of the timeline...

gary-rebholz wrote on 12/27/2023, 4:06 PM

Not sure how you got a negative marker, though

Another way you might end up with a negative timecode for a marker is if you set the zero point of the timeline to be something other than the very beginning of the timeline (set your cursor somewhere other than the start of the timeline, right-click the time ruler and choose Set Time at Cursor from the context menu, and enter 0.0).

But it also doesn't seem likely that @hurricane1951 did that, so it's still sort of a curiosity how you got a negative marker.

hurricane1951 wrote on 12/27/2023, 7:53 PM

To quote Winston Churchill, "it's a riddle, wrapped in a mystery, inside an enigma".