You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just programmed an app which ready all audios from a MKV, formats it and writes it back, But it does have a lot of dependencies.
Since this programm does have non, I wanted to ask, if this is also able to write back (title/lable) to a MKV file and if so, how to do so - an example would be awesome!
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Adding a streaming writer should be very easy. The API of such a writer would be a direct one-to-one dual mapping of Handler.
The question is whether such a low-level writer is enough for you. Once you start modifying data, your index will likely change, so you would be responsible for making sure it is up to date. This would probably mean you need to track all offsets while processing your file, and then either
Seeking to the index positions and overwriting the entries (assuming the entries are big enough, and nulling out excess bytes)
Writing the entire file in a second pass with the correct indexes
Writing a new index at the end of the file, and updating/nulling all entries in the rest of the file
...
Either way, a low-level writer would probably still be a useful building block for any high-level writer/processor.
remko
changed the title
[Question] Does this also write back to the MKV?
Support writing MKV
Jun 10, 2023
I just programmed an app which ready all audios from a MKV, formats it and writes it back, But it does have a lot of dependencies.
Since this programm does have non, I wanted to ask, if this is also able to write back (title/lable) to a MKV file and if so, how to do so - an example would be awesome!
Thanks in advance!
The text was updated successfully, but these errors were encountered: