Coding question:

You know how there are libraries in Java that let you load XML files, manipulate their contents via a model, then save them to a new file?

I want to do that with MKV, so that I can make edits to subtitle tracks (WITHOUT re-coding any media streams).

Anyone have any ideas please? I'm sure there must be something somewhere that can do this. I could research the full MKV format and write my own code, but frankly, it's a bit daunting.

#Software #AskMastodon

@macronencer I remember there was a Windows application called VirtualDub. It featured a "direct stream copy" option, which allowed you to export a modified container without re-encoding the video stream. This was useful for adding extra audio tracks or subtitles.

If it’s still functional, it might be helpful for editing a movie or two (assuming you’re using it manually, not programmatically).

https://en.wikipedia.org/wiki/VirtualDub

VirtualDub - Wikipedia

@david_bardos Thank you for your help, but I don't have access to Windows at the moment, so probably a non-starter.