I am new to this forum and would appreciate any assistance with a perplexing problem I am experiencing.
I created an MKV file from an opera where the audio is several minutes longer than the video. When I play this video by itself, the picture freezes at the spot when the duration of the video has been reached and the audio continues to play. That is what I want it to do.
When I take the first part of the opera and append this new file to it, it still plays fine.
But if I append another file to this file, it skips to the next chapter as soon as the video portion has reached its end, thus skipping all the the audio which I added. This is perplexing me, as it plays fine as long as another file is not appended to it.
I got no warnings or errors.
If anyone has some ideas what I did wrong or what I can do to correct it, it will be greatly appreciated. I want this video in one MKV, not split.
Unfortunately I don’t think there’s much you can do in such a situation. How a player handles such long games in one or more tracks, be it audio or video, is solely up to the player. There are no provisions in MKVToolNix or the Matroska file format itself to instruct the player how to behave. If your player synchronizes its position based on the video content & there is no video content, then that’s a problem.
The only thing that comes to mind is generating video content for that section somehow, even if it’s only purely black or any other static images — as long as it’s a continuous stream of images. Then you’d have to append it to the video content, then you’d have to combine the elongated video track with the original audio track, and lastly you’d have to append your original file 2 to the modified elongated video+audio file you’ve just created.
MKVToolNix cannot help you with producing video content at all, and neither can I, personally, as I’ve never done that myself. The other steps can be done with MKVToolNix, but they are kind of tedious.
Thank you very much for your reply and explanation. I found a way to get around this. I discovered an online website by which I can upload the video and it will capture the last frame and download it as a png. Then I found another website where I can upload the png and create an mp4 file with any duration I wish, in this case the duration of the audio file. All that was remaining was to use handbrake to create an mpeg-2 MKV. Mkvtoolnix took care of the rest and I was a happy camper.