Log in

View Full Version : Segment linking in matroska


ajp_anton
26th October 2009, 16:16
There are n videos with audio that needs to be separately downloadable.
Then there are n+1 short videos that go before, between and after the matches (just to fill the space between them), plus a commentator audio track for the whole set of videos.

I'd like to put the n+1 videos and the commentator track into one file as a separate optional download together with the n videos. From there, I can link all the video pieces together, but how do I get the commentator audio track to cover the whole timeline?

thewebchat
26th October 2009, 17:10
Does the commentary track cover the "n videos with audio" as well? In this case, what you describe can not be done because all segments in Matroska must have equivalent tracks.

ajp_anton
26th October 2009, 19:22
Yes. The commentary track will replace the original audio from the "n videos".
I guess I'll just have to include a .bat file that joins them all into one file for those who want commentary.

ajp_anton
27th October 2009, 19:48
I can include pieces of the commentary to the n videos and the separate "commentary file" only contains video and audio for the n+1 pieces around these. Now all mkv's have one video track, one "normal" audio track (can be totally silent in the commentary file) and one commentary audio track.
Can I
a) hide the commentary audio if the videos are played individually?
b) make the commentary track the default audio track when playing the commentary file?

I've been playing with <ChapterTrack>, but it doesn't seem to do what I want (or I'm using it wrong).