2009-07-10, 22:10 | Link #41 |
Fansubber
|
I'm trying to experiment now with multiple Editions in one file. I want to have the default edition use the second track, with an alternate edition that uses the first audio track. I went through the examples at http://www.mod16.org/hurfdurf/?p=8 but have encountered problems.
The file resolutely refuses to play the second track when opened. Although correcting this only takes a couple of clicks (by changing tracksets), I'd like to know what I'm doing wrong. Here is the tag file Code:
<?xml version="1.0" encoding="UTF-8"?> <Tags> <Tag> <Targets> <EditionUID>010000</EditionUID> <TargetTypeValue>50</TargetTypeValue> </Targets> <Simple> <Name>TITLE</Name> <String>Full Audio Commentary</String> <TagLanguage>eng</TagLanguage> <DefaultLanguage>1</DefaultLanguage> </Simple> </Tag> <Tag> <Targets> <EditionUID>020000</EditionUID> <TargetTypeValue>50</TargetTypeValue> </Targets> <Simple> <Name>TITLE</Name> <String>English</String> <TagLanguage>eng</TagLanguage> <DefaultLanguage>0</DefaultLanguage> </Simple> </Tag> <Tag> <Simple> <Name>TRACKSETEX</Name> <String>010000 . #1 . eng Full Audio Commentary</String> </Simple> <Simple> <Name>TRACKSETEX</Name> <String>020000 . #0 . eng English</String> </Simple> </Tag> </Tags> Code:
<?xml version="1.0" encoding="UTF-8"?> <Chapters> <EditionEntry> <EditionFlagOrdered>1</EditionFlagOrdered> <EditionFlagHidden>1</EditionFlagHidden> <EditionFlagDefault>1</EditionFlagDefault> <EditionUID>010000</EditionUID> <ChapterAtom> <ChapterUID>180001</ChapterUID> <ChapterSegmentUID format="hex">b6 69 b9 a5 75 39 ae 8f 89 1f 87 e2 35 89 27 64</ChapterSegmentUID> <ChapterTimeStart>00:00:00.000000000</ChapterTimeStart> <ChapterTimeEnd>00:00:46.004000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Opening</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>180002</ChapterUID> <ChapterSegmentUID format="hex">b6 69 b9 a5 75 39 ae 8f 89 1f 87 e2 35 89 27 64</ChapterSegmentUID> <ChapterTimeStart>00:00:46.046000000</ChapterTimeStart> <ChapterTimeEnd>00:01:19.829000000</ChapterTimeEnd> <ChapterFlagHidden>1</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Recap</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>180003</ChapterUID> <ChapterSegmentUID format="hex">b6 69 b9 a5 75 39 ae 8f 89 1f 87 e2 35 89 27 64</ChapterSegmentUID> <ChapterTimeStart>00:01:19.871000000</ChapterTimeStart> <ChapterTimeEnd>00:09:05.753000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 01</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>180004</ChapterUID> <ChapterSegmentUID format="hex">b6 69 b9 a5 75 39 ae 8f 89 1f 87 e2 35 89 27 64</ChapterSegmentUID> <ChapterTimeStart>00:09:05.795000000</ChapterTimeStart> <ChapterTimeEnd>00:16:28.028000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 02</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>180005</ChapterUID> <ChapterSegmentUID format="hex">b6 69 b9 a5 75 39 ae 8f 89 1f 87 e2 35 89 27 64</ChapterSegmentUID> <ChapterTimeStart>00:16:28.070000000</ChapterTimeStart> <ChapterTimeEnd>00:23:35.372000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 03</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>190003</ChapterUID> <ChapterSegmentUID format="hex">b6 a6 12 0f c6 00 08 de 8b 99 11 ad 5f 74 1c 50</ChapterSegmentUID> <ChapterTimeStart>00:01:16.034000000</ChapterTimeStart> <ChapterTimeEnd>00:06:20.213000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 04</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>190004</ChapterUID> <ChapterSegmentUID format="hex">b6 a6 12 0f c6 00 08 de 8b 99 11 ad 5f 74 1c 50</ChapterSegmentUID> <ChapterTimeStart>00:06:20.255000000</ChapterTimeStart> <ChapterTimeEnd>00:15:24.924000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 05</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>190005</ChapterUID> <ChapterSegmentUID format="hex">b6 a6 12 0f c6 00 08 de 8b 99 11 ad 5f 74 1c 50</ChapterSegmentUID> <ChapterTimeStart>00:15:24.965000000</ChapterTimeStart> <ChapterTimeEnd>00:23:41.545000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 06</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>200003</ChapterUID> <ChapterSegmentUID format="hex">ac e6 d4 c7 db 04 50 1d 8c 12 2e b8 f9 da 8a f3</ChapterSegmentUID> <ChapterTimeStart>00:01:18.037000000</ChapterTimeStart> <ChapterTimeEnd>00:07:50.887000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 07</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>200004</ChapterUID> <ChapterSegmentUID format="hex">ac e6 d4 c7 db 04 50 1d 8c 12 2e b8 f9 da 8a f3</ChapterSegmentUID> <ChapterTimeStart>00:07:50.929000000</ChapterTimeStart> <ChapterTimeEnd>00:13:59.130000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 08</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>200005</ChapterUID> <ChapterSegmentUID format="hex">ac e6 d4 c7 db 04 50 1d 8c 12 2e b8 f9 da 8a f3</ChapterSegmentUID> <ChapterTimeStart>00:13:59.172000000</ChapterTimeStart> <ChapterTimeEnd>00:23:34.914000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 09</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>210003</ChapterUID> <ChapterSegmentUID format="hex">ab bd bd d0 9e 7d 40 f1 9c e7 88 7b 18 54 7b a9</ChapterSegmentUID> <ChapterTimeStart>00:01:26.795000000</ChapterTimeStart> <ChapterTimeEnd>00:09:45.293000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 10</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>210004</ChapterUID> <ChapterSegmentUID format="hex">ab bd bd d0 9e 7d 40 f1 9c e7 88 7b 18 54 7b a9</ChapterSegmentUID> <ChapterTimeStart>00:09:45.335000000</ChapterTimeStart> <ChapterTimeEnd>00:15:38.604000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 11</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>210005</ChapterUID> <ChapterSegmentUID format="hex">ab bd bd d0 9e 7d 40 f1 9c e7 88 7b 18 54 7b a9</ChapterSegmentUID> <ChapterTimeStart>00:15:38.646000000</ChapterTimeStart> <ChapterTimeEnd>00:23:37.958000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 12</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>210006</ChapterUID> <ChapterSegmentUID format="hex">ab bd bd d0 9e 7d 40 f1 9c e7 88 7b 18 54 7b a9</ChapterSegmentUID> <ChapterTimeStart>00:23:38.000000000</ChapterTimeStart> <ChapterTimeEnd>00:24:30.511000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>End Credits</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> </EditionEntry> <EditionEntry> <EditionFlagOrdered>1</EditionFlagOrdered> <EditionFlagHidden>1</EditionFlagHidden> <EditionFlagDefault>0</EditionFlagDefault> <EditionUID>020000</EditionUID> <ChapterAtom> <ChapterUID>1180001</ChapterUID> <ChapterSegmentUID format="hex">b6 69 b9 a5 75 39 ae 8f 89 1f 87 e2 35 89 27 64</ChapterSegmentUID> <ChapterTimeStart>00:00:00.000000000</ChapterTimeStart> <ChapterTimeEnd>00:00:46.004000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Opening</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>1180002</ChapterUID> <ChapterSegmentUID format="hex">b6 69 b9 a5 75 39 ae 8f 89 1f 87 e2 35 89 27 64</ChapterSegmentUID> <ChapterTimeStart>00:00:46.046000000</ChapterTimeStart> <ChapterTimeEnd>00:01:19.829000000</ChapterTimeEnd> <ChapterFlagHidden>1</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Recap</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>1180003</ChapterUID> <ChapterSegmentUID format="hex">b6 69 b9 a5 75 39 ae 8f 89 1f 87 e2 35 89 27 64</ChapterSegmentUID> <ChapterTimeStart>00:01:19.871000000</ChapterTimeStart> <ChapterTimeEnd>00:09:05.753000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 01</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>1180004</ChapterUID> <ChapterSegmentUID format="hex">b6 69 b9 a5 75 39 ae 8f 89 1f 87 e2 35 89 27 64</ChapterSegmentUID> <ChapterTimeStart>00:09:05.795000000</ChapterTimeStart> <ChapterTimeEnd>00:16:28.028000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 02</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>1180005</ChapterUID> <ChapterSegmentUID format="hex">b6 69 b9 a5 75 39 ae 8f 89 1f 87 e2 35 89 27 64</ChapterSegmentUID> <ChapterTimeStart>00:16:28.070000000</ChapterTimeStart> <ChapterTimeEnd>00:23:35.372000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 03</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>1190003</ChapterUID> <ChapterSegmentUID format="hex">b6 a6 12 0f c6 00 08 de 8b 99 11 ad 5f 74 1c 50</ChapterSegmentUID> <ChapterTimeStart>00:01:16.034000000</ChapterTimeStart> <ChapterTimeEnd>00:06:20.213000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 04</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>1190004</ChapterUID> <ChapterSegmentUID format="hex">b6 a6 12 0f c6 00 08 de 8b 99 11 ad 5f 74 1c 50</ChapterSegmentUID> <ChapterTimeStart>00:06:20.255000000</ChapterTimeStart> <ChapterTimeEnd>00:15:24.924000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 05</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>1190005</ChapterUID> <ChapterSegmentUID format="hex">b6 a6 12 0f c6 00 08 de 8b 99 11 ad 5f 74 1c 50</ChapterSegmentUID> <ChapterTimeStart>00:15:24.965000000</ChapterTimeStart> <ChapterTimeEnd>00:23:41.545000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 06</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>1200003</ChapterUID> <ChapterSegmentUID format="hex">ac e6 d4 c7 db 04 50 1d 8c 12 2e b8 f9 da 8a f3</ChapterSegmentUID> <ChapterTimeStart>00:01:18.037000000</ChapterTimeStart> <ChapterTimeEnd>00:07:50.887000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 07</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>1200004</ChapterUID> <ChapterSegmentUID format="hex">ac e6 d4 c7 db 04 50 1d 8c 12 2e b8 f9 da 8a f3</ChapterSegmentUID> <ChapterTimeStart>00:07:50.929000000</ChapterTimeStart> <ChapterTimeEnd>00:13:59.130000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 08</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>1200005</ChapterUID> <ChapterSegmentUID format="hex">ac e6 d4 c7 db 04 50 1d 8c 12 2e b8 f9 da 8a f3</ChapterSegmentUID> <ChapterTimeStart>00:13:59.172000000</ChapterTimeStart> <ChapterTimeEnd>00:23:34.914000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 09</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>1210003</ChapterUID> <ChapterSegmentUID format="hex">ab bd bd d0 9e 7d 40 f1 9c e7 88 7b 18 54 7b a9</ChapterSegmentUID> <ChapterTimeStart>00:01:26.795000000</ChapterTimeStart> <ChapterTimeEnd>00:09:45.293000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 10</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>1210004</ChapterUID> <ChapterSegmentUID format="hex">ab bd bd d0 9e 7d 40 f1 9c e7 88 7b 18 54 7b a9</ChapterSegmentUID> <ChapterTimeStart>00:09:45.335000000</ChapterTimeStart> <ChapterTimeEnd>00:15:38.604000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 11</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>1210005</ChapterUID> <ChapterSegmentUID format="hex">ab bd bd d0 9e 7d 40 f1 9c e7 88 7b 18 54 7b a9</ChapterSegmentUID> <ChapterTimeStart>00:15:38.646000000</ChapterTimeStart> <ChapterTimeEnd>00:23:37.958000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>Act 12</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> <ChapterAtom> <ChapterUID>1210006</ChapterUID> <ChapterSegmentUID format="hex">ab bd bd d0 9e 7d 40 f1 9c e7 88 7b 18 54 7b a9</ChapterSegmentUID> <ChapterTimeStart>00:23:38.000000000</ChapterTimeStart> <ChapterTimeEnd>00:24:30.511000000</ChapterTimeEnd> <ChapterFlagHidden>0</ChapterFlagHidden> <ChapterFlagEnabled>1</ChapterFlagEnabled> <ChapterDisplay> <ChapterString>End Credits</ChapterString> <ChapterLanguage>eng</ChapterLanguage> </ChapterDisplay> </ChapterAtom> </EditionEntry> </Chapters> |
2009-07-11, 10:07 | Link #43 |
Fansubber
|
I thought so too initially.
I tried that with a separate (and simpler) encode (sample torrent), and it wouldn't work properly until I decremented it by 1. The tag file I used for the file linked above was: Code:
<?xml version="1.0" encoding="UTF-8"?> <Tags> <Tag> <Simple> <Name>TITLE</Name> <String>Episode 19: The Bridge of Love. Galaxy Noodles</String> </Simple> <Simple> <Name>ARTIST</Name> <String>Cooking Master Boy Transcription Project</String> </Simple> <Simple> <Name>COPYRIGHT</Name> <String>http://chuuka.jetsam.org</String> </Simple> <Simple> <Name>DESCRIPTION</Name> <String>Can Mao's cooking help transcend the forbidden love between Eagle and Laya?</String> </Simple> <Simple> <Name>TRACKSETEX</Name> <String>0001 . #0 #0 eng Japanese audio with subtitles in</String> </Simple> <Simple> <Name>TRACKSETEX</Name> <String>0002 . #1 #1 chi Mandarin audio with subtitles in Simplified</String> </Simple> <Simple> <Name>TRACKSETEX</Name> <String>0003 . #2 #2 chi Cantonese audio with subtitles in Traditional</String> </Simple> </Tag> </Tags> In any case, the problem I have remains the same even if I used #2 and #1 instead of #1 and #0... ----- Not directly related, but I'm just curious. In your example, you always put <TargetTypeValue>50</TargetTypeValue> after the EditionUID tags. Does 50 mean anything? Last edited by Zergrinch; 2009-07-11 at 10:21. |
2009-07-11, 13:26 | Link #44 | |
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 37
|
Quote:
I don't remember, I think I just copied it from some Haali sample.
__________________
|
|
2009-07-11, 19:17 | Link #45 |
Fansubber
|
Posting to say I've found a solution, though not with modifying tags. When opened, the file defaulted to the correct edition but the wrong audio track. So I just made the desired track the forced default in mkvmerge. Not as satisfying as finding a tag solution, but whatever works ^.^
I am pretty positive now, though, that track numbers start from zero. I've experimented where they started from one, individually and cumulatively. I get the desired results only when audio/subs individually start from zero. |
2009-07-12, 10:58 | Link #46 | |
Saizen
Fansubber
Join Date: Jun 2004
Age: 39
|
Quote:
|
|
2009-07-19, 02:21 | Link #47 | |
Senior Member
Join Date: Jun 2007
|
Quote:
First of all, if default audio and sub tracks were set in the muxer, they override the edition trackset choices. For example, default edition is A with #1, #1 for audio and subs. But default tracks (as set by the muxer) are #0, #0. When you play the file, tracks #0 and #0 will play, even though edition A is shown in the mkv menu. Conclusion: To avoid confusion, if you wish to use tracksets with editions, the default edition should be set to play the default tracks. Second. I've only tried this in mkvmerge, so I don't know if it applies to other muxers. As you know, the choices for the Default Track flag are "default, yes or no" If a track had ever been set to "yes" for its type, then switched to "default," it will remain the default track if no other track of that type had been set to "yes" instead. For example, if tracks #0 and #0 were set to "yes" on default at first. Then you remux the mkv, but shuffle those two to become tracks #1 and #1 instead and change their default flag to "default". Then #1 and #1 will still be the tracks played instead of the new #0 and #0. Conclusion: Always set the Default track flag for the tracks you want played on startup to "yes", don't leave them at "default." So the solution to Zergrinch's problem is to set the Default track flag of the desired audio track to "yes" in the muxer and have the Default Edition set to play that track and the alternate edition to the other track. No need to set the Forced Track Flag. |
|
2009-07-19, 09:01 | Link #48 |
Fansubber
|
Yeah, that's what I meant when I said "forced default", as in set default to "yes". Poor choice of words, I guess.
TheFluff, you may want to change the URL in the opening post to http://www.mod16.org/hurfdurf/?p=8 instead of http://www.uppcon.se/thefluff/hurfdurf/?p=8, since the latter does not seem to work anymore. |
2009-07-19, 11:20 | Link #49 | |
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 37
|
Quote:
__________________
|
|
2009-07-29, 12:30 | Link #50 |
Fansubber
|
After hacking and slashing a boatload of movies in preparation for ordered chapters linking, I'm getting a whole range of keyframes which do not exactly occur at the place I would have wanted it to occur.
So, is there a way to force x264 to put a keyframe where I want? I vaguely recall someone saying you can hack apart a STATS file, but I'd appreciate more guidance. |
2009-07-29, 12:57 | Link #51 | |
x264 Developer
Join Date: Feb 2008
|
Quote:
|
|
2009-07-29, 21:02 | Link #52 |
Fansubber
|
x264 --longhelp brought up a boatload of options. During the second pass, I appended --qpfile <string> to the end of the command line (I was using meGUI and copied the full line. I specified a filename in <string> that contains:
36 I -1 176 I -1 So, I expect to see a keyframe in frame #36 and #176, but it doesn't seem to be happening. ________ As for grep -C2 qpfile, it didn't bring up anything. I assume this is for a UNIX system? |
2009-07-30, 16:51 | Link #53 | |
x264 Developer
Join Date: Feb 2008
|
hence "grep"Frametype decisions are made on the first pass.
Quote:
*Windows isn't good. |
|
|
|