View Full Version : 1 video, 2 different A:R in Matroska?
tomos
20th May 2006, 01:27
i have a 3 hr long video clip. the 1st 2 hrs are 16:9 and the final hour is 4:3
at the mo i have the whole thing in 1 video clip (4:3)
forcing the AR is nice and easy with mkvmerge but i would like to be able to set the AR of both independantly of each other.
i tried using chapters etc, but cant seem to use them to allow different aspect ratios
i have tried adding the video as 2 seperate clips (with the original audio to span across both video clips) into mkvmerge but i get 1 clip playing in MPC while the other pops up in a directshow windows :scared:
is it even possible in matroska to have seperate AR for 1 video?
Haali
20th May 2006, 09:17
Yes, using ordered chapters.
tomos
20th May 2006, 13:42
ok cool. found this (http://forum.doom9.org/showthread.php?t=99489) link.
will give that a go. :)
tomos
20th May 2006, 20:45
ok, i am not having any luck with this at all
i've checked the docs with mkvmerge as well as here and google - i've found some details on making chapters, but nothing specific to ordered chapters or anything at all that allows for more than 1 aspect ratio in a clip
does anyone have any guides or links to guides on making this work?
tomos
22nd May 2006, 08:00
anyone?
would like to make this work if poss
Haali
22nd May 2006, 21:40
Prepare two matroska files that you want to join, create a chapters file like this:
<?xml version="1.0" encoding="utf-8"?>
<Chapters>
<EditionEntry>
<EditionFlagOrdered>1</EditionFlagOrdered>
<EditionFlagDefault>1</EditionFlagDefault>
<EditionUID>1</EditionUID>
<ChapterAtom>
<ChapterUID>1</ChapterUID>
<ChapterTimeStart>00:00:00.000</ChapterTimeStart>
<ChapterTimeEnd>duration of the first file</ChapterTimeEnd>
<ChapterSegmentUID format="hex">ID of the first file</ChapterSegmentUID>
</ChapterAtom>
<ChapterAtom>
<ChapterUID>2</ChapterUID>
<ChapterTimeStart>00:00:00.000</ChapterTimeStart>
<ChapterTimeEnd>duration of the second file</ChapterTimeEnd>
<ChapterSegmentUID format="hex">ID of the second file</ChapterSegmentUID>
</ChapterAtom>
</EditionEntry>
</Chapters>
Mux this to a third file, then you can play it.
tomos
23rd May 2006, 00:06
thanks for the advice Haali but i cant get this working.
eventually managed to find the segment UIDs with mkvinfo and created a valid file. only prob now after muxing is that i get both chapters playing at the same time.
i play in MPC and in the main window is chapter 2 but chapter 1 plays in an active movie window.
i have no idea what i have done wrong
Haali
23rd May 2006, 10:44
i have no idea what i have done wrong
You muxed all the files into one when you should have used only chapters.
robU*4
23rd May 2006, 10:53
You need 2 different segments, with their own parameters. Then you "virtually" link those segments (either in 2 files or 1 with both concatenated) with ordered chapters (put the ordered chapters in both segment).
tomos
23rd May 2006, 13:32
ok, to see if i get this - take the first clip and open in mkvmerge and add a chapter into it, then the same for the 2nd. save as 2 separate files
then create the xml and open that, then save as matroska from the chapter menu?
this is without putting the original files in the input tab?
thanks for the help guys
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.