Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th March 2004, 21:46   #1  |  Link
ChristianHJW
Matroska Team
 
ChristianHJW's Avatar
 
Join Date: Nov 2002
Location: Bavaria - Germany
Posts: 1,341
New, experimental matroska splitter

Hi,

Haali made a new, experimental matroska splitter :

http://haali.cs.msu.ru/fonts.html

This new splitter can load FONTS from matroska files, if they were attached to it. This will only work if you set the correct mime type for the FONTS when muxing them with mkvmerge/mmg, it is

application/x-truetype-font

This splitter will parse all attachements of a matroska file for this mime type, and then load them automatically for the embedded SSA subs of this file.

Its important to understand that the FONTS are only temporarily loaded for the playback, and not installed. As soon as the playback graph is closed, they are unloaded.

Have fun and report problems you find. If the build proves stable, it will become the next standard build ....
ChristianHJW is offline   Reply With Quote
Old 4th March 2004, 23:22   #2  |  Link
omion
Registered User
 
omion's Avatar
 
Join Date: Nov 2003
Location: San Diego, CA
Posts: 325
Very nice idea...

But I noticed on the 'fonts' page you point to, the link for the splitter is to MatroskaSpilitter.ax when it should be MatroskaSplitter.ax. Note the spare 'i'.

I typed the URL manually, and will test the filter shortly...

EDIT:
Working just fine so far... Not breaking existing files, and loading the fonts just like it should.
__________________
"We demand rigidly defined areas of doubt and uncertainty!" - Vroomfondel, H2G2

Last edited by omion; 4th March 2004 at 23:45.
omion is offline   Reply With Quote
Old 5th March 2004, 06:40   #3  |  Link
Liisachan
李姗倩 Lǐ Shān Qin
 
Liisachan's Avatar
 
Join Date: Nov 2002
Posts: 1,335
Worked like charm!!!!! Really impressive. This is something
Unicode font (Japanese) tested too.
I know a lot of ppl will be delighted with this....especially (or maybe ONLY) fansubbers...

Will this be merged into Gabest's standard fileter in the end? I really hope so!

- The correct URL as of now:
http://haali.cs.msu.ru/MatroskaSplitter.ax

- Tip
Internal splitter should be disabled if tested with MPC
Liisachan is offline   Reply With Quote
Old 5th March 2004, 19:44   #4  |  Link
Affar
chatarrero
 
Join Date: Jun 2003
Location: Spain
Posts: 35
Hi

I've got a problem. The sample works perfectly and it loads the font without problems, but an hour after creating one by myself, i can't load this correctly even trying different fonts.

This is a little sample with this problem of not loading, let's see if someone knows what's wrong:

http://www.divxhouse.com/test/prueba_ssa.mkv

MKVMERGE: 0.8.5

kind regards
Affar is offline   Reply With Quote
Old 6th March 2004, 11:29   #5  |  Link
omion
Registered User
 
omion's Avatar
 
Join Date: Nov 2003
Location: San Diego, CA
Posts: 325
Quote:
Originally posted by Affar
Hi

I've got a problem. The sample works perfectly and it loads the font without problems, but an hour after creating one by myself, i can't load this correctly even trying different fonts.

Are you saying that the file doesn't load or the font doesn't load?

When I play your file on my computer, the file loads and the subtitles play, but the font isn't the one in the attachment. I messed around with a few things, and noticed that everything worked if I changed the 'Encoding' number in the subtitle file to 0. So change the line:
Code:
Style: Default,McKloud Storm,38,&H00ffff,0,0,&H333333,-1,0,1,1,1,2,30,30,30,0,128
to:
Code:
Style: Default,McKloud Storm,38,&H00ffff,0,0,&H333333,-1,0,1,1,1,2,30,30,30,0,0
(I assume you have a line that looks vaguely like that in your subtitles file. Simply change the last number to 0.)

I uploaded a re-muxed file to http://people.ucsc.edu/~rswilson/other/remixed.mkv.
I also put the edited subtitle file to http://people.ucsc.edu/~rswilson/other/subs-works.ssa, so you can see if it works when you make the mkv.
I have no idea what the 'Encoding' flag does; I just changed stuff until it worked.
__________________
"We demand rigidly defined areas of doubt and uncertainty!" - Vroomfondel, H2G2
omion is offline   Reply With Quote
Old 6th March 2004, 13:11   #6  |  Link
Liisachan
李姗倩 Lǐ Shān Qin
 
Liisachan's Avatar
 
Join Date: Nov 2002
Posts: 1,335
128 means Shift_JIS (Japanese Charset)
If it is English or a W. European langauge, 0 is the correct value...
Liisachan is offline   Reply With Quote
Old 6th March 2004, 14:06   #7  |  Link
Affar
chatarrero
 
Join Date: Jun 2003
Location: Spain
Posts: 35
Perfect, now it works without problems and it seems it was quite a stupid error hehe.

Thank u very much!!!

P.D Great job Haali
Affar is offline   Reply With Quote
Old 11th March 2004, 01:22   #8  |  Link
Palikrovol
Registered User
 
Palikrovol's Avatar
 
Join Date: May 2002
Location: Spain (Madrid)
Posts: 155
Hello.

I think i have found an error in Haali's splitter (it last too much time loading a large - 700 MB - .mkv file. I have used MPC for testing)

Take a look at:

http://forum.doom9.org/showthread.ph...809#post456809
Palikrovol is offline   Reply With Quote
Old 11th March 2004, 04:23   #9  |  Link
Liisachan
李姗倩 Lǐ Shān Qin
 
Liisachan's Avatar
 
Join Date: Nov 2002
Posts: 1,335
btw, for those who dont know it yet....
Halli's code is now "officially" merged into Gabest's splitter 1.0.2.2+
(tho, only in Unicode Release for Win2k/xp)
Liisachan is offline   Reply With Quote
Old 11th March 2006, 15:07   #10  |  Link
ac-chan123
Registered User
 
Join Date: Jan 2004
Posts: 219
@Liisachan:
Where is a list of value and the coorrespanding character set for this attribute? And have it any relation to the "at" sign befor the font name(which should also load the japanese part of fonts).

PS: Is there any relationship from you to this site?

Last edited by ac-chan123; 11th March 2006 at 15:09.
ac-chan123 is offline   Reply With Quote
Old 11th March 2006, 18:28   #11  |  Link
Liisachan
李姗倩 Lǐ Shān Qin
 
Liisachan's Avatar
 
Join Date: Nov 2002
Posts: 1,335
It's defined in Include/WinGDI.h in Platform SDK.
Quote:
#define ANSI_CHARSET 0
#define DEFAULT_CHARSET 1
#define SYMBOL_CHARSET 2
#define SHIFTJIS_CHARSET 128
#define HANGEUL_CHARSET 129
#define HANGUL_CHARSET 129
#define GB2312_CHARSET 134
#define CHINESEBIG5_CHARSET 136
#define OEM_CHARSET 255
#if(WINVER >= 0x0400)
#define JOHAB_CHARSET 130
#define HEBREW_CHARSET 177
#define ARABIC_CHARSET 178
#define GREEK_CHARSET 161
#define TURKISH_CHARSET 162
#define VIETNAMESE_CHARSET 163
#define THAI_CHARSET 222
#define EASTEUROPE_CHARSET 238
#define RUSSIAN_CHARSET 204

#define MAC_CHARSET 77
#define BALTIC_CHARSET 186
These values are Windows-specific (that's why {\fe} in SSA is ignored on Linux), and some Windows API functions take one of these values as an argument. An example is fdwCharSet in CreateFont.
As another note, Sabbu can't handle DEFAULT_CHARSET (1).

And, yes, I know that site. Um... do you read Japanese? We have one of celtic_druid's mirrors, on its subdomain.

EDIT
I forgot to answer about @-marked fonts. That thing is for vertical writing (top-to-bottom).

Last edited by Liisachan; 11th March 2006 at 18:33.
Liisachan is offline   Reply With Quote
Old 11th March 2006, 19:44   #12  |  Link
ac-chan123
Registered User
 
Join Date: Jan 2004
Posts: 219
Thanks for the list of the encoding values and the "at" sign.

No, i can't read japanese. I know some Kanji(e.g. the one used in Ghibli Movie titles, some cities or Hon, go, numbers, ...) and the kanas but that is all.

On the german Doom9/Gleitz Forum i started a list of subtile Programms. It's in german, but the name and links can be understud without german knowledg ;-)
http://forum.gleitz.info/showthread.php?t=26487

Last edited by ac-chan123; 11th March 2006 at 19:46.
ac-chan123 is offline   Reply With Quote
Old 13th March 2006, 01:10   #13  |  Link
LeMoi
Registered User
 
Join Date: Sep 2004
Location: France
Posts: 367
Two years later ? why don't you use Haali splitter's official topic
LeMoi is offline   Reply With Quote
Old 13th March 2006, 07:10   #14  |  Link
ac-chan123
Registered User
 
Join Date: Jan 2004
Posts: 219
Because it is nothing of haali. It was about a ssa issus that was here talkt about.
ac-chan123 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 +1. The time now is 02:05.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.