AnimeSuki Forums

Register Forum Rules FAQ Community Today's Posts Search

Go Back   AnimeSuki Forum > Anime Related Topics > General Anime > Fansub Groups

Notices

Reply
 
Thread Tools
Old 2009-07-10, 22:10   Link #41
Zergrinch
Fansubber
 
Join Date: Oct 2008
Send a message via MSN to Zergrinch Send a message via Yahoo to Zergrinch
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>
And here's the Chapters file:

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>
Zergrinch is offline   Reply With Quote
Old 2009-07-11, 09:54   Link #42
TheFluff
Excessively jovial fellow
 
 
Join Date: Dec 2005
Location: ISDB-T
Age: 37
IIRC track numbers used by the #number syntax start from 1, not 0.
__________________
| ffmpegsource
17:43:13 <~deculture> Also, TheFluff, you are so fucking slowpoke.jpg that people think we dropped the DVD's.
17:43:16 <~deculture> nice job, fag!

01:04:41 < Plorkyeran> it was annoying to typeset so it should be annoying to read
TheFluff is offline   Reply With Quote
Old 2009-07-11, 10:07   Link #43
Zergrinch
Fansubber
 
Join Date: Oct 2008
Send a message via MSN to Zergrinch Send a message via Yahoo to Zergrinch
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 retrospect, I should probably be using TRACKSET here, since I only have 1 edition...

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.
Zergrinch is offline   Reply With Quote
Old 2009-07-11, 13:26   Link #44
TheFluff
Excessively jovial fellow
 
 
Join Date: Dec 2005
Location: ISDB-T
Age: 37
Quote:
Originally Posted by Zergrinch View Post
In any case, the problem I have remains the same even if I used #2 and #1 instead of #1 and #0...
You can always use the track UID's instead, but I just remembered that the track numbers may be implemented like in mkvmerge/mkvextract, i.e. they count ALL tracks starting from 1, so for example if you have video track/audio track/audio track/subtitle track/subtitle track, the first subtitle track will be #4. Not sure, but I remember having some similar problems when I was experimenting with TRACKSETEX ages ago...

Quote:
Originally Posted by Zergrinch View Post
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?
I don't remember, I think I just copied it from some Haali sample.
__________________
| ffmpegsource
17:43:13 <~deculture> Also, TheFluff, you are so fucking slowpoke.jpg that people think we dropped the DVD's.
17:43:16 <~deculture> nice job, fag!

01:04:41 < Plorkyeran> it was annoying to typeset so it should be annoying to read
TheFluff is offline   Reply With Quote
Old 2009-07-11, 19:17   Link #45
Zergrinch
Fansubber
 
Join Date: Oct 2008
Send a message via MSN to Zergrinch Send a message via Yahoo to Zergrinch
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.
Zergrinch is offline   Reply With Quote
Old 2009-07-12, 10:58   Link #46
Scab
Saizen
*Fansubber
 
Join Date: Jun 2004
Age: 39
Quote:
Originally Posted by Zergrinch View Post
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?
http://www.matroska.org/technical/sp...ml#targettypes
Scab is offline   Reply With Quote
Old 2009-07-19, 02:21   Link #47
Jimmy C
Senior Member
 
 
Join Date: Jun 2007
Quote:
Originally Posted by Zergrinch View Post
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.
This seems interesting, so I decided to run some experiments on it. The results are interesting indeed.
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.
Jimmy C is offline   Reply With Quote
Old 2009-07-19, 09:01   Link #48
Zergrinch
Fansubber
 
Join Date: Oct 2008
Send a message via MSN to Zergrinch Send a message via Yahoo to Zergrinch
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.
Zergrinch is offline   Reply With Quote
Old 2009-07-19, 11:20   Link #49
TheFluff
Excessively jovial fellow
 
 
Join Date: Dec 2005
Location: ISDB-T
Age: 37
Quote:
Originally Posted by Zergrinch View Post
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.
fixed, thanks
__________________
| ffmpegsource
17:43:13 <~deculture> Also, TheFluff, you are so fucking slowpoke.jpg that people think we dropped the DVD's.
17:43:16 <~deculture> nice job, fag!

01:04:41 < Plorkyeran> it was annoying to typeset so it should be annoying to read
TheFluff is offline   Reply With Quote
Old 2009-07-29, 12:30   Link #50
Zergrinch
Fansubber
 
Join Date: Oct 2008
Send a message via MSN to Zergrinch Send a message via Yahoo to Zergrinch
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.
Zergrinch is offline   Reply With Quote
Old 2009-07-29, 12:57   Link #51
Dark Shikari
x264 Developer
 
 
Join Date: Feb 2008
Quote:
Originally Posted by Zergrinch View Post
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.
x264 --longhelp | grep -C2 qpfile
Dark Shikari is offline   Reply With Quote
Old 2009-07-29, 21:02   Link #52
Zergrinch
Fansubber
 
Join Date: Oct 2008
Send a message via MSN to Zergrinch Send a message via Yahoo to Zergrinch
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?
Zergrinch is offline   Reply With Quote
Old 2009-07-30, 16:51   Link #53
Dark Shikari
x264 Developer
 
 
Join Date: Feb 2008
Quote:
Originally Posted by Zergrinch View Post
x264 --longhelp brought up a boatload of options.
hence "grep"
Quote:
Originally Posted by Zergrinch View Post
During the second pass
Frametype decisions are made on the first pass.
Quote:
Originally Posted by Zergrinch View Post
As for grep -C2 qpfile, it didn't bring up anything. I assume this is for a UNIX system?
grep is a basic utility that any good* commandline environment should have.

*Windows isn't good.
Dark Shikari is offline   Reply With Quote
Old 2009-07-31, 06:32   Link #54
martino
makes no files now
 
 
Join Date: May 2006
Quote:
Originally Posted by Zergrinch View Post
As for grep -C2 qpfile, it didn't bring up anything. I assume this is for a UNIX system?
Just get cygwin and use that.
__________________
"Light and shadow don't battle each other, because they're two sides of the same coin"
martino is offline   Reply With Quote
Old 2009-07-31, 10:33   Link #55
Zergrinch
Fansubber
 
Join Date: Oct 2008
Send a message via MSN to Zergrinch Send a message via Yahoo to Zergrinch
Tacking --qpfile <file> during the first pass did the trick. Thanks, Dark Shikari!
Zergrinch is offline   Reply With Quote
Old 2009-08-01, 13:01   Link #56
D404
Banned
 
Join Date: Aug 2006
Quote:
Originally Posted by martino View Post
Just get cygwin and use that.
Installing cygwin just for grep is retarded. There are even windows ports, so it's not even needed.
D404 is offline   Reply With Quote
Old 2009-08-01, 15:33   Link #57
martino
makes no files now
 
 
Join Date: May 2006
Quote:
Originally Posted by D404 View Post
Installing cygwin just for grep is retarded. There are even windows ports, so it's not even needed.
Didn't know that...
__________________
"Light and shadow don't battle each other, because they're two sides of the same coin"
martino is offline   Reply With Quote
Old 2009-08-02, 17:34   Link #58
fireshark
CRF Believer
*Fansubber
 
 
Join Date: Jan 2007
Send a message via AIM to fireshark
gnuwin32











fireshark is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
We use Silk.