Log in

View Full Version : Appending audio/video data to an MKV file


ury
9th October 2011, 10:16
Hi all,
Is there a tool (such as ffmpeg) which provides the ability to append an MKV file to an existing MKV file? By "appending", I mean that the action will not create a new file but rather increase the size of the first file without copying it.
Both files have the same audio and video streams (H.264 and MP3).
Thanks,
Ury

sneaker_ger
9th October 2011, 12:56
mkvmerge

/edit:
misread. You mean without creating a new file? No, I don't think there is such a program. With copying you can use mkvmerge.

ury
10th October 2011, 09:03
Thanks.
Are there any other A/V containers for which it can be done?

Ghitulescu
10th October 2011, 12:24
generally speaking, the APPEND function as you imagined it, is avoided for data safety reasons. Most if not all programs try to keep the source intact in case SOMETHING might go wrong, in which case you'd loose EVERYTHING.

ury
10th October 2011, 15:11
Funny thing, I need it as a part of a crash recovery mechanism.
I'm recording an A/V feed, and I want to periodically add a segment to a another ("backup") file, since a mixing solution didn't work for me.