View Full Version : Alternative matroska splitter for directshow


gabest
30th May 2003, 23:05
http://sourceforge.net/project/showfiles.php?group_id=82303

Since the specification of matroska is not finalized don't expect everything to be supported already. Loading and seeking is a little slow, but bearable.

Gaia
30th May 2003, 23:31
Just tried it and i have to say your filter works a lot better than offical one, atleast in my system. Althought MPC 6.4.5.1(Win98 version) seems to crash always then i quit but that's just tiny problem.

I still have lots of strange problems with offical filter, maybe they are Win98 releated but this splitter rocks!

Great work Gabest :)

Little update, it's actually not crashing always. Just booted and problem is gone.

ChristianHJW
30th May 2003, 23:46
Gabest rocks !!!

We still dont understand how he could write a Dshow parser that doesnt use libmatroska to read MKV files, and even in less then 3 days !! , but we hope to get a lot of inspiration from his filter.

I guess only programmers, and people who are in touch with development projects, like i am, can estimate what that really means. We have been writing/improving our basic I/O library since more than 18 weeks now, plus we had to invest a lot of time in the Dshow parser ( poor robux4 had to learn that from scratch ) and he is making a complete, self contained parser filter in 3 days .... LOL :) !!

Our problem is, we simply dont have the manpower to update 2 different things, the main library and the parser code in the filter. Every time we update the lib, we had to update the Dshow parser also. So, the only sensible solution for us is a DShow parser filter that will compile against the main library, so we really have no clue how to make use of Gabest' s code now ....

Koepi
31st May 2003, 00:20
Hell, great job gabest :-)

If you still feel the need for a challenge, can you add muxing support as well? If it's a bit like the OggDS filters, we (Melgish and I) could easily adopt OggMux to support matroska then as well. And it would still be a DSF application (which I'd like it to stay to be different somehow from the other tools meanwhile available. It's usually good to have 2 different possibilities to get something done - if one solution fails, the other could work.)

...but only if you feel like it - thanks for the DSF anyways! :) (...thinking about trying out matroska soon if the support gets further spread like this :) )

Best regards
Koepi

Calculon
31st May 2003, 04:06
Nice one! :) Works better than the official one on my system as well(WinXP).

Animaniac
31st May 2003, 06:26
Incredible!

Seeking doesn't seem to work at all on WMP9.
But, the correct playing of MKV's with Vorbis more than makes up!

Thank you very much!

gabest
31st May 2003, 08:48
Animaniac: Seeking prob fixed in 1.0.0.1.

Koepi: Ok, the muxer should be even easier to make.

el00343
31st May 2003, 10:48
way cool, gabest!

Gooop
31st May 2003, 12:12
@ gabest
how many people are you ?... :D
thanks for your work, it works perfectly for me as well with winxp, mpc6451 and xvid/ogg files.

ssjkakaroto
31st May 2003, 12:48
thx a lot gabest!! :cool:
now with guliverkli will be a lot easier to get your updated stuff!!

edit:
just did a quick test with it using a xvid video+ogg audio and it plays smooth but two things happened:
1. ffdshow reports the FR as 25.00 fps eventhough the original avi is 23.98 fps
2. in WMP 6.4 everytime i try to seek the video is restarted, but you can notice that wmp can't "see" the whole file, the seek bar becomes white as the video plays just like you're watching a asf video from the internet, but even if i try to seek backwards the video restarts, i still have to try it with MPC
just one question, was it supposed to play subtitles (srt) yet or not?

tia

unmei
31st May 2003, 13:22
purrfect ! (quite ;))

i did some tests with the MatroskaSplitter 1.0.0.1:

one file: mkv, anime,
1420kbit/s Xvid (build 4.may i think) DVD resolution (720x576) with 3 consec. B-frames
192kbit/s lame mp3
muxed with VDmod, default audio interleave (after every frame)
playback off a network drive (fast IDE drive, 100mbit/s LAN)

the same content in a AVI does NOT play fully fluent on my comp
(K7 1.2, 512mb ram, radeon 7500, XP pro)

*TCMP 4.0rc3 - ignores "play" (i probably screwed up my installation, i can't imagine TCMP inherently refuses to play matroska)

*Quicktime 6 pro - "could not open ...mkv because it's not a file QuickTime understands", after 2 crashes :s

*BS player 0.86 build 494 - stutters about as much as AVI ("bearable"), seek time 2-4 sec (more for bigger jumps), skips occur on longer panning sequences but not on hi motion scenes

*WMP 8.0 (the one delivered with XP pro, never updated) - few skips on pan, less than BS player or with AVI file, but more than MPC or ZP. seek time bigger than MPC but less than 1 sec (about the same as ZP)

*ZoomPlayer 3.00 standard - does not stutter but slow down and resync after ca 3 sec, occurs only on the few most extreme panning scenes, seek time bigger than with MPC, but less than 1 sec.

*MPC 6.4.5.2 - purrfect :) , seek time < 1 sec independent of distance , the little stuttering left is probably "hard coded" into the encoding already (hard to notice, by far most fluent of all)

Thanks a lot Gabest .
I thought for some time now to stop encoding to avi but was hesistating because the playback always gave me problems - you made the step i was waiting for (beating AVI :D) - if the results for CD playback are analogue i have had my last AVI encode

unmei
31st May 2003, 13:50
did the CD test : same file off a local sony DVD rom

*BS player performs better than over LAN (less stutter, about same seek time)
*WMP has heavy audio stutter in the critical scenes and seek time is up to 4 sec for seeking back from end to beginning
*Zoom Player - couldnt find a difference to LAN/hd playback. thus fastest seek on CD
*MPC performs a little worse on CD - seek time has increased, mainly for far backward jumps now up to 3-4 sec, playback a tiny few less fluent than over LAN

summary :
over LAN: MPC by far best
off CD : BS player, ZP and MPC could be said equal performance

(PS)
all tests in fullscreen mode (1280x1024 32bpp 75fps TFT)
Xvid decoder: koepi 14.may, no postprocessing
*(the encode codec was 3.may, not 4.may)

HughMagoo
31st May 2003, 14:38
nice!

playing a mkv with xvid, ac3, and two ogg tracks in zoomplayer 3.10RC1. I thought matroska was a little young for multiple audio streams, but using the "audio track" function in zoom, I can easily switch between the three tracks. (edit) oh, didn't notice with this short sample file that the video does indeed restart when changing audio tracks.. oops

thanks.

bring on the bells and whistles! (chapters, menus, etc) :)

DAvenger
31st May 2003, 15:03
Good one, Gabest :D

filewalker
31st May 2003, 16:24
Thanks gabest for your great DSF!:)

Originally posted by HughMagoo
(edit) oh, didn't notice with this short sample file that the video does indeed restart when changing audio tracks.. oopsI also noticed this behaviour in ZoomplayerPro when i switched the Ogg Audio streams...But with latest MPC it works best at the moment...without a new starting of the movie.

...again, really great work!

Cu filewalker:)

gabest
31st May 2003, 17:52
Gooop: I'm exactly 1 person :)

ssjkakaroto: I'll have to debug wmp6 to find out why it is jumping back, but it really does... The fps is not passed in the media type yet because in the test files I used to test this info was missing, but it doesn't have to much importance, the timestamps should keep the playback in sync. Subtitles will get new media types, now only test/ascii is outputted because currently no filter would recognize utf8 or some other format.

unmei: Thanks for the tests! About seeking times and stuttering I have no idea why they are that much different... :) But I know that I managed to save mkvs with vdubmod which had way too many unneeded cue points and those can slow down the opening of the file and the searching of the right keyframe for seeking.

HughMagoo: I think zoom restarts from the beginning after an audio stream switch because it stops the graph to switch the filters and that resets the internal time position of the splitter. Blight could fix it by pausing and seeking back to the last position befor restarting the playback.

ChristianHJW
31st May 2003, 19:40
Originally posted by gabest Koepi: Ok, the muxer should be even easier to make.

:) !

Gabest, how do you plan to find out where the video/audio frame boundaries are ? Dont forget, in MKV :

one frame = one block

if lacing is not used, that way we ensure the files can be edited without codec.

We had plans to introduce a so-called 'DShow compatibility mode' also, in addition to the 'VfW compatibility mode' when transmuxing stuff from AVI, but our Linux peeps protested against that, so we abandoned the idea.

In any case, you are more than invited to talk to us on IRC about this muxer filter, and how you would like to make it, there can be no doubt that if there is any person who can do it, its you ;) ....

Kyo
31st May 2003, 19:58
:eek: I know the trick, you really live in a country with 30h/day :eek:

No enought words to thank you!!! great work Gabest :cool:

faxmactor
1st June 2003, 01:31
Awesome! Actiually, the Matroska DS filter, created by its core developers did not worked since 0.4 on my system (Win98 SE Hungarian), This is the best so far!

Köszi Gabest ;)

Kyo
1st June 2003, 04:16
Bug report (I think :o)

Whe I use your player/DSF splitter the splitter not work with AAC audio(no-audio) like the matroska-group one(pass the audio to a decoder like the one packed with 3ivx), it's me or problem with the splitter?


/MPC report/
Stream 1

Media Type 0:
--------------------------
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: FOURCC GUID {000000FF-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 384000
cbFormat: 18

WAVEFORMATEX:
wFormatTag: 0x00ff
nChannels: 2
nSamplesPerSec: 48000
nAvgBytesPerSec: 0
nBlockAlign: 0
wBitsPerSample: 0

Gaia
1st June 2003, 09:33
I think gabest has not promised his filter to work with aac audio?

vinouz
1st June 2003, 11:31
Great Work Gabest ! Many thanks for tha quick and precise work. (were you a democoder ? ;) )

So, here's a little problem. I've not been following MPC's exact evolution, since I had a version that worked fine for me.
It was 6.4.3.1.
This version works perfectly with mkv files. Sometimes freezes the display, but it's more about my video card driver ddraw acceleration handling.
So,
i tried a three audio tracks mkv (vdubmod 1.5.1.1.a used), the three are plain PCM to avoid further incompatibilities.
It worked perfectly with MPC6.4.3.1
But when I changed to 6.4.5.2 I had the lower half of the video bugged with a kind of green and magenta grid. (sound OK)
Then put MPC6.4.4.2. The video was ok, sound ok, but it froze every 2 1 or 2 seconds of video. Seeking made it unfreeze.
So, back to that good ol'6.4.3.1, as it works best.
my system : Win2kpro french on athlon (tbird) 1ghz.
if you want a screenshot or the video stream, mail me.

Vincent.

P.S. : and then THANKS again !

QQ
1st June 2003, 13:43
I have a short clip, DX50 + PCM audio (my gf singing!;p), I opened that in VDmod, saved as Matroska. WMP6.4 tries to download audio codec (huh), and then plays it without sound, seeking doesnt work. MPC 6.4.5.0 plays it fine, seeking works, no sound though.

gabest
1st June 2003, 14:25
QQ: I fixed the seeking with wmp64 yesterday. It is in the cvs already, just no release build was made from it :P I have yet to test it with PCM. What were its exact parameters? (float/int, freq, bitpersample, channels)

vinouz: Do you also have such probs with other file types or just mkv?

Kyo: I couldn't get the aac samples work either. I read that it has to have the 0xff wave format tag but the aac filter still can't connect it.

faxmactor: Ha jól számolom te vagy itt a harmadik, akiről megtudtam, hogy magyarul is tud :)

vinouz
1st June 2003, 15:51
OK, very strange bug.

In fact it appears it's not due to multitrack, nor to container (!!). An AVI without any soundtrack now does this as well.

The thing is I see MPC try to get hardware acceleration to the front player window, and when I open several windows, only the one getting ddraw acceleration has this problem. So it's probably due to it.
My card is an ATI Xpert98 (based on 3DRage pro GPU). I have directx9. But I think it won't help, as this problem is particular to MPC6.4.5.2, not to my card.

It seems on U and V channels there are like grids (horizontal and vertical regularly spaced lines).
As I see, both channels are sent to the HAL, but then a fixed pattern is overwritten on them.... (the video has lines but isn't bichromic).

Nothing more for the moment.

[edit : after a full redraw (hiding the dshow window), and until the next keyframe, all is OK. And in fact one of the two (U, V) channels at least doesn't change... Exactly, at each keyframe, U or V plane seems to point at a plane taken from the first frame, which doesn't change, but its base adress starts in the middle of the frame.]

robUx4
1st June 2003, 16:40
I've just tested quickly Gabest's filter (latest public build, as I didn't install VS.Net to compile it).

It's a really good piece of work. In a few days you managed something that already works very well (based on existing + working code for other filters). I haven't checked if it would be possible to use libmatroska for the read/write part of matroska/EBML data. That could help you get more access to matroska functions, corrected bugs, etc.

On the down sides, I noticed that you use a lot of virtual memory in your filter (130 MB for Test2 which is 1MB big and 190 MB for a 22MB movie). It may be a problem for computers with a small amount of memory.

I also thought playback from a Windows network wouldn't work, but it's just that loading is slow (like for mkxds).

gabest
1st June 2003, 17:07
It shouldn't use more than a few MBs or less. Are you sure you didn't test the very first one which used to index the whole file?

vinouz
1st June 2003, 17:26
has that a relation to the disappearance of the subtitle filter in the filters list while playing (I already saw it making some SVCD content not playable, but I didn't know its absence leading to problems...)
[edit : and there's an update to my last post too]

[edit : yep ! Using graphedit I removed the subtitle filter from the list and had this problem again !
It's Ogg subtitle filter - where is Tobias ;)]

robUx4
1st June 2003, 17:38
Originally posted by gabest
It shouldn't use more than a few MBs or less. Are you sure you didn't test the very first one which used to index the whole file?

I use "MatroskaSplitter_20030531", ie 1.0.0.1

MarkCoolio
1st June 2003, 18:15
@gabest,
@robUx4,

could u imagine working together and making a super-matroska-filter? i mean you both have for sure done a good job and combining your 2 filters would us get a great filter!

robUx4
1st June 2003, 18:57
Originally posted by MarkCoolio
@gabest,
@robUx4,

could u imagine working together and making a super-matroska-filter? i mean you both have for sure done a good job and combining your 2 filters would us get a great filter!

We already talked together and we are currently doing so on IRC :)

midiguy
1st June 2003, 19:15
Originally posted by robUx4
We already talked together and we are currently doing so on IRC :)
http://www.bbc.co.uk/cult/simpsons/images/quotes/burns.gif
excellent.

gabest
1st June 2003, 19:35
vinouz: It's not quite clear to me what's going on by you. Are you saying when the ogm's subtitle filter _is_ on the filter list you don't have the color problems?

Originally posted by MarkCoolio
could u imagine working together and making a super-matroska-filter? i mean you both have for sure done a good job and combining your 2 filters would us get a great filter! We are exchanging ideas, but having two filters can better than one :)

MarkCoolio
1st June 2003, 19:47
yes but 1 very good filter is better than 2 good filters, or? :)

actually I would like to have only 1 filter 'cos I would not have to test all 2 in order to see for which part which filter is the best.

I hope you can co-operate and either use mkxds.dll or matroskasplitter.ax as source and build up a great filter.

vinouz
2nd June 2003, 01:19
@gabest : exactly. And it seems it's when ffdshow is decoding. I didn't test thoroughly, but it seems with divx decoder filter all goes ok. And with tobias's ogm sub muxer, both decoders work perfect.

BTW, how do you do for the decoding (tried .mkv with 15 tracks. Now it's my new way of comparing sound samples) only happening on the stream selected ? (I mean on CPU load 15 tracks isn't much more than 1)

Vinouz.

gabest
2nd June 2003, 01:40
The switcher blocks those streams when it can. There is no data flowing between the splitter and the switcher for inactive streams.

Lobuz
2nd June 2003, 01:54
I tested these Matroska parsers with resized Matrix trailer at 1440x784 with XviD q3 and Vorbis stereo at ~128Kbit/s. With MPC it was using something about 500MB of system memory, with oryginal parser 50MB. But MPC was more fluent. Anyway ogm was the best. And with proces prioryty RealTime at my athlon 900 with ffdshow was playing fully fluently. But with higher biterate at q2 there are 2 shaky points (biterate goes to 5MB/s).
ps. Is there a possibility to limit max size of frame in XviD? to not rich for example 3 - 4 MB/s

Regards
Lobuz

Kyo
2nd June 2003, 04:47
About memory:

mkv opened with MPC get a PagingFile overhead of ~168Meg and get worse with more audio streams (4 audios muxed ~287Megs)
mkv opened with mplayer2(+gabest splitter) PF overhead of ~20Meg
mkv opened with mplayer2(+reference splitter) PF overhead of ~20Meg but for the multitrack clip only get an overhead of ~40Meg of the paging file

So must be the implementation in MPC

BTW again great work in mpc and matroska! go on gabest

epere4
2nd June 2003, 05:53
As usual, Gabes rocks!!!

Great tool!!

I have one question (it is not really mine, Doom9 asked himself the same thing in the news): What is the meaning of guliverkli?

CU

chros
2nd June 2003, 08:59
@epere4:
>What is the meaning of guliverkli?
perhaps it's a play-on-words: Gulliver (the hero of a tale) + verkli (is barrel-organ in Hungarian)

@gabest: És én ??? :)

vinouz
2nd June 2003, 11:10
and why not Grutaflu ?

Liisachan
2nd June 2003, 13:54
Sugoi!!! (awesome)
My compliments to Gabest-sama

I ve just tested 6.4.5.2 and matroska playback is better than one by the official DSF 0.4.2, tho I cant see subs atm


Originally posted by epere4
I have one question (it is not really mine, Doom9 asked himself the same thing in the news): What is the meaning of guliverkli?

my Hungarian friend is guessing: Gulliver + 'verkli' (hungarian)
verkli = Wurlitzer, an old-style music machine...:)

gabest
2nd June 2003, 16:54
Bad news: I realized my filter has a very bad design for low memory usage :o, good news: I know how to rewrite it :D

Animaniac
3rd June 2003, 01:53
Originally posted by gabest
Bad news: I realized my filter has a very bad design for low memory usage :o, good news: I know how to rewrite it :D

Wow. You're unbelievable, not only did you write the original one in <3 days, but now you're going to rewrite it.

Atamido
3rd June 2003, 03:21
Maybe I shouldn't mention this, but the humor of this is beyond my capability to hold in.Wow. You're unbelievable, not only did you write the original one in <3 days, but now you're going to rewrite it. Bah! I tried out the new version several hours ago, and it works fine. So, not only did it only take him <3 days to write a filter from scratch, it only took a few hours to rewrite it.

gabest
3rd June 2003, 03:36
1.0.0.2 released! This is working a bit different now (internally). Keep the old one too, just in case.

Kyo
3rd June 2003, 04:28
Wow... even a new version of MPC...



remember that sleep *enough* is a good live fact :D :D ;)

Edit: Quick test, great work as always, now the Memory has gone and was a bit lower than the "matroska" filter, now even AAC work!!!

BTW a n00b question, why when I mux an aac + xvid(or other codec) the seek to a non keyframe come with the corresponding "bleeding" and with other audio formats(mp3,ac3,ogg) not?? :o
it's a problem with the muxer(mkvtoolnix-0.4.1) or decoder?

Edit2: Ahh... that means that the internal splitter can be disabled, very good to try the other splitter with the same good player :)

gabest
3rd June 2003, 04:38
Originally posted by Kyo
Wow... even a new version of MPC...Did you read the release notes? :)

Lobuz
3rd June 2003, 04:50
Nice version of MPC. It now eats only about 30MB of Page File Memory for 1440x784 clip. Dropped from 500MB to 30MB - WOW. One strange thing if I set process priority to Realtime it's worse, but with ogm it's better. Maybe it's because Vorbis in ogg container is better handled.

Regards
Lobuz

gabest
3rd June 2003, 05:02
The vorbis decoder fills the audio renderer's buffer very badly (40% at max). You could check the property page of the renderer while playing. There is the "fullness" parameter, if that goes too low bad things can happen.

Lobuz
3rd June 2003, 05:30
That's it. With Vorbis it's jumping 40-70 % and with mp3 its 90% almost all the time. Is there a way to expand the audio buffer size? Or maybe some kind of prebuffer filter would help. It could be applayed to any A/V stream?

Regards
Lobuz

robUx4
3rd June 2003, 09:33
This is a known problem or the Vorbis DSF... We have informed Xiph about this problem in case they are willing to help :sly: as Tobias is unreachable. Otherwise there may be a CoreVorbis codec soon. :rolleyes:

galocza
3rd June 2003, 11:36
"faxmactor: Ha jól számolom te vagy itt a harmadik, akiről megtudtam, hogy magyarul is tud"

gratu Gabest,
a fenti számhoz adj még egyet 8).

but not let Hungarian kill the forum 8).

"perhaps it's a play-on-words: Gulliver (the hero of a tale) + verkli (is barrel-organ in Hungarian)"

i (really!) thought kli is for clitoris. sorry. oh, im so baaad...8(

vinouz
3rd June 2003, 12:23
Gabest's Union of Light, Interesting, Very Exceptionnal Renderers, Klingon Language not Included.

galocza
3rd June 2003, 14:40
"Klingon Language not Included"

not yet. but Gabest is searching for help with localizations at his sf.net forum... if youre good at Klingon, you should assist him 8).

for some reason i think he wont need any help with Hungarian (the language im best at)...

Kalewynn
3rd June 2003, 18:24
When I first tried your matroska splitter yesterday night, I was instantly awed at what you had managed to do in just a couple of days. So much that when I started thinking what to write here,all I could think of were a series of incoherent rantings, in which the words, "man, oh man!" would be repeated all through. :D

It's been a few hours and now I've calmed down, but I'm still, incredibly glad. The matroska official DS filters didn't work at all for me. No matter how cool I found the weird mirage effect I got when seeking in a mkv file, I knew others wouldn't truly appreciate it :p

So now I can dump the old OGM format, which Tobias seems to have abandoned, and start putting my movies in a mkv file. And as an anime fan, one of the things I find coolest about the matroska format, are the Subtitles, which I've heard should be able to do all that SSA do. So we'll have those cool karaoke effects, that you couldn't get in an OGM.

All in all you've done a super job, keep up the good work.

Mr_Khyron
3rd June 2003, 18:56
:eek: a new CDXA DS filter http://sourceforge.net/projects/guliverkli
keep up the good work gabest. :)

Koepi
3rd June 2003, 19:59
I just got a mail from Tobias. He's alive and will release the sources to xiph.org. So much about "ogm is dead".

Sorry to put this into this matroska thread, but i feel i have to answer that once and for all.

I can see the growing guliverkli-repository... gabest, do you still plan on writing a DSF matroska muxer? ;) The interface should be easy to reproduce/reuse if Tobias releases his sources.

Best regards

Koepi

raistlin2k
3rd June 2003, 20:59
Really good news, Koepi!!

Thanks
Raist

gabest
3rd June 2003, 21:09
Mr_Khyron: It's been in MPC since it could read SVCD, I just didn't release it as a standalone filter :P

Koepi: I'm on it. The filter's body is ready and it already outputs the file headers.

ChristianHJW
3rd June 2003, 21:15
Originally posted by Koepi Sorry to put this into this matroska thread, but i feel i have to answer that once and for all.
:) ;) .... Hey koepi, we at matroska are REAL opensource people and we are happy about every code release, be it even from a kind of 'competing' project :D ... did he say anything about what license it will be in ( the code release ) ?

EDIT : BTW, talk to him about hosting the code on corecodec.org !!! After all, Blacksun helped him a lot in the beginning, so he should remember that. And i still love the word 'CoreVorbis' , to differentiate a bit from the Xiph Linux geeks :D ... j/k ...

vinouz
4th June 2003, 00:12
@gabest : ok for my bug. latest ffdshow corrected this, but I hadn't looked at it. Shame on me.

And thanks for the rolling works !

Vince.

ssjkakaroto
4th June 2003, 00:12
wow gabest! just tried the new build with wmp 6.4 and it works like a charm :D great work ;)
now seeking is working nicely but it seems it doesnt seek to keyframes am i right? does it have anything to do with the non-blocking seek? or maybe it's because my video had b-frames?

TIA

gabest
4th June 2003, 00:30
Do you mean you see garbage on the screen after a seek? I think I'm going to change the seeking to block until I find out what is wrong.

Tommy Carrot
4th June 2003, 00:37
Gabest,

Itt vagyok én is. :D Gond nélkül megy, én OGG-ba szoktam kódolni, de lehet, hogy hamarosan váltás lesz. :) Mindenesetre gratula.

bilu
4th June 2003, 00:40
@Tommy Carrot

Rule 13, please ? ;)

Bilu

Tommy Carrot
4th June 2003, 00:42
@bilu

Sorry, this is the last time. :D

QQ
4th June 2003, 04:34
Newest build still playes my clip without sound. Sorry for being late to answer you gabest, but sound in it is mono, 8bit, 22khz uncompressed PCM.

gabest
4th June 2003, 04:49
Any chance you can cut a small piece and send me?

Kyo
4th June 2003, 06:02
@Gabest
other little problem :o
When the player(MPC) load an audio with the auto-load feature and you close the player it hang for a little moment(3-4seg) the cpu and then release the cpu, may be a buffer to big for audio?

Aboo
4th June 2003, 14:36
This DSF is HELL GREAT!!! Great thanx to you, allmighty Gabest.:D

The two things i want to ask:

1) Will there be subtiter support in your splitter - i cant see them. In fact many of my Anime films are in japanese, with english and russian subtiters. SO licening to the language i will never understand (although who knows... ;) ) really disappoints me.

2) Maybe it's a little offtopic, but if i burn mkv file on XCD, and then play it with your CDXA filter installed, will it work? I'm asking, because i haven't tested yet. And can you tell me, if mkv file has built in CRC checksums, like OGM does?

Anyway, the job you've done is wonderful. We're all grateful to you.

PS: Offtopic, but can anybody tell me, why can't i demux subtiter file out of mkv file with VDubMod? When i try to do it, it just tells me something like "Error while reading, seeked on bad Cluster".

gabest
4th June 2003, 17:00
Aboo: It won't output utf-8 yet, even if it did there is no subtitler filter to interpret it. The cdxa filter is nearly the same as the official xcd filter, it was made to be an svcd reader but then I realized xcd is svcd too just with any kind of file allowed in the dat. There is an element for CRC in matroska, but not used very frequently as I noticed.

Kyo: Is this a problem of the matroska splitter or mpc in general?

angelyote
4th June 2003, 17:18
Gabest,

This filter is great. I couldn't get the Matroska released filter to work very well at all but your filter is beautiful. Thank you!

I hope subtitle support is the next thing on the Matroska list of things to get working. I do a fair bit of anime encoding and being able to get all my files in one container is what I'm really jonesing for.

Dave

Kyo
4th June 2003, 18:03
@gabest: MPC in general.

chepe36
4th June 2003, 20:06
Welll... i dont mean to be rude buet personally i prefer the official decoder it works great with me. and the gabest decoder cant handle seeking very well (at least in my comp and my files)

Kalewynn
4th June 2003, 20:10
Originally posted by gabest
Did you read the release notes? :)

Actually I haven't, I couldn't find them for the latest 2 versions. Since you web page lists them until 6.4.5.1. Where are they hosted? :)

gabest
4th June 2003, 20:28
If you click the title of the release and not the download link then you will find yourself on a page where the release notes and changes are.

BoNz1
5th June 2003, 02:19
Thank you gabest for your excellent filter, I have one problem with it though. I created a movie and muxed it with the ac3 in mkvmerge but there is a 18ms delay that I have to put on it. So I did this in mkvmerge. However, when I play it back it plays back perfectly and in sync (at least I think, 18ms I probably wouldn't be able to tell) however the delay makes the video unseekable. I can cut you some of the file if you want to have a look at it. Other than that I am very very pleased with this filter, thanks a lot.

Kyo
5th June 2003, 04:53
@BoNz1

I think that the problem is the setup of mkvmerge, In a past post I wrote that video+aac="break the seeking with bleeding" but now I got some time and check the options against the Vdubmod ones and see that mkvmerge put "cues" also on audio(Vdubmod not), when I choose "None" the seek is good again :), have you tried with this setting?

BoNz1
5th June 2003, 06:36
Kyo, I see, it works now perfectly.

QQ
5th June 2003, 07:51
Sure gabest, I can send you a piece, just PM me how much and where.

gabest
5th June 2003, 08:51
QQ: PM sent.

BoNz1: Do you still have that file made with mkvmerge? If you do, please run "mkvinfo -v ... > info.txt" on it and send me the txt. (use some compression because it will be big :))

Rasi
5th June 2003, 11:15
i just tried it out and seeked a bit in the file...

instantly got a visual runtime error message pop-up and player closed (zoomplayer)

BoNz1
5th June 2003, 14:17
Yes, I still have the file, here is the info.txt http://www.geocities.com/bonzi5252/info.zip

ssjkakaroto
5th June 2003, 14:46
just for the record, the problem i was having with seeking (garbage on the screen after a seek) was probably related to mkvmerge too, cuz muxing the files with the latest vdubmod (cvs) makes the seeking perfect!
@Kyo: selecting cues "None" disables them right? how can we make the cues only to the video stream like vdubmod using mkvmerge?

gabest
5th June 2003, 14:57
Originally posted by BoNz1
Yes, I still have the file, here is the info.txt http://www.geocities.com/bonzi5252/info.zip Did you use the -v switch? I can't see the clusters/blocks listed in the txt.

BoNz1
5th June 2003, 15:41
I thought I did but I guess I didn't. I did it again and this one has clusters, http://www.geocities.com/bonzi5252/info.zip

ChristianHJW
5th June 2003, 16:01
Originally posted by ssjkakaroto @Kyo: selecting cues "None" disables them right? how can we make the cues only to the video stream like vdubmod using mkvmerge?

Use mkvmerge from CLI with that, i dont think jcsstons GUI supports that already .... i will recommend to him to use this as a default switch whenever a .mkv file with video is produced ...

Kalewynn
5th June 2003, 19:21
Did some more serious testing, and found out that the splitter still stutters a little on playback with large files (698 MB). It is a very slight effect and more noticeable after seeking, though easily overseen and discarded. Certainly, it is nowhere near to making the movie unwatchable, but just enough to be noticed at times and be slightly annoying.

Another thing, when using mkvmerge-wxgui, I get the darned MVSCR70.dll error message, but I can't get the file that jcsstons recommends in that case, anyone can help me with that?

Apart from that I can only repeat what I said before. Great work Gabest.

ssjkakaroto
5th June 2003, 21:57
@ChristianHJW: what i understood from kyo's post is that if you use a command like this
mkvmerge --output i.mkv --cues iframes video.avi audio.ogg
not only the video but also the audio would be indexed and the only way to disable this is using --cues none, which would disable indexing completely right? (with vdubmod you just have to select "Index only the video stream")
so it seemed that was a "problem" with mkvmerge and not the gui, am i wrong?

TIA

Kyo
6th June 2003, 05:16
@ssjkakaroto
I made the mkv with the GUI and just select "none" for the audio stream(s). My commandline was:
mkvmerge --cluster-lenght 1000 --meta-seek-size 400 --output "C.\test.mkv" --cues iframes --language eng "C:\xvid.avi" --cues none --language eng "c:\audio.aac"

ssjkakaroto
6th June 2003, 11:39
OH! Now i understand :p
thx m8

vinouz
7th June 2003, 01:36
yo, new one. This time related to MPC :)
When MPC fails, the process stays and the tray icon too.
(well... when tray icon is set ;) )

thx 4 work too

gabest
7th June 2003, 07:10
First release of "Matroska Muxer" up at sf.net.

Kyo
7th June 2003, 07:51
yay ;)

Koepi
7th June 2003, 09:29
Gabest:

great, i'll look at it now :) Thanks a million for writing a muxer! I have to inform Nicholas as well about it :)

Best regards
Koepi

EDIT: do you have the GUIDs handy? (i.e. like in OggDS.h from Tobias? http://www.stud.fernuni-hagen.de/q5045045/OggDS.h )

gabest
7th June 2003, 09:36
{1E1299A2-9D42-4F12-8791-D79E376F4143}

Nic
7th June 2003, 10:19
@Gabest: infinitely impressive :)
@Koepi: With the new Graphedit with DX9SDK, you can at last look at the filters and copy & paste the GUIDs (instead of looking them up and typing them in manually...like I used to). Halleluh ;)

Liisachan
7th June 2003, 11:10
Originally posted by gabest
First release of "Matroska Muxer" up at sf.net. on my windows 2000:
(1) xvid + wav already works :) !. GraphEdit works normally, and the resulting file plays fine w MatroskaSplitter.ax, tho it does not play w MKxDS 0.4.2
(2) if i try to make a graph for xvid + vorbis, vorbis will be decoded into wav (like in SubMux)
(3) if i try to mux xvid + mp3, i ll get an error msg saying "The graph could not change state. Time stamp is not set in this sample (Return code: 0x80040249)" even tho mp3 is cbr, but GraphEdit wont die for it
(4) xvid (no audio) can be transmuxed into mkv, tho i should stop graph manually in this case.
(5) sometimes i happen to "mux" even SRT, but the resulting file does not seem to play (srt in the Def CP or in UTF8). sometimes when trying to mux video [+ audio] + srt, GraphEdit will just die.

gabest
7th June 2003, 11:29
1. The official demuxer does not recognize a new element type which was just added as a replacement for the frame rate a few days ago. rubUx4 told me on irc that it would be fixed in the next release.

2. In this version the muxer only accepts the traditional waveformatex and videoinfo(2) formats, but vorbis is another kind (it has its own subtype and format stucture).

3. The avi splitter can't set timestamps on improperly muxed avi files, easily recognizable via virtualdub's open warning. Unless there will be a new avi splitter, transmuxing such files will never work in dshow.

4. Was it an avi source?

5. Only audio and video types are supported so far.

Liisachan
7th June 2003, 11:53
Originally posted by gabest
4. Was it an avi source? Yes, and also for XviD in OGM. Though, these cases are technically not muxing (making video only mkv)

vinouz
7th June 2003, 13:20
what's more amusing is that I can mux 2 video streams with your filter. (And MPC opens a new directshow window. But it's black ;) )

Great work. Well, keep the ability to have more than one video. On matroxes if must be excellent to have three synchronized videos playing at the same time on three different screens ;o). (suprapanoramic video mode).

gabest
7th June 2003, 13:29
Hehe, why not have more than one video track. For the VMRs I've already experimented with a video switcher filter. With them I could do dynamic color space and resolution changes.

Lobuz
7th June 2003, 14:13
@Gabest
I'm not sure if You are aware of that strange behavior of splitter when used in avisynth. I loaded it with avisynth and DirectShowSource(), so it used directshow decoder. With oryginal MatroskaDemuxer it was OK. But with MatroskaSplitter in VDubMod while encoding there was very high number of frames and when used with player it crashed. It's not big thing but fixing it could help generally.

Regards
Lobuz

gabest
7th June 2003, 14:24
I know about this, it was fixed a few days ago. Avisynth tried to switch into frame addressing mode, but I returned S_FALSE only instead of an error.

Lobuz
7th June 2003, 14:36
Great. Apparently it's not at SF server.
About that separate filters, do You plan to make light MPC version and easy upgradable filters in it's inner dir, and maybe languages too?

Regards
Lobuz

gabest
8th June 2003, 16:36
MPC is "upgradable" now if you turn off the built-in filters and register the newer ones.

New splitter and muxer have been released!

Demi-god
8th June 2003, 19:57
I tried to render an ogm file in Graphedit and mux it to mkv but the newest Matroska muxer filter does not seem to accept vorbis input(using Tobias's filter). Why?

gabest
8th June 2003, 20:46
There are some probs with the way vorbis is sent through dshow filters. The ogm splitter used a hack to init the vorbis decoder and now this is causing all kinds of troubles. Toff has defined a new media type as the cure and that is already supported as an input. That means remultiplexing vorbis from mkv should work.

Demi-god
9th June 2003, 11:10
There are some probs with the way vorbis is sent through dshow filters. The ogm splitter used a hack to init the vorbis decoder and now this is causing all kinds of troubles.
So before your multiplexing filter can be used to transmux ogm to mkv someone needs to make a new splitter filter for ogm?

Also, I ran into problems while transmuxing mkv to ogm..at least the official mkv filter does not output a framerate, maybe due to support of variable framerate videos(?) but for constant framerate videos it really should..is anything being done to fix this?

And last but not least, thanks for all the neat stuff Gabest!

gabest
9th June 2003, 11:44
The problem was that the ogm splitter sent the initializer data as 3 samples right at the beginning (the new media type includes this data in the format struct), but that was already too late for the muxer to store it into matroska's header section. Finally, I decided to wait those samples and delay write this part of the header. It's not looking nice, but works.

For the framerate... I'm not sure if the official filter sets it, mine does it since 1005 iirc. Of course when the fps was not saved into the file, then there is nothing to do. (the ds muxer saves it)

ffroms
9th June 2003, 18:35
I don't know if I'm doing something wrong but when I try to play MKV file with muxed subs (subs was mixed with VDubMod 1.5.1.1a) I have error "Media Player Classic could not render some of the pins in graph,...." and it shows that it's a problem with subtitle. Do I have to install something else or ...? I know it's a problem with building and connecting pins in graph but don't know how to solve it.

FFS

P.S. I'm using latest 090603 version of MatroskaSplitter and MPC 6.4.5.4

gabest
9th June 2003, 18:44
There were some new media types defined for raw utf8, ssa, ass, usf formats and they aren't recognized by anything yet. vdubmod puts utf8 into matroska which will be supported in the next version of mpc and dvobsub.

ffroms
9th June 2003, 18:54
THX for replay. Looking forward for new version of dvobsub and MPC, so that I can finaly use matroska for my videos (subs are important to me).

FFS

P.S. Is there any other way of using your MatroskaMuxer beside GraphEdit 'couse I'm not very good with it.

Animaniac
9th June 2003, 21:30
Originally posted by ffroms
P.S. Is there any other way of using your MatroskaMuxer beside GraphEdit 'couse I'm not very good with it.

Bug Koepi to make the tool. :)

Kyo
10th June 2003, 04:22
Hiya Gabest :D

Other Bug... this time with vsfilter(I have the last sf.net build) when I register the dll, and try to play some ogm or avi(with the subs on cd also) in the CD-RW or DVD(from the HardDisk work fine, this is the most weird part) the player(MPC,mplayer2, etc etc) say

"Runtime Error!"

This program has requested the runtime to terminate it in an unusual way. Please contact the application's support team for more information.

and since you're our "support team" I report you my bug :)

Aditional Info:
Movie Format : OGM
Subtitle Type : SSA

with Dvobsub.ax all work fine.

helten
10th June 2003, 18:41
Hiya

Can anyone give a brief description on how to use the Matroska Muxer made by gabest? Thanks :) Is there a GUI on the way maybe? :)

BTW I'm using gabest's Matroska filter with the newest VS filter and now I can finally use weird danish letters like Ć, Ř and Ĺ in my subtitles. Seeking and everything works great too! :D

BoNz1
11th June 2003, 05:43
Gabest, I don't want to bother you about the problem with playing files with delay with your filter. But I think maybe you missed my follow up post since you didn't reply. I did do the -v switch on the file and this one does have clusters http://www.geocities.com/bonzi5252/info.zip I haven't tried any of your filters since 1.0.0.5 since I seem to be unable to download them but I don't see this in any of the changelogs. Just wanted to make you aware that this file is available should it be of any use to you in solving the problem at a later date. Thanks.

gabest
11th June 2003, 10:07
I didn't miss your zip, but it looked corrupted and it still does. Where it ends there should start a longer section of cluster and block listing what I really wanted to see, but wasn't there. Secondly, I found out that mkvmerge put about 8 invalid bytes after the writing app string and that confused my parser totally. This has been fixed since then as Mosu said a few a days ago to me.(MKVInfo) | + a track
(MKVInfo) | + Track number: 2
(MKVInfo) | + Track UID: 18004
(MKVInfo) | + Track type: Audio
(MKVInfo) | + MinCache: 1
(MKVInfo) | + MaxCache: 1
(MKVInfo) | + Codec ID: A_MS/ACM
(MKVInfo) | + CodecPrivate, length 18
(MKVInfo) | + Audio track
(MKVInfo) | + Sampling frequency: 44100.000000
(MKVInfo) | + Channels: 1
(MKVInfo) | + Bit depth: 16
(MKVInfo) |+ found cluster
(MKVInfo) | + cluster timecode: 0.000s
(MKVInfo) | + block group
(MKVInfo) | + block (track number 2, 1 frame(s), timecode 0.000s)
(MKVInfo) | + frame with size 44100
(MKVInfo) | + block group
(MKVInfo) | + block (track number 1, 1 frame(s), timecode 0.199s)
(MKVInfo) | + frame with size 8
(MKVInfo) | + block group
(MKVInfo) | + block (track number 1, 1 frame(s), timecode 0.239s)
(MKVInfo) | + frame with size 36999
..
helten: The GUI is called graphedit :) It isn't hard to learn, give it a try.

Kyo: I have quite a few ogm/ssa on cds here, but can't repro this bug now.

Blight
12th June 2003, 03:42
Not sure if this is a limitation of the format (variable frame rate?), but is the format supposed to return a frame rate?

Kyo
12th June 2003, 06:14
@gabest

[report]
I had tested the new vsfilter(2.25) but again I get the problems with the movies on CD. (I'm gonna clean the registry to check if the problem is with other filter.)

[Wow]
The new matroska splitter(.8) work with subtitles on srt format... very very good thing, thanks for the goodies gabest!

faxmactor
13th June 2003, 00:29
I'm kind of surprised that our half-god :), Gabest, hasn't released anything today ;) Lazy bones :D

bond
14th June 2003, 11:08
@gabest
there seem to be some problems with the latest vsfilter (2.25)! plz look here (http://forum.doom9.org/showthread.php?s=&threadid=55482)!
thanks

Eric B
14th June 2003, 15:58
Originally posted by Kyo
The new matroska splitter(.8) work with subtitles on srt format... very very good thing, thanks for the goodies gabest! [/B]

I've tried to mux srt subtitle into a mkv file with VirtualDubMob 1.5.1.1a, and MPC said me:
"the following pin failed to find a connectable filter: movie.mkv::Subtitle 4"

(pin1 is video, pin2&3 are 2 ogg vorbis soundtracks)

So I have no subtitle in matroska. Haw should I procceed?

defeatist
14th June 2003, 17:12
Originally posted by Kyo
Hiya Gabest :D

Other Bug... this time with vsfilter(I have the last sf.net build) when I register the dll, and try to play some ogm or avi(with the subs on cd also) in the CD-RW or DVD(from the HardDisk work fine, this is the most weird part) the player(MPC,mplayer2, etc etc) say

"Runtime Error!"

This program has requested the runtime to terminate it in an unusual way. Please contact the application's support team for more information.

and since you're our "support team" I report you my bug :)

Aditional Info:
Movie Format : OGM
Subtitle Type : SSA

with Dvobsub.ax all work fine.

I'm having this same problem, among others. Here are the details:
http://forum.doom9.org/showthread.php?s=&threadid=55482

Kyo
14th June 2003, 18:53
@Eric B
To use subtitles you must download the version 1.0.0.8 of the matroska splitter.

ChristianHJW
14th June 2003, 21:19
Originally posted by Kyo
@Eric B
To use subtitles you must download the version 1.0.0.8 of the matroska splitter.

mkxds.dll 0.4.3 works also ...

ChristianHJW
14th June 2003, 21:27
Originally posted by Blight
Not sure if this is a limitation of the format (variable frame rate?), but is the format supposed to return a frame rate?

matroska has no specific field for framerate, but as some apps ( even mplayer on LInux ) require to have such a field, and it may be problematic for them to first scan some blocks to find out about it, we implemented a way using the default block duration .. all current file creation tools for matroska, i.e.

VdubMod
mkvmerge
Gabest matroska muxer

take this into account and write the default block duration although its not a mandatory field, so that framerate can be calculated comparably easy. However, to fully meet with the matroska specs any app requiring a framerate to work has to have a 'fallback' system to find out framerate if the file creation app does not write default block duration ...

bond
14th June 2003, 22:52
latest version (1.0.0.9) causes a crash (blue screen) immediatly after starting a clip :(

gabest
14th June 2003, 22:55
under win9x or nt?

bond
14th June 2003, 22:59
winME(98)

gabest
14th June 2003, 23:06
I have only tested it inside vpc/win98se. Maybe it is the file you are trying to play. What did you use to create it and what codecs does it use for playback?

bond
14th June 2003, 23:17
i used virtualdubmod1511a for muxing
video is xvid (decoded with xvid's decoder - latest koepis unstable)
audio is vorbis (decoded with latest corevorbis.ax)

the file plays fine with latest mkxds.dll (0.4.3), no problem also with your older filters...

(it's my mkv test file i always use for testing)

EDIT1: wierd now it seems to work:
i unregistered matroska-splitter -> reg mkxds.dll -> unreg mkxds.dll -> reg matroska_splitter -> works
dont know what the problem was, sorry

EDIT2: no, doesnt work! after writing edit1 i started the clip again -> blue screen :(

Animaniac
14th June 2003, 23:36
Are Matroska Splitter 1.0.0.9 and Matroska Muxer 1.0.0.4 just bug fix builds?

gabest
14th June 2003, 23:55
bond: I think I found a way to make it crash under 98. What is the file date of your VirtualDubMod.exe? Is it the first release (04/30/03) which could save into matroska and also still downloadable from sf.net ? Could you recreate your test file with the one available here at doom9? (06/10/03) Meanwhile I'm trying to debug the crash.

Animaniac: Yes they are.

Demi-god
15th June 2003, 00:14
Will idx/sub support be added to Matroska later? That's the feature I've been waiting for :)

bond
15th June 2003, 00:20
Originally posted by gabest
What is the file date of your VirtualDubMod.exe? Is it the first release (04/30/03) which could save into matroska and also still downloadable from sf.net ? Could you recreate your test file with the one available here at doom9? (06/10/03)that's it!!!
the file which causes the crash was muxed with original vdm (043003), i now created a new file with vdm (061003) and this one doesnt crash!

olorin
15th June 2003, 21:32
Hi and thanx for your great work Gabest!

When I make an mkv with vdm (build 1639) containing one xvid, one ac3 and one srt, and then play it (using mpc 6.4.5.5) dvobsub (2.23) don't show the special swedish characters correctly. It does when I play an ogm with same content. Anyone else having similar problem? Is there a solution?

Using winxp, matroskasplitter 1.0.0.9

Liisachan
15th June 2003, 22:26
Originally posted by olorin
Hi and thanx for your great work Gabest!

When I make an mkv with vdm (build 1639) containing one xvid, one ac3 and one srt, and then play it (using mpc 6.4.5.5) dvobsub (2.23) don't show the special swedish characters correctly. It does when I play an ogm with same content. Anyone else having similar problem? Is there a solution?

Using winxp, matroskasplitter 1.0.0.9

Did you install VSFilter.dll?

to me Gabest's filters work fine, for European languages and even for Asia languages :) I m using
mkvmerge −−sub−charset UTF−8
for muxing, and MPC @ VMR9 for replaying.

ChristianHJW
15th June 2003, 22:39
Originally posted by olorin dvobsub (2.23)

you need latest filter, 2.25 ...

ssjkakaroto
15th June 2003, 23:04
Liisachan is srt working correctly with you? here i can see the subs but for example <i>text</i> should be displayed like this right? but it's displaying like <i>this</i> and at the end of some sentences it's displaying a square
i've tried converting my srt to all formats i could (ansi,unicode,unicode big endian and utf-8) but mkvmerge only accepts ansi
i'm using the vsfilter v2.25 and matroskasplitter v1.0.0.9

@gabest: with wmp 6.4 it shows "100% of 1k" before opening the file, what is that? and i dont know if this is a bug or not but when i press stop the video stays on the current frame only after i press play again it returns to the first frame, it doesnt affect playback at all i just thought it was strange since both avi and ogm return to the first frame when i press stop

tia

helten
15th June 2003, 23:12
Liisachan is srt working correctly with you? here i can see the subs but for example <i>text</i> should be displayed like this right? but it's displaying like <i>this</i> and at the end of some sentences it's displaying a square
i've tried converting my srt to all formats i could (ansi,unicode,unicode big endian and utf-8) but mkvmerge only accepts ansi
i'm using the vsfilter v2.25 and matroskasplitter v1.0.0.9

I'm having the same issues with vsfilter 2.25 and matroskasplitter 1.0.0.8...

Hoping for a solution. Thanks :D

Liisachan
16th June 2003, 00:57
Originally posted by ssjkakaroto
Liisachan is srt working correctly with you? here i can see the subs but for example <i>text</i> should be displayed like this right? but it's displaying like <i>this</i> and at the end of some sentences it's displaying a square

I knew the problem with <i>. Technically, what is being supported now is not SRT but S_TEXT/UTF8. Plus (fyi) SRT embedded in OGM did not support <font> tags either, tho Tobias spec'ed that.

I didn't experience a square at the end of the line.

i've tried converting my srt to all formats i could (ansi,unicode,unicode big endian and utf-8) but mkvmerge only accepts ansi
did you use the --sub-charset switch?

ssjkakaroto
16th June 2003, 02:35
did you use the --sub-charset switch? yep, i tried both utf-8 and ansi and the results were the same, when using ansi i even got this message:
"Warning: Could not initialize the iconv library for the conversion from ansi to UFT-8. Some strings will not be converted to UTF-8 and the resulting Matroska file might not comply with the Matroska specs (error: 22, Invalid argument)."
Technically, what is being supported now is not SRT but S_TEXT/UTF8. i didnt know that, things are clearer now ;)

Aboo
16th June 2003, 05:38
When will new release of VDM arrive? This memeory leak makes me crazy.

Kyo
16th June 2003, 07:00
@ Aboo you have the version on doom9 server? this is the lastest, even newer than the sorceforge one. The build is 1577 and i haven't leaks with matrosta and this vdubmod

Liisachan
16th June 2003, 07:22
Originally posted by ssjkakaroto
yep, i tried both utf-8 and ansi and the results were the same, when using ansi i even got this message:
if you are using newest filters and tools,,:confused: ,, then i m afraid you are just making a typo in the cmd line.

mkvmerge -o out.mkv in.avi --sub-charset UTF-8 sub.srt

where sub.srt is in UTF-8 without BOM

Originally posted by Kyo
@ Aboo you have the version on doom9 server? this is the lastest, even newer than the sorceforge one. The build is 1577 and i haven't leaks with matrosta and this vdubmod well if yours is #1577, you may want to get #1639 here :)
http://sourceforge.net/project/shownotes.php?release_id=130443

i like the new icon...

ssjkakaroto
16th June 2003, 11:58
i dont think it's a typo since mkvmerger doesnt complain, but as for the BOM, i just have to save it as ansi right?

tia

Aboo
16th June 2003, 20:40
Thanx, guys. Finally i can remux subtiters to my movie :D

Liisachan
16th June 2003, 23:49
Originally posted by ssjkakaroto
i dont think it's a typo since mkvmerger doesnt complain, but as for the BOM, i just have to save it as ansi right?

tia If you save it as ANSI, and the language settings of your OS is "W. Europe & US", then you dont need to use the --sub-charset switch, as MKVmerge will convert the def os Code Page into UTF-8 by default. (Maybe VDM too.) What might be tricky is, "the def os code page" is different from OS to OS.
as for a possible typo, please make sure that you type "UTF-8" not "UTF8" in the cmd line.

Honestly, I m not so sure and i may be wrong, But I can see multi-language subs embedded in MKV correctly now, after some trial. I hope trial and error will work for you too. :) (just in case, make sure again that your VSFilter is version 2.25 or higher)

gabest
18th June 2003, 17:30
Those who are interesting in subtitling, could you please test the new subtitle source filter? With it now you can put ssa/ass into matroska! Don't forget to update the matroska muxer/splitter and vsfilter, mpc for playback.

Assault
18th June 2003, 17:46
Great work Gabest!!!

The strange square that could be seen at the end of the first subtitle line when two lines were displayed is gone. :D :D :D

Assault

Liisachan
18th June 2003, 21:29
Originally posted by gabest
With it now you can put ssa/ass into matroska!

w00t! metacool
You are beyond greatness!!!!!! I dont know what to say. I ll test it today

bill_baroud
18th June 2003, 22:00
i'm testing with Gabest on IRC and it have some problems with crazy effect ssa and my 120fps clip ....

ah ?

[23:04] <Gabest> ahhhhhhhhhhhhhhhhhhhhhh
[23:05] <Gabest> I used the wide char version to print an 8bit string
[23:05] <Gabest> style names are only stored as ansi
[23:06] <Gabest> bill_baroud: I debugged the unicode build and released the non-unicode "for the masses" :P


looks like we need a new release :)

gabest
18th June 2003, 22:17
Hm, just wanted to write the same thing :)

Subtitle Source 1.0.0.1 released.

ssjkakaroto
18th June 2003, 22:59
thx a lot for these updates gabest, now the square really is gone :D

OT: @bill_baroud: what is the deal with those 120fps videos? is there really the need for such frame rate?

tia

Animaniac
19th June 2003, 00:43
Is the Morgan Stream Switcher currently viable for stream switching ? Last time I tried it, it broke all DShow playback... Gabest, do you plan on implementing stream switching in the Matroska Splitter? Since, that would be great!

gabest
19th June 2003, 01:04
No, there won't be any stream switching in the splitter, that way streams have to be identical in encoding and every parameter.

I'll check mmswitcher. edit: Seems to work as long as you have audio streams with the same channelnumber/frequency/bits.

Tueurne
19th June 2003, 09:56
Maybe it's not the priority, I don't know if it's hard to implement but could it be possible to have the chapters support in decoding Gabest and the name of audio language.
I think it cames from decoding like blacksun told me.
(I use last VDM CVS to mux)

bill_baroud
19th June 2003, 10:33
@ssjkakaroto : it's the way japanese crazy encoders handle Hybrid clip ... do the math, 24x5 = 30x4 = 120 ... there is 3/4 dummy frames in the avi between each "true" frame. But it create big overhead (~10mb for 25min) and it consume more cpu power (at least for me)

Matroska is based on timestamp and doesn't need those ugly tricks :D

Tueurne
19th June 2003, 18:16
Originally posted by Tueurne
Maybe it's not the priority, I don't know if it's hard to implement but could it be possible to have the chapters support in decoding Gabest and the name of audio language.
I think it cames from decoding like blacksun told me.
(I use last VDM CVS to mux)

Sorry I find my answer.
It doesn't come from decoding...

Kyo
19th June 2003, 19:18
gabest great work with the ssa subs, the filters work like charm

[report]
with the new vsfilter(2.26) the problems with subs on cd are still present :(

Thanks for all the work
;)

Liisachan
2nd July 2003, 10:41
Originally posted by gabest
Those who are interesting in subtitling, could you please test the new subtitle source filter? With it now you can put ssa/ass into matroska! Don't forget to update the matroska muxer/splitter and vsfilter, mpc for playback.

A test Matroska clip with 2 (Unicode) SSAs embedded has been muxed successfully. This is a multi-language SSA softsub, in English and in Japanese.
It plays perfectly with Media Player Classic!
Check this Graph (http://ld-anime.faireal.net/graph.png) and the result (http://ld-anime.faireal.net/mpc.jpg).

More information/pics about the test result. (http://matroska.tripod.co.jp/ssa.html)

My compliments to you, Gebest!:) :) :) :)

defeatist
2nd July 2003, 10:58
This is fantastic! Please keep up the excellent work, Matroska Team.
My sincerest thanks go out to you especially, gabest, for everything you continue to do for this truly edifying project. We are all indebted to you.

I am certain Matroska's userbase will expand greatly once awareness is increased. All that's preventing many encoders I know from using it is the lack of chapter support. Bless us with that, and MKV can replace OGM entirely (IMHO). In fact, Matroska should claim far more users that OGM has. That is my prediction, at least. Please consider it.

Thank you and good luck!

ChristianHJW
2nd July 2003, 12:02
What can i add here, Gabest made a lot of people really happy i guess :) !

I personally wonder when people will start capturing with the muxer filter into MKV, this should work out of the box with any WDM capture driver already.

I made a first ( crappy ) example graph here :

http://matroska.free.fr/capture/capture.JPG


Oh, and BTW, for completeness :

Mosu's latest mkvtoolnix 0.5.0 allows muxing of SSA subs into MKV from CLI also ;) ....

Liisachan
2nd July 2003, 12:57
Originally posted by ChristianHJW
Mosu's latest mkvtoolnix 0.5.0 allows muxing of SSA subs into MKV from CLI also ;) ....

Actually I first tried MKVmerge 0.5.0 but it freezes after it says "Using SSA/ASS subtitle reader", or it just says "Error: File eng.utf16.ssa has unknown type." Altho it can mux SRT subs perfectly, Maybe my cmd was wrong... so this time I used MKVmerge 0.5.0 only for writing the language tag (jpn)...

BTW: even if there is an language tag, MPC and VobSub shows all sub tracks as "embeded" without showing the language name. Hope this will be fixed soon ^^;

gabest
2nd July 2003, 14:49
Originally posted by ChristianHJW
I personally wonder when people will start capturing with the muxer filter into MKV, this should work out of the box with any WDM capture driver already.Try it with MPC, it can capture to matroska ... at least with the btwincap drivers :)

Liisachan: I'm not sure, but maybe it only reads utf-8 text files.

Liisachan
2nd July 2003, 22:41
Originally posted by gabest
Liisachan: I'm not sure, but maybe it only reads utf-8 text files.
Possibly... to begin with --sub-charset doesnt recognize UTF-16, if i m not wrong.
I had already tried more than once SSA in UTF-8, with --sub-charset n:UTF-8 switches, or in the def CodePage (Shift_Jis for me) without the --sub-charset switch. But it didnt work so far. I'll retry later, as probably i typed wrong cmdlines. How to use the TID params in mkvmerge 0.5.0 is a bit complicated...:confused:

Meanwhile, here s a little bit more test results about your alt filters.
On my windows 2000 SP3, this multi-SSA softsub MKV file (DivX5+Vorbis) plays fine in: Media Player Classic 6.4.5.6
Windows Media Player 9
Windows Media Player 6.4
Zoom Player 3.10.1
Sasami 2K #757
Light Alloy 2.4
It doesn't play in: TCMP 4.0 RC3 Matroska Edition
BS Player 0.86 #499
Micatoge XPlayer v2.2.4
XPlayer plays video only, but no audio/subs.

Bluedan
3rd July 2003, 20:37
I don't get it:

bsplayer v086.500 and TCMP close immediately after opening mkv file without warning while others (Zoom, wmp) don't.

I installed latest filters from gabest (16-6-2003), already uninstalled the mkxds.dll (0.4.3), corevorbis.dll from 10-06-2003, matroskaprop(erties).dll, cdl-plugin for use of a mkv muxed with latest VDM build 1639 containing XVID and 1 oggvorbis audio. Every filter properly registered.
I also updated oggvorbis dll's, but that should not cause any trouble.
Nobody complained about it so far, so I guess I'm the one to blame.
What am I doing wrong? What makes TCMP and bsplayer commonly different?

ChristianHJW
3rd July 2003, 21:20
What audio has your mkv file ?

MarkCoolio
3rd July 2003, 21:26
This is what made me play mkv files with TCMP:

- Video: Disable Built-In Subtitle options within TCMP (2 checkboxes)
- Audio: Disable Dynamic Equalizer

Hope this helps.

ChristianHJW
3rd July 2003, 21:36
Originally posted by MarkCoolio This is what made me play mkv files with TCMP:
- Video: Disable Built-In Subtitle options within TCMP (2 checkboxes)


Now as you mention it, i guess BSplayer has its own subs renderer also, like TCMP, so i guess this is the reason for the crashes ....

Bluedan
3rd July 2003, 22:06
Originally posted by ChristianHJW
Now as you mention it, i guess BSplayer has its own subs renderer also, like TCMP, so i guess this is the reason for the crashes ....

Hmm, no subtitles in use with that mkv. Audio is 2 channel ogg vorbis q=0.200
I wonder about that special matroska support in TCMP (CDL-plugin), if it causes any trouble.

ChristianHJW
3rd July 2003, 22:26
Originally posted by Bluedan I wonder about that special matroska support in TCMP (CDL-plugin), if it causes any trouble. .. as a simple test ( maybe you have an old version of the CDL ? ), simply remove it from the \TCMP\plugins directory ( move it to \TCMP\ root temporarily ) and restart the player ....

Liisachan
3rd July 2003, 22:53
Originally posted by Liisachan
Actually I first tried MKVmerge 0.5.0 but it freezes after it says "Using SSA/ASS subtitle reader"

I can't solve this prob after all.
mkvmerge -o out.mkv in.avi in.ogg en.srt does work,
while mkvmerge -o out.mkv in.avi in.ogg en.ssa does not, even in a simplest case such as
mkvmerge -o out.mkv in.avi in.ogg --sub-charset 0:ASCII --language 0:eng en.ssa

Here's the output:

C:\mkvtool>mkvmerge -o out.mkv in.avi in.ogg en.ssa
Using AVI demultiplexer for in.avi. Opening file. This may take some time depend
ing on the file's size.
+-> Using video output module for video track ID 0.
Using OGG/OGM demultiplexer for in.ogg.
OGG/OGM demultiplexer (in.ogg): using Vorbis output module for stream 23438.
Using SSA/ASS subtitle reader for en.ssa.
+-> Using text subtitle output module for subtitles.
Opened 'out.mkv' for writing. <--it stops here :(
^C

--i m guessing 0.5.0 can read SSA but cannot write S_TEXT/SSA on my win 2k:confused: Does this have anything to do with these alt filters? do i need the official MKxDS.dll to run mkvmerge or...?

ssjkakaroto
3rd July 2003, 23:59
Liisachan i've already reported this behaviour to Mosu, i think in the next version this will be fixed :)

Bluedan
5th July 2003, 10:58
@christianHJW

that does not solve it, besides it won't explain the exact same behaviour in bsplayer...

EDIT:
this is what graphedit is showing: graph (http://www.shoobiedoobiedoo.de/pub/graph_mkv.JPG)

BTW, why is ogg_submuxer always kicking in?

view chunk. (http://www.shoobiedoobiedoo.de/pub/rossi_chunk.mkv)

Liisachan
5th July 2003, 14:48
@ssjkakaroto: I see, thx^^

BTW: does this "soft ssa" in Matroska alread work on Win98 too?

Bluedan
5th July 2003, 15:30
more preceisely: the mkv file refuses to play in tcmp and bsplayer when ogg audio is in use. Tested both with wav and mp3 and they played perfectly.

Is Core Vorbis to blame? Toff?
Anyone confirm this?

[Toff]
5th July 2003, 17:34
I think there can be a problem with CoreVorbis decoding to 32 bits and the visualization filter or the DRC filter. Try to force 16 bits decoding in CoreVorbis or to "turn off" the filters.

Animaniac
5th July 2003, 20:54
Originally posted by Bluedan
@christianHJW

that does not solve it, besides it won't explain the exact same behaviour in bsplayer...

EDIT:
this is what graphedit is showing: graph (http://www.shoobiedoobiedoo.de/pub/graph_mkv.JPG)

BTW, why is ogg_submuxer always kicking in?

view chunk. (http://www.shoobiedoobiedoo.de/pub/rossi_chunk.mkv)

It's meant to always kick in. There no need for SubTitDS, since VSFilter handles OGM perfectly now. I've uninstalled SubTitDS.

Liisachan
12th July 2003, 07:23
Tried the newest filters, MatroskaSplitter 1.0.1.2 & VSFilter 2.27.
Now the subtitle menu for a multi-subbed clip is neat :D like these pics (http://matroska.tripod.co.jp/splitter1012.html) . I'm so happy to see this :) :).

However, apparently real-time effects in soft-ssa such as Fade-in/out or Karaoke don't work with MPC's intrinsic subtitle renderer, while they work fine if you use DirectVobSub after unchecking "Pre-buffer subpictures."

Win2K + Dx9 + MPC6.4.5.7, useing VMR9 (renderless)

gabest
12th July 2003, 09:22
In mpc you can find the same option but in a bit different form. If you set the number of subpictures to prebuffer to zero, it will have the same meaning as turning it off. But don't expect good results in fullscreen at some high texture resolution :)

Liisachan
12th July 2003, 10:52
thanks for the tips, it works *^_^* what's more, now MPC works best for me for Karaoke etc.

Like you said, I have to lower "maximum texture resolution" to work un-buffered subs smoothly in my old PC (P3 850),
but the result is decent--less cpu-intensive than DirectVobSub (with or without "Doubled resolution"). I really like this feature where you can choose "resolution" so the result will be best with your cpu power, video environments etc.

I also found that subs by MPC in fullscreen mode is surprisingly beautiful if "maximum texture resolution" is high...unlike other players, MPC's subs are not "drawn on video then resized with video" but "video resized, then subs drawn on it" (right? ...that is my observation) and so subs are high-resolution.

filewalker
12th July 2003, 11:18
I'm also happy that DVobSub shows the language names. THANKS gabest!:)

I generally use latest VDMod for muxing MKV.

After some tests with the new VSFilter 2.27 I found a little bug, I think.

I added a .srt subtitle in VDMod into the streamlist, then I pushed the "Comments" button for the .srt file.
Then I chose "language" from the list and used the appearing language selection.
If I choose from this predifined language selection, DVobSub displays the selected languages correctly.:)

But If I don't use this predefined language selection and write manually e.g "french (normal caption)" instead, in the "value"-line, DVobSub displays just "English" for each subtitle although I never typed into "English"
(This method with typing into the "value"-line works fine for OGM in VDMod.)

Is it a bug or is it not allowed anymore for MKV to type in manually the comments?

Cu filewalker

gabest
12th July 2003, 11:24
Liisachan: mpc renders the subtitles in the actual window resolution or the max texture size, whichever is smaller, while dvobsub can only use the video's resolution. This was one of the reasons I made my own player.

filewalker: When the language element of the track is empty dvobsub defaults to "English", I'm going to ask cyrius how vdubmod saves mkv when you don't pick a predefined language.

Liisachan
12th July 2003, 11:33
Originally posted by filewalker
Is it a bug or is it not allowed anymore for MKV to type in manually the comments?
This is my question too. My friends from Brazil will be unhappy because there is no tag for Brazilian in the ISO639-2 code table generated by mkvmerge. Sometimes users should want like "Portuguese (Brazilian)" "English (by Foo)" "English (by Bar)" or "w00t (l33t $pe@k)" or "Klingon" or anything...
This might be a touchy subject but all those are possible and easy with OGM, especially if you edit OMX files manually

filewalker
12th July 2003, 11:59
Originally posted by gabest
filewalker: When the langauge element of the track is empty dvobsub defualts to "English", I'm going to ask cyrius how vdubmod saves mkv when you don't pick a predefined language.
For closer explanation:
In the first line I choose "language" from the list.
After that the language element shows "User defined".
Then I type my desired comment into the "value"-line beside the "language element" line.

Thanks gabest, that you take up this problem or talk with cyrius about it.:)

Cu filewalker

[Toff]
12th July 2003, 12:02
If you don't provide a language code for a track, that mean that this track will be using the default langage which is english. So if you give a name to the track but no language code the filter will display english.
Also i don't think that the track name is displayed anywhere yet.

Now there is maybe another problem if there is no iso code for unknown langage, i haven't checked it yet.

filewalker
12th July 2003, 13:17
Originally posted by [Toff]
Also i don't think that the track name is displayed anywhere yet.
You can test yourself, the track name is shown well, if you mux the "typed in" comments into OGM container.
...it only doesn't work in MKV (muxed with VDMod).

To type in the comments is very useful:
Just imagine this example:
If you have 2 subtitles in French.The first one of them is "normal caption" and the other one is "forced caption".
ATM you can't distinguish between them because both subtitles are only displayed as "French"

In OGM I used to write for the first sub "french(normal caption)" and for the second "french (forced caption)".

Cu filewalker :)

Atamido
12th July 2003, 18:17
Originally posted by Liisachan
My friends from Brazil will be unhappy because there is no tag for Brazilian in the ISO639-2 code table generated by mkvmerge. Sometimes users should want like "Portuguese (Brazilian)" "English (by Foo)" "English (by Bar)" or "w00t (l33t $pe@k)" or "Klingon" or anything... Thats because all of those are dialects, not languages. In the first case, you would pick the language "Portuguese", and then label in Brazilian. The same is true with "w00t", which would be a dialect of probably English, and then label it (l33t $pe@k). I don't think that there is anything that you could pick for Klingon as its not a real language...

Anyway, hopefully the filter will show the description soon.

Liisachan
12th July 2003, 19:26
Originally posted by Pamel
Anyway, hopefully the filter will show the description soon.

Yep. If the filter shows the description, there will be no problem.

I'm using OGM's language tag not only to tag the language but to tag description, because DVobSub will show it anyway like this (http://ld-anime.faireal.net/tmp/ogm5menu.png), and filewalker means the same thing, I think.

You said Brazilian is just a dialect, well, you could say so.
But realistically, for subtitle labels, it would be inconvenient if you could not tag "Simplified Chinese" and "Tranditional Chinese" or "Mandarin" and "Cantonese," even tho you could say "all those are dialects of chinese."

On the other hand, "Norwegian" "Nynorsk" and "Bokmĺl" has each own code, which is a bit strange. Altho, Gabest is not the one who decided ISO 639-2 Language Codes (http://www.loc.gov/standards/iso639-2/langcodes.html). Even tho Klingon was rejected, there will be much more languages in Unicode Tables than in ISO639-2, and unlike OGM, which uses old and inconvenient MS Code Pages, Matroska is Unicode-based.

Check Unicode Roadmap (http://www.unicode.org/roadmaps/), Proposed New Scripts (http://www.unicode.org/pending/pending.html) and Proposed New Characters (http://www.unicode.org/alloc/Pipeline.html) , which includes Proposal to encode Tengwar in Plane 1 of ISO/IEC 10646-2 (http://std.dkuug.dk/jtc1/sc2/wg2/docs/n1641/n1641.htm)--I'm sure some Tolkien fan subbers would love to use these code points to sub Elen Sila Lumen... or something like that :)

celtic_druid
13th July 2003, 09:35
@Pamel, not a real language?
http://www.amazon.com/exec/obidos/tg/detail/-/067174559X/102-2714788-6235334?vi=glance

*Note: I don't actually own a copy or any other Klingon literature.

Atamido
13th July 2003, 09:46
That book lists less then 200 words in Klingon. If it truly is the "comprehensive sourcebood for Klinglon language and syntax", then I don't see the language code for Klingon seeing much use.

@Liisacha: Good point. I didn't notice that there weren't seperate language codes for Mandarin and Cantonese. We really need to get the track descriptions working.

HomiE FR
13th July 2003, 10:42
@gabest: First, thanks for your wonderful DShow filters. Then, I have a little problem here with latest MatroskaSplitter/MatroskaMuxer (don't know which one, maybe both): I've done an ASS subtitle file with 3 embedded custom fonts (using Sub Station Alpha) which works perfectly when it's put in the same directory as the audio/video file (a MKV file here). VSFilter 2.27 uses the embedded fonts (since I uninstalled the fonts and tried to play the file+subtitles on another computer without these custom fonts installed).

But then I tried to mux this ASS script (first the file was ANSI, then I tried with an Unicode one, but it didn't change anything, which is normal since there were only "standard" characters in this subtitle file) within a Matroska file, with an XviD video file (from an AVI) and an Ogg Vorbis audio file. I used the latest DShow filters on guliverkli with GraphEdit and there wasn't any problems.

But then, when I read the Matroska file with the ASS script in it, it won't read my embedded fonts, it just put the standard Arial. So I guess that either SubtitleSource (ASS) or/and MatroskaMuxer or/and MatroskaSplitter don't check the [Fonts] events inside the ASS file, because in both cases I read the subtitles with VSFilter 2.27 (Unicode) so if it works with the ASS script outside the Matroska file it should work with the script in it.

I'd really like to see those embedded fonts working even when included inside a Matroska file. :) I don't know if it's hard to implement (or if I did anything wrong) but I think it's worth it. I hope I didn't miss anything obvious.

My versions:
MatroskaSplitter 1.0.1.2
MatroskaMuxer 1.0.0.6
VSFilter 2.27 (Unicode)

Thanks in advance.

gabest
13th July 2003, 12:35
Yea... this isn't working, and the problem is the subtitle source filter. It first reads in any subtitle file it knows and converts its data into its own inner format, then generates the new ssa file header for matroska from this information. Unfortunatelly embeded fonts aren't stored and written, because immidiatelly when they are first read they get converted to a ttf file in the default temp folder of windows and loaded into the system for usage. In the future I'm going to store the font data and also rewrite it into the new file header, but currently it is just not working that way.

HomiE FR
13th July 2003, 13:11
@gabest: Thanks for the explanation. I know the guilty one now. :) No problem, I'll wait for a new SubtitleSource version. However, thinking of the way you're talking about it, it seems it's not as easy as I first imagined. Too bad, but be sure I'll check for your updates.

celtic_druid
13th July 2003, 16:59
Well I believe that they somehow managed to translate the bible, hamlet and some other shakespear works. So I would think you could do Klingon for pretty much anything if you really wanted to.

Liisachan
21st July 2003, 06:20
Still testing the guliverkli filters, they are fantastic!

Upped more screenshots (http://mypage.naver.co.jp/freenet/matroska/ssa/) for cool Unicode subtitles :p

However, I think MatroskaSplitter 1.0.1.2 has this problem:

(1) If the path to the MKV file includes a double-byte character,
any players except MPC can not open the file with MatroskaSplitter.ax,
getting "unknown error."

(2) If MKxDS.dll is used instead, there is no problem. So I believe this is a problem related to MatroskaSplitter 1.0.1.2

Example:
Assume you had a file c:\foo\##\bar.mkv where ## = a double-byte character (such as a Japanese letter)
- If you used MatroskaSplitter for MKV, a player like WMP9 WMP6.4 TCMP would fail to open bar.mkv getting "unknown error"
- If you unregistered MatroskaSplitter and re-registered MKxDS.DLL, the same player now could open bar.mkv properly

I may be wrong, but this is what I think I m experiencing now:(

gabest
21st July 2003, 07:22
It is because I release the non-unicode build, but if there is a need I can do the same as with mpc, vobsub, ... and make a 2k/xp version too.

Liisachan
21st July 2003, 09:38
Originally posted by gabest
It is because I release the non-unicode build, but if there is a need I can do the same as with mpc, vobsub, ... and make a 2k/xp version too. On my windows 2000, an MKV file cannot be played with MatroskaSplitter if the filename has a letter that is not in US ASCII (é for instance)
Honestly, it would be quite unexpected and surprising if you had assumed that all the file/path names should be in US-ASCII (< 0x7F)...almost all the users in Japan name their files in Japanese, and I think, say, French ppl will use French filename, Russian ppl will use Russian filename and so on, at least sometimes. (None of their mkv files generally woldnt't play with your filter.)

Personally, I can live with "US Ascii only" filenames--I seldom use Japanese etc. in filenames and that's why I didn't notice this problem so soon, but there should be many ppl who want to use their languages in file/folder names. You said "if there is a need," but there IS a need, absolutely. But, it is a general need--even though MatroskaSplitter doesnot support non-us-ascii filenames, MKxDS.dll does. So to just say "Use mkxds.dll" could be one solution which too satisfies this general need. As of today, MatroskaSplitter is essential for some purposes (in order to do what mkxds.dll 0.4.3 doesnt support), but eventually mkxds will be improved, and it might be realistic that this problem will be fixed that way (if that is what you mean...)

It would be VERY surprising if I were told, "You can use any languages in the chapters/subs in MKV, because they are stored as UTF-8. But, don't use your language in the filename, or that file doesnt play. Only us-ascii is supported as filenames." ...In reality, MPC and mkxds.dll does support unicode filenames. Should MatroskaSplitter support non-us-ascii filemanes, too? Not sure. Personally, I can do without it, personally I love using only MPC even without (outer) VSFilter. Yet, I've had to test other players for some reasons and happened to find MatroskaSplitter doesnt like non-US-ascii

On Japanese Windows, "Desktop" has Japanese name too. And I first found that I can't play an MKV file that is on my desktop (because the path to it includs Japanese characters):(

gabest
21st July 2003, 10:25
As far as I know mkxds.dll was compiled as unicode, that's why it won't run under win9x. (edit: robux told me that the installer has both versions and the right one gets installed for the OS)

In directshow, the standard file loader interface uses wide letters, but when building a program in visual c without unicode support, then it will be linked to the 8-bit win32 file i/o calls. So, the filter receives a unicode file name through the interface from the player, but it has to pass an 8-bit string to the operating system. The file name can be double-byte coded, but the conversion from unicode happens with the default ansi codepage and that destroys it by putting question marks into the file name. For other internal string operations I can use wide letters, only the operating system calls are affected.

gabest
21st July 2003, 14:13
Liisachan: Could you test 1.0.1.3? It now includes the unicode build too.

http://prdownloads.sourceforge.net/guliverkli/matroskasplitter_20030721.zip?download

Liisachan
21st July 2003, 14:58
Thank you for your swift work :)

The new filter does work fine.
Japanese, Korean, Finnish and Arabic tested on my Windows 2000 Japanese version.


MPC WMP9/6.4 ZoomPlay Bs TCMP
US-ASCII (0x00-7f) o o o o o
Latin Ext (0x80-ff) o :) :) x x
Japanese (System lang) o :) :) :) :)
non-Japanese Uniocde o :) :) x x

o = already OK with the older filter
:) = now OK with the new filter
x = still doesn't work


Now WMP9/6.4 and ZoomPlayer can play an MKV file whose filename contains any Unicode characters with this new filter.
TCMP now can play an MKV with a Japanese filename, too.

TCMP and Bs Player doesn't work on Japanese Windows OS if the filename contains a non-Japanese character that is 0x80-FF in hex (such as ä), but this should be the player's problem.
On the other hand, ZoomPlayer which doesn't work with 1.0.1.2 does work fine with 1.0.1.3.
:) :) :)

gabest
21st July 2003, 15:18
Thanks, cute table :)

Blight could tell about his player better, but I think he added some level of support for unicode file names around the release of 3.x.

WMP, just like most of the binaries of Windows NT, was already built as unicode, so it could also take advantage of 1013.

In the 2k/xp version of MPC the internal filters were all unicode build, no wonder it worked :). Did you disable the internal matroska splitter when testing it with the external?

About bsplayer and tcmp I don't know much, only that they were made with Delphi. Zoom needed some extra code to support unicode file names, this may be still missing from those.

Blight
21st July 2003, 23:51
I wrote probably over a 1000 lines of code to support unicode, ZP has code that sends unicode on Win2K/XP and Ansi on Win9x.

There are still a few quirks related with non-direct unicode, but I'm squashing them as I go along. As far as opening files goes, the entire process is kept in widestring (unicode) space from start to finish.

faxmactor
22nd July 2003, 00:20
I know it may be a dumb question, but is there any tutorial how to use Graphedit? I'd like to try MatroskaMuxer, but I find a bit difficult to figure it out on my own. So if there's a way, please help me in this, thanks.

Liisachan
22nd July 2003, 02:08
Originally posted by gabest
Did you disable the internal matroska splitter when testing it with the external?
Yes, mpc has been tested, with or without the internal mkSplitter.
I'm sure this makes many ppl happy. Like I said, a lot of ppl in Japan name their files like "<Japanese>.avi" "<Jpanaese>.ogm" and so, I assume "<Japanese>.mkv" which can be now opened with the new filter. But now I understand that this problem is more of a specific OS's filesystem, and is not related to general Matroska spec itself.

The changelog for foobar2000 v.0.7 (http://www.hydrogenaudio.org/show.php/act/ST/f/27/t/5064) says "no more separate win9x/winnt versions (you just need proper utf8api.dll build for your OS)" and indeed it supports Unicode beautifully (http://www.faireal.net/image/2003/foobar2000/playlist.png), so I suppose there is a way anyway. I heard SSA-embedded MKVs don't work fine on Win98, tho I can't test it myself as mine is win2k.

@faxmactor: You can get a general idea by reading a page like Muxing OGM files with Graphedit (http://members.cox.net/zhentarim/divx/htm/oggmuxgraphedit.htm). Almost the same goes for MatroskaMuxer. Only, if you are going to mux an SSA too, you'll need another filter called SubtitleSource (http://sourceforge.net/project/showfiles.php?group_id=82303&release_id=166343).(afaik, you mustn't CTRL-R an SSA, but you you'll have to CTRL-F -> SubtitleSouce -> Select SSA.)
Observe this example Graph (http://www.ak.wakwak.com/~f14g/ssa.html)

faxmactor
25th July 2003, 23:37
@Lisachan
Thanks, this should do it.
(By the way, I want to mux some anime - I worked hard for the best looking rip, and now I'd like to see it released in Matroska with Vorbis soundtrack :) Err, too bad that 26 eps is a bit much for me to translate to my language)

Ghim
28th July 2003, 22:34
I just want to report some bug I have with 1.0.1.3 that wasn't in 1.0.1.2...

I got french subtitles on a video and some of the subtitles lines just don't appear at all... and some others appear just for a moment (they begin very late but finish on time)
I just tried with old 1.0.1.2 matroska splitter and it works, no more pb...

I hope this will be fixed because it's strange watching a video with 4/5 of subtitles ^^;;;

Liisachan
28th July 2003, 23:34
Originally posted by Ghim
I just want to report some bug I have with 1.0.1.3 that wasn't in 1.0.1.2...

I got french subtitles on a video and some of the subtitles lines just don't appear at all...
I've just noticed this problem, too.

Here s a 4-MB small sample clip which plays fine with 1.0.1.2 but not fine with 1.0.1.3

http://www.geocities.co.jp/Milkyway/3774/debug.zip

Dialogue: Marked=0,0:00:05.60,0:00:09.40,style,Line1,0000,0000,0000,,{\an7\pos(400,180)}Translated by
Dialogue: Marked=0,0:00:05.60,0:00:09.40,style,Line2,0000,0000,0000,,{\an7\pos(420,230)}{\fs44\fnTimes New Roman}*Foo*
Dialogue: Marked=0,0:00:24.00,0:00:28.80,style,Line3,0000,0000,0000,,line3
Dialogue: Marked=0,0:00:30.00,0:00:36.00,style,Line4,0000,0000,0000,,line4
Dialogue: Marked=0,0:00:37.00,0:00:40.00,style,Line5,0000,0000,0000,,line5

In my MKV, if I use any other player than MPC, Line 2 & Line5 will not shown with 1.0.1.3 while 1.0.1.2 works perfect.
Besides, 1.0.1.3 will make subs slightly out of synch, while 1.0.1.2 is ok.

So, now i m using 1.0.1.2
I hope this will be fixed in the next release....:)

* 1.0.1.3 + MPC + VobSub works fine
* 1.0.1.3 + MPC (not VobSub) works fine
* 1.0.1.3 + non-MPC player + VobSub = Problematic
* 1.0.1.2 + any players = fine

Tested: WMP9/6.4, ZoomPlayere, Bs Player, Sasami, Light Alloy

Ghim
29th July 2003, 17:21
It's just to tell I've seen there's a new version (1.0.1.4) but the bug still seems to be there and this prevent me from using the latest version...

gabest
29th July 2003, 19:11
Sorry ppl, I read about this just after releasing 1014. But 1015 will hopefully fix it.

Ghim
29th July 2003, 19:20
No need to be sorry for that ^_^... You already make wonderfull work and free of charge ;-). I could still use 1.0.1.2 which was working pretty well.

And thanks for the 1.0.1.5 version. It fixes the bug...

Liisachan
29th July 2003, 21:31
Originally posted by gabest
Sorry ppl, I read about this just after releasing 1014. But 1015 will hopefully fix it. 1.0.1.5 tested and works fine for me too

Thankyou very much, Gabest:) :) :)

Kyo
30th July 2003, 05:17
Just to say again, thanks gabest for your great work!

Liisachan
31st July 2003, 07:39
Let me report what I've just noticed.

If I make an MKV with AAC using mkvmerge, the codec ID for the audio will be "A_AAC/MPEG2/..." or "A_AAC/MPEG4/...." which is natural.

But if I make an mkv with AAC (mpeg2 or 4) using MatroskaMuxer, the codec ID will be unexpectedly like this:

| + Track type: audio
| + MinCache: 1
| + MaxCache: 1
| + Codec ID: A_MS/ACM
| + CodecPrivate, length 26 (format tag: 0x00ff)
| + Audio track
| + Sampling frequency: 48000.000000
| + Channels: 2
| + Bit depth: 16


MKVinfo and the Shell Ext don't say that the Codec is AAC tho it IS.
Altho, there is no problem in playing the file. (CoreAAC will be called anyway)

(When I use MatroskaMuxer for this, I used AAC in MP4 via 3ivx.)

robUx4
31st July 2003, 09:45
My guess is that it's because MatroskaMuxer is DirectShow based and don't reinterpret the data it's muxing... At least for AAC, for the moment. This is the easier/faster way in DirectShow (just save the frames as they are given). All codec are seen the same : ACM. Only the CodecPrivate data can tell what's really inside.

Other tools include AAC with an interpretation of the data (ie the framing) and thus can say it's AAC.

Adding an CodecPrivate "analyzer" when the ACM codec is used in mkvinfo and the Shell Extension could help to indentify the codec better (it could be MP3, PCM or whatever).

This is the difference between native (matroska) stream and the compatibility stream (MS ACM). The native matroska is preferred because it can be used the same on all OS (and is more documented).

gabest
31st July 2003, 15:24
Oops, I'll correct this. All known formats should get its codecid in matroska muxer, but those which are new or not recognized will be saved with a vfw compatible fourcc or wave format tag.

Liisachan
1st August 2003, 21:50
Thank you again for your wonderful work, Gabest.

Well, I don't want to nag you again and again, but I have to report another thing now. Altho the problem about subs enbugged in MatroskaSplitter 1.0.1.3 has almost been fixed in 1.0.1.5, as for subs (mainly by VSFilter / DirectVobSub 2.27) 1.0.1.5 is still not as excellent as 1.0.1.2 in a way:

If you navigate around the sub tracks (languages), 1.0.1.2 can change the track to render quickly (even as buffering sub-pictures), while 1.0.1.5 is slow. In some cases, 1.0.1.5 will take like 10 secs to switch from one language to another, while 1.0.1.2 will do the same thing rather instantly. It seems that, switching sub-tracks when a subtitle text is on-screen is difficult for 1.0.1.5. and less difficult for 1.0.1.2. If any sub-pictures are not on, both versions will work almost in the same way, I think.

Practically this problem may not be important for most cases. But, for instance, if a water-mark (from soft-ssa) is always on-screen (which I hate btw), it might be possible that you cannot switch sub tracks at all with 1.0.1.5...


1.0.1.5 works fine like 1.0.1.2 if you set VobSub so it won't buffer sub-pictures. But this is not the default and more cpu-intensive.

Ghim
8th August 2003, 23:08
I just want to report a problem with 1.0.1.6... (this error wasn't there in previous version)

When a Matroska movie is loaded and when I try to load a new one, the player sometimes crashes with the following error (I tried with ZP and MPC using external matroska splitter) :

AppName: mplayerc.exe AppVer: 6.4.5.9 ModName: matroskasplitter.ax
ModVer: 1.0.1.6 Offset: 0000990a

AppName: zplayer.exe AppVer: 0.0.0.0 ModName: matroskasplitter.ax
ModVer: 1.0.1.6 Offset: 0000990a

I think it comes from the new splitter but can someone confirm this ?

EDIT :
I just want to add more details :It appears with vorbis encoded sountracks Matroska files. I'm using OGGDS 0.995 to decode vorbis.
The problem seems to come from this vorbis decoder because I haven't been able to reproduce this bug with Corevorbis decoder...

I still report it because this only occurs with the new version of Matroska splitter...

EDIT2 : to see the pb, I just have to switch very fast between different files... but I don't really have a way to reproduce it every time ^^;;

Liisachan
9th August 2003, 00:20
Originally posted by Ghim
It appears with vorbis encoded sountracks Matroska files. I'm using OGGDS 0.995 to decode vorbis.
The problem seems to come from this vorbis decoder because I haven't been able to reproduce this bug with Corevorbis decoder... I can't reproduce this problem with Splitter 1.0.1.6 + OggDS 0.9.9.5, using MPC (ext) / WMP / Bs /ZP...

Well, personally, i still like 1.0.1.2 best, because you can navigate around sub tracks most quickly with it. 1.0.1.5, 1.0.1.6 and mpc 6.4.5.9 (int) are sometimes not as fast as 1.0.1.2...
But usually you dont't have to switch subs so often nor so qucikly, so practically this is not a big problem. supporting unicode chars in file/path name is much more practical for many users, so i guess 1.0.1.5 and .6 are best for general purposes.

BTW, "Jump to... [Chapters]" in MPC 6.4.5.9 (int) is really cool and practically useful.:):) I love it. Thankyou for your keeping great jobs :)

(Chapters in MKV are usable in TCMP RC4 too)

Ghim
9th August 2003, 01:20
I'd really like to have more players accept Matroska chapters...

I hope it isn't too hard to implement and I hope the developpers will have the motivation to add this support to their players...

for Gabest : if you can't reproduce the problem I mentioned in my precedent post... don't mind because I don't use OggDS vorbis decoder anymore (I'm using Corevorbis now) and the problem seems to have disappeared...

DaveQB
9th August 2003, 04:26
a slight problem i have with Matroska (latest) in capturing (Virtual VCR-Matroska) and editing (VirtualDub Mod 1.5.4.1)
is that when an .MKV is created i cant delete or rename it as Windows says its in use.
so i get a bunch of file all undeleteable

restarting and then deleting, i think, allows me to delete it,
but i use a dedicated capture drive, so i just quick format it when starting a new project.

ideas??

Sirber
9th August 2003, 04:53
Check in Task List if some programs are still running...

DaveQB
9th August 2003, 05:35
yeah i thought the same thing as well.
but nothing that i was using with the MKV files is open.

never happens with AVI files, (doing the same project to a number of tapes) doing the same sorta tasks with same apps.

its specific to Matroska, and wasnt happening before i instaled the new release and the 1.3 info shell

hmmmmmmm

kastro68
9th August 2003, 06:20
I presume you are using Windoes.

Someone suggested a while ago to edit your registry and delete all references to shmedia.dll

You can also try Folder options>General>Tasks>Use Windows classic folders

It works with partial avi's not sure about mkv though.

DaveQB
9th August 2003, 06:38
Originally posted by kastro68
I presume you are using Windoes.

Someone suggested a while ago to edit your registry and delete all references to shmedia.dll

cool thanx,
i'll see if i have any refernces to shmedia.dll (what is this dll btw??)

You can also try Folder options>General>Tasks>Use Windows classic folders




isnt that just a display setting ??
wouldnt of thought it would have any functional changes

gabest
9th August 2003, 08:08
Ghim: Just found that bug. I tried to read from a buffer past its end and sometimes this spanned over to an unallocated protected memory area, but most of the time it didn't because it was only about +75 bytes :)

jcsston
9th August 2003, 08:37
Originally posted by DaveQB
its specific to Matroska, and wasnt happening before i instaled the new release and the 1.3 info shell
Try uninstalling the v1.3 Matroska Info Shell Ext

Liisachan
10th August 2003, 10:08
This is what I'm experiencing:

(1) XviD + Vorbis = test.mkv , muxed by MatroskaMuxer (1.0.0.5 & .7 tested) on Graphedit. "test.mkv" seems ok. (Just 2 tracks, no subs)

But when i use mkvmerge....even a simple comand doesnt work:
e.g.
(2) mkvmerge -o out.mkv --language 3:eng test.mkv

* MKVMerge 0.6.0 doesn't work for (2) and freezes.
* MKVMerge 0.5.0 does work for (2) without problem.

(3) However, some MKV files made by MatroskaMuxer _can_ be handled with MKVmeger 0.6.0...

So, I m guessing that there's some sort of (potential) incompatibility between the newest MatroskaMuxer and the MKVMerge 0.6.0.
I m not that sure whether this is a problem of MatroskaMuxer, but I ll post this here for practical reasons. Mosu said, "Technically this is not a bug in mkvmerge but in Gabest's DirectShow filter. The source file that you included contains references to frames that don't exist - but they are off by only 1ms each. "...Hope this will be fixed soon in some ways...thankyou
:)

HomiE FR
12th August 2003, 22:34
Hi,

First of all, I'd like to thank (again) all the people involved in Matroska development.

Then, I just would like to have some news (if there are) about embedded fonts into Matroska container and/or ASS/SSA scripts embedded inside a Matroska container.

Gabest had told a few weeks ago that SubtitleSource 1.0.0.1 didn't look at the [Fonts] section inside ASS/SSA scripts. I tried mkvmerge 0.6.2 and it has the same behaviour I think (correct me if I'm wrong). Conclusion: at the time being, it's not possible to get a full ASS/SSA script with fonts embedded inside a Matroska container (neither SubtitleSource nor mkvmerge can do it).
Gabest had also said that he needed to "rethink" the way SubtitleSource works to make it handle embedded fonts, so I'd like to know if there was some updates (even if not finished yet). Thanks in advance.

Then another way to mux fonts inside Matroska container would be to use attachements just like mkvmerge readme suggests. BUT no player is able to handle those attached fonts... So this feature remains useless as long as Gabest/BlackSun implements it into his player.
So another question to them: is this support planned or something?

I know these features aren't top priority, but I wish they won't stay forgotten.

HomiE FR

kastro68
24th August 2003, 10:28
Using the following filter order in graphedit I tried to change the container of an *.asf file to mkv.

Click to view Graphedit Chain (http://www.geocities.com/incessence/asf_to_mkv_GraphEdit.htm)

However, I was only able to play the newly created mkv file in Gabest's Media Player Classic 6.4.6.0.

The file did not work in Win Media Player 6.4 , 8 or tcmp4


Edit: The reason I wanted to transmux to mkv container is because seeking in asf sucks, virtually impossible unless using Wind Med player 6.4

gabest
24th August 2003, 10:35
Did it work in graphedit?

kastro68
24th August 2003, 10:44
I drag and dropped the transmuxed mkv file into graphedit and got and error message saying "could not construct a graph from this file"

It still plays in MPC 6460 even though I disabled the internal mastroska splitter.

gabest
24th August 2003, 11:00
If you don't have the splitter it will still play in mpc, because starting from 6460 I choose to not disable the internal filters totally, now instead their merit is just lowered below all others but they are still able to load. In this case in the menu it will say "Matroska Splitter (low merit)".

kastro68
24th August 2003, 14:34
I also have your latest Matroska splitter 1.0.1.6 dated 8th August 2003 installed.

So, by deduction, does this mean that there may be a difference between the 1.0.1.6 splitter and the one that is used internally by Media Player Classic 6460?

I pretty much use MPC to playback most files (except for *.asf) so it doesn't really bother me that it doesn't work in other players...I'm just worried about backwards compatibility. I fear that the transmuxed asf may not work in future versions of MPC.

Bluedan
24th August 2003, 17:27
Originally posted by Bluedan
I don't get it:

bsplayer v086.500 and TCMP close immediately after opening mkv file without warning while others (Zoom, wmp) don't.

I installed latest filters from gabest (16-6-2003), already uninstalled the mkxds.dll (0.4.3), corevorbis.dll from 10-06-2003, matroskaprop(erties).dll, cdl-plugin for use of a mkv muxed with latest VDM build 1639 containing XVID and 1 oggvorbis audio. Every filter properly registered.
I also updated oggvorbis dll's, but that should not cause any trouble.
Nobody complained about it so far, so I guess I'm the one to blame.
What am I doing wrong? What makes TCMP and bsplayer commonly different?

UPDATE on previous test:
Now with updated programme and filter versions:
bsplayer 501
tcmp rc4
matroska splitter and muxer from 2003-08-08 and 2003-08-05 from gabest and CoreVorbis 1.0b5

1. bsplayer still closes immediately with OGG Vorbis as audio stream
2. tcmp plays the file but as well as in graphedit the video is delayed, with mp3/wav in synch

In both cases no matter if CoreVorbis or OggVorbis filter is used.
So it looks much more like the mkv-splitter to blame.

Again: anyone else having issues with that OGG Vorbis/mkv combo?
Any comment appreciated

Liisachan
24th August 2003, 23:23
Originally posted by Bluedan
Again: anyone else having issues with that OGG Vorbis/mkv combo?
Any comment appreciated I did. But I changed Bs player's settings, and the file plays fine now. this is some of what i had experienced for an MKV (xvid vorbis ssa); CoreVorbis is used.

- BSPlayer (0.86 Build 500)
You may have to tweak the Video settings. For me, "NOT use VMR-9 / USE overlay Mode 2" works fine.
- Sasami2K (#757)
Select "Bypass-mode" in "Control options." Else, MKV doesn't play.
- Light Alloy (v.2.4)
If you have troubles, Video | Force overlay usage might help.


PS: But, YES, it is possible that the splitter has some problems related to Vorbis audio, because I know more than one players that do play the video of MKV but don't play audio (in other words, you can watch mkv video normally, without sound.)
1337player, and micatoge "XPlayer" (Both is using VMR-9)
I always thought that those players were wrong, and the splitters etc. were OK, but come to think of it, this might be the splitter's problem.

Bluedan
25th August 2003, 17:46
OK. BSplayer doesn't work in mode 2 for the time being on my machine (v86.501), a problem that re-occurs from time to time depending on the version.
Koepi would say that bsplayer is crap anyway...but I love it.
But it's good to see that this is a common issue.
Thanks for replying.
Hope GABEST will have a quick look at it.

Liisachan
26th August 2003, 13:17
I love BS player in a way because it is very lite, but I am really embarrassed to see BS trying to parse subtitles on its own, even if it is SSA. Bs player can not handle SSA and ends up in displaying
"Marked=0,0:00:16.47,0:00:20.07..." as a sub, which is not beautiful.
As long as it is working with VSFilter, Bs player is OK, I think.

To me, what is more important is SSA'ed Matroska on Win98.
I tested XviD+MP3+SSA, using my old box, win98se+Dx9b,
VSFilter and MatroskaSplitter = newest non-unicode build.

Well, I can see English, French etc. on Win98 too, but I cannot see, for instance, Japanese, on Win98. Maybe it can't be helped since Win98 is not unicode-based...but "SSAed MKV is generally not playable on Win98" is my headache...

Anyone knows how to replay SSA'ed MKV on Win98 (using Gabest's filters)?
:confused:

iradic
20th February 2004, 09:49
BSPLAY caused a divide error in module L3CODECX.AX at 016f:1c401eec.
Registers:
EAX=000000d1 CS=016f EIP=1c401eec EFLGS=00010246
EBX=013dfb90 SS=0177 ESP=030cfd14 EBP=00000000
ECX=000000d1 DS=0177 ESI=013d8100 FS=415f
EDX=00000000 ES=0177 EDI=013d81a4 GS=0000
Bytes at CS:EIP:
f7 f5 85 d2 0f 85 44 01 00 00 8b 9c 24 b4 00 00
Stack dump:
00000000 013d8100 000000d1 013dfb90 00000000 78000000 030cfd50 bff6b5f9 005a0000 030cfdb4 00000001 00000002 7da91500 00000001 00000000 01920000

**********************************************************************

MPLAYERC caused a divide error in module L3CODECX.AX at 016f:1c401eec.
Registers:
EAX=000000d1 CS=016f EIP=1c401eec EFLGS=00010246
EBX=00a992f0 SS=0177 ESP=04d3fd14 EBP=00000000
ECX=000000d1 DS=0177 ESI=00a9a790 FS=3787
EDX=00000000 ES=0177 EDI=00a9a834 GS=0000
Bytes at CS:EIP:
f7 f5 85 d2 0f 85 44 01 00 00 8b 9c 24 b4 00 00
Stack dump:
00000000 00a9a790 000000d1 00a992f0 00000000 78000000 00000000 00000000 00000000 7fbd1dc0 00000001 00000002 7da91500 00000001 7fcd048c 7fbd8f58
________________________________________

Version:
matroskasplitter_20040111-2.zip

Couriosity:
MPlayer2 plays just fine with same settings (checked - l3caodec.ax is decoding audio - 64kbps mono 44100)...

Bluedan
5th March 2004, 23:06
I recently had difficulties with mkv files.
After I installed matroskasplitter_20040111 I could not render those files with gspot/graphedit. Players I tried, amongst them bsplayer v1.807 and TCMP, got a hang-up.
Switching back to last years last version (20031220) solved the issue.
Anyone to confirm?
I like to add that so far the playback of matroska files works wonderful, especially in TMCP, bsplayer is still slow on switching streams and does not show stream names...(go ahead bst2k!).
Thank you gabest for these great filters!

EDIT:: @iradic
Oh, I must have missed that kinda _silent_ update. That one is crashing with every player I tested, too: bsplayer, tcmp, wmp

Yuuhi
5th March 2004, 23:31
Originally posted by Bluedan
I recently had difficulties with mkv files.
After I installed matroskasplitter_20040111 I could not render those files with gspot/graphedit. Players I tried, amongst them bsplayer v1.807 and TCMP, got a hang-up.
Switching back to last years last version (20031220) solved the issue.
Anyone to confirm?

Me too. Hangs up with almost everithing with the latest Matroskasplitter version (even with the silent update). The only player who doen't have problems in opening was MPC latest version but I cannot browse into the chapter of my MKV file (disabling the internal splitter of course; no problems at all using the internal one). Had to switch back to 20031220.

Liisachan
7th March 2004, 14:32
Can anyone verify this?

In MKV, if you embed (OGM-stlye) Chapter data, such as
CHAPTER01=00:00:00.000
CHAPTER01NAME=OP Song
CHAPTER02=00:01:31.000
CHAPTER02NAME=Prologue
...
and if you use MatroskaSplitter 1.0.2.1 by disabling MPC's internal Matroska Splitter,
then MPC's menu "Navigation | Jump to" will be screwed up, showing huge negative time stamps like:
[-138644304:-27:-58] OP Song
[-138644304:-26:-27] Prologue
...

Now, if you re-register the older version, MatroskaSplitter 1.0.2.0, the problem is gone, and you can see what is supposed to be seen in that menu:
[00:00:00] OP Song
[00:01:31] Prologue
...

I'm guessing this is also the reason TCMP cannot play some MKVs with 1.0.2.1, tho it CAN with 1.0.2.0. Perhaps "some MKVs TCMP cannot play with 1.0.2.1" are actually MKVs which have chapters. I didn't do a thorough test, but it seems that TCMP can play MKV with 1.0.2.1 too if the MKV has no chapters.

So, I'm guessing MatroskaSplitter 1.0.2.1 may have some bugs in the part where it handles time stamps in chapters.
:confused:

Yuuhi
7th March 2004, 15:26
Originally posted by Liisachan
Can anyone verify this?


That's exactly what happen to me and I tried explaining in my previous post. I was a bit in hurry and I cannot explain very well what's going on...

Bluedan
7th March 2004, 15:47
Originally posted by Liisachan
Can anyone verify this?

Yes. I do.

gabest
7th March 2004, 21:40
Were these files where the chapter time displays wrong cut into multiple pieces? Could someone provide me a sample?

Liisachan
8th March 2004, 00:13
Originally posted by gabest
Were these files where the chapter time displays wrong cut into multiple pieces? Could someone provide me a sample?

My files are not splitted, i.e. normal ones. But since it's big, I upped the first few MB. Here's a sample (http://park14.wakwak.com/~flower/matroska/splitter/ez.zip) (2.9MB) and pics to show what's happening to me (http://park14.wakwak.com/~flower/matroska/splitter/)

jjseth
8th March 2004, 13:51
Idem for me with not splitted videos. With MatroskaSplitter chapters are showed with the same bug, select every chapter return to start the film.
With internal MediaPlayerClassic6.4.7.8 MatroskaSplitter chapters are showed fine but playe is quite slow, with frozen frames...



Sorry my poor english.

gabest
8th March 2004, 19:06
The current build of the splitter here (internal or external both) returns the right chapter times. Let's hope its going to be fixed in the next release. (hm, maybe I could make a release now :))

Liisachan
8th March 2004, 20:36
Thank you Gabest. Seems fixed :D
What's more, you merged Haali's codes for font embedding, right?!
That is so impressive and long-awaited, I guess you should have noted about it in the changelog....:)

Well, but TCMP didnt get better with 1022. Some MKVs still dont play in TCMP with 1022, there should be some problems somewhere either in Splitter or in TCMP...


TCMP4 RC5 #45 can Play my MKV...

WITH Chapter ChapterTimeStamp WITHOUT Chapter
1020 YES OK YES
1021 NO BAD? *1 YES
1022 NO OK? *2 YES

*1 Some ppl can reproduce this prob; some ppl can not
*2 seems OK at least in MPC

gabest
8th March 2004, 20:51
Yes, Haali's code is there, but it only works under nt, he didn't use the older irreliable font loading function for 9x.

About TCMP I don't know much. What doesn't work? Is there a crash or hangs?

Yuuhi
8th March 2004, 21:57
Originally posted by gabest
About TCMP I don't know much. What doesn't work? Is there a crash or hangs?

It hangs, and continue hanging even with latest splitter version on TCMP. Don't know if it's a splitter or TCMP issue....

Playing MKV with MPC is fine now and timestamps are OK.

Palikrovol
10th March 2004, 01:44
Hi.

With new matroska splitter (1.0.2.2) MPC 6.4.7.8 last about 15 seconds to load a matroska movie with or without chapters ("Within Temptation - Mother Earth Tour LIVE (DivX5)(MP3 stereo).mkv" 683 MB).

With internal splitter in MPC 6.4.7.8 or with matroska splitter 1.0.2.0 it loads in very few senconds (immediately).

If the same movie is stored in a CD, MPC last 2 minutes more or less to load it with the new splitter (it is all the time reading from the CD before playing). With internal splitter or 1.0.2.0 it plays immediately.

So i think the problem is the new splitter reads the whole .mkv before playing it.

If i try to load a small .mkv there is no problem (if the problem is that splitter reads all the file before playing, it last very few seconds reading small files. I have not tried small .mkv in a CD).

Please anyone that confirm something like this. thanks

Sorry for my english.

Gabest I trust you :). Go on with the great work.

Liisachan
10th March 2004, 03:53
Originally posted by gabest
About TCMP I don't know much. What doesn't work? Is there a crash or hangs?
Yes, it hangs.
However, this prob was fixed in the latest test build.
So, probably, that was not MatroskaSplitter's problem, but TCMP's bugs.

I usually use MPC for almost anything, including RMVB and DTS.
I like MPC best in many respects--VMR-9 internal sub renderer among others.

One of a few things I like TCMP about is, it can show Track names.
In MPC's menu, you ll see something like:
English
English
Japanese
Japanese
While TCMP will display track names like:
No Karaoke [English]
With Karaoke [English]
Romaji [Japanese]
Kanji [Japanese]
...that is handy for (or ONLY for) subtitle nuts ^^;

Here's a real pic, just fyi
http://park14.wakwak.com/~flower/matroska/tcmp.png

Palikrovol
11th March 2004, 01:03
Originally posted by Palikrovol
Hi.

With new matroska splitter (1.0.2.2) MPC 6.4.7.8 last about 15 seconds to load a matroska movie with or without chapters ("Within Temptation - Mother Earth Tour LIVE (DivX5)(MP3 stereo).mkv" 683 MB).

With internal splitter in MPC 6.4.7.8 or with matroska splitter 1.0.2.0 it loads in very few senconds (immediately).

If the same movie is stored in a CD, MPC last 2 minutes more or less to load it with the new splitter (it is all the time reading from the CD before playing). With internal splitter or 1.0.2.0 it plays immediately.

So i think the problem is the new splitter reads the whole .mkv before playing it.

If i try to load a small .mkv there is no problem (if the problem is that splitter reads all the file before playing, it last very few seconds reading small files. I have not tried small .mkv in a CD).

Please anyone that confirm something like this. thanks

Sorry for my english.

Gabest I trust you :). Go on with the great work.

The problem stated above also happens with haali's splitter. With gabest 1.0.2.1 everything is ok (only the known chapter issue).

So the problem in gabest's 1.0.2.2 comes from haali's splitter. (Could be for searching the font file??? :confused: )

gabest
11th March 2004, 01:25
You see that's possible. I didn't notice it, but to find the attachments it really reads the file through the end. And because there can be many clusters on the same level (a little design flaw...) it takes a long time to reach the end of the file. Now I can remember that this was a problem with chapters as well, the solution was to quit looking for them after the first block of chapters. I'll probably do the same for attachments too, hoping there won't be more level 1 groups of attachments in one file.

Palikrovol
11th March 2004, 01:36
Originally posted by gabest
... I'll probably do the same for attachments too, hoping there won't be more level 1 groups of attachments in one file.

Make contact with Mosu to find out if this is possible with MKVtoolnix.

Thanks for all.

gabest
11th March 2004, 01:42
Just to make sure, I'm releasing v1023 :) Would be nice if somone could test it.

Palikrovol
11th March 2004, 01:47
A pleasure and an honor :D.

Is it at guliverkli?

EDIT: Yes :), i have it. I'll make some test and in a minute reply.

Palikrovol
11th March 2004, 02:17
Congratulations Gabest :). Now it works.

I have tested two matroska movies in CD (with and without chapters) and both plays immediatly in MPC and Zoom Player and the chapters are OK.

With "The Core Media Player" the same problem that happens before, if the movie do not has chapters it loads and plays perfectly but if the movie has chapters it can't load it :confused:

I have tried a movie with chapters that has another chapters inside (i think this is called nested chapters in english). And in MPC the children (most inner ones) chapters are not shown (I have seen then in "Core Media Player" with a previous splitter, so i think this has somenthing to do with the player and not with the splitter. Are you going to implement it in MPC?)

So thanks again :). If you need more testing i'm going to sleep in 2 hours more or less :)

Liisachan
12th March 2004, 15:08
This may be splitter-related...

This was reported by rom1v
http://forum.doom9.org/showthread.php?s=&threadid=72531
and I can reproduce the problem this way:

1. Mux VP6 Video + Audio + Subtitle (eg SRT / IDX+SUB)
2. Seems MatroskaSplitter can't split the subtitle stream(s).
VobSub (that green icon thing) is not loaded
and DS Players cannot show the subs, tho some of them do play Video + Audio. (Some crash)
3. MPC can play subs too, with its internal splitter.

For 1, I used MMG first, then tried GraphEdit+MatroskaMuxer too,
but the resulit is the same. So I assume that this is not mkvtoolnix's porblem but Splitter related. All the filters used here are newest as of today.

The pic of graph and mkvinfo output are here: http://park14.wakwak.com/~flower/matroska/VP6/

sample file (2.4MB):
http://park14.wakwak.com/~flower/matroska/VP6/vp62-srt.zip

Thank you :)

EDIT

Sorry, seems that this is not related to MatroskaSplitter,
because DirectVobSub doesnt't work either (like foo.mkv and foo.srt in the same folder)

EDIT2

Problem fixed by using ffdshow for "raw video"
This is not even a right thread to post this. Sorry ...

Chiru
21st March 2004, 15:23
@gabest,

Maybe MatroskaMuxer1.0.0.8 make broken file.:(
See mkvtoolnix thread.

http://forum.doom9.org/showthread.php?s=&postid=462095#post462095

Chiru
21st March 2004, 17:21
MatroskaSplitter,

IMediaSeeking::SetPositions(&rtStart,AM_SEEKING_AbsolutePositioning,&rtStop,AM_SEEKING_AbsolutePositioning);
rtStop parameter is not working?:confused:

sungey
8th April 2004, 18:00
one question .. i made an mkv file with 30fps + 24 fps + 30 fps clips in it .. muxed em using mkvtoolnix ...
when i played the clip using mpc ... i got 3 different window playing each clip at once ...

outlyer
8th April 2004, 18:23
Originally posted by sungey
one question .. i made an mkv file with 30fps + 24 fps + 30 fps clips in it .. muxed em using mkvtoolnix ...
when i played the clip using mpc ... i got 3 different window playing each clip at once ...
:devil: what's your question? :p

mkvtoolnix can only multiplex AFAIK, so this is the expected behavior, you can have multiple video streams in matroska.

sungey
8th April 2004, 19:42
i was expecting to have the video played back-to-back like a single videostream... this is important since the clips im working on are made ... in both 24 fps and sometimes 30 fps ... i want one videostream with different fps in it .. is that possible ?

bond
8th April 2004, 19:45
well you have to join them of course ;)

what you did is muxing 3 different streams into 1 .mkv

for creating variable framerate mkv files have a look at the faq, which points to 3 threads describing how to do it

omion
20th April 2004, 04:08
I'm having problems with the splitter, ever since 1022. Whenever I open ANY matroska, it plays for a few seconds and Windows says MPC needs to close. Haali's 1021 works just fine, but every 'official' version after that hasn't worked.

I tend to get two messages, one saying that the filter crashed:AppName: mplayerc.exe AppVer: 6.4.8.2 ModName: matros~3.ax
ModVer: 1.0.2.3 Offset: 0003da76and the next saying that mpc crashed:AppName: mplayerc.exe AppVer: 6.4.8.2 ModName: mplayerc.exe
ModVer: 6.4.8.2 Offset: 00001509
I've only tried it with mpc, but this happens with EVERY one of my mkv files, no matter what audio and video codecs used.

System:
P4 1.5ghz 512mb ram
Windows XP SP1
MPC 6482

Any help would be appreciated!

Atamido
20th April 2004, 04:34
You probably want to try other players first. By default, MPC will use its own internal Matroska Splitter. Make sure you have the latest version of MPC. Also, if it occurs with every player, try rendering the file in GraphEdit to see if there are any strange filters openning up.

omion
20th April 2004, 09:43
Originally posted by Pamel
You probably want to try other players first. By default, MPC will use its own internal Matroska Splitter. Make sure you have the latest version of MPC. Also, if it occurs with every player, try rendering the file in GraphEdit to see if there are any strange filters openning up.

I just tried it in ZoomPlayer, and everything works just fine. GraphEdit shows nothing out of the ordinary either. I have the most recent version of MPC (6482), and I even reinstalled it (deleted the registry 'directory') but it still does the same thing. The video starts playing, although the timecode doesn't update, and a few seconds in it gives the two errors I mentioned above. I really have no clue what's going on; as I said, it does this for EVERY mkv file I have (including the Tokyo Mew-Mew test sample I downloaded long ago)

BTW, graphedit gives the following:
Video: in.mkv > Matroska Splitter > ffdshow > Subtitle mixer > Video renderer
Audio: in.mkv > Matroska Splitter > AC3filter > Morgan stream switcher > MatrixMixer > Morgan stream switcher 0008 > Default directsound device

I'm not sure why there are two Morgan stream switchers, but the filter list is the same no matter which version of MatroskaSplitter I use.

filewalker
20th April 2004, 15:33
If you use Zoomplayer you shouldn't use MorganStreamSwitcher...although ZP has a black list of filters which weren't loaded during playback

Maybe MPC has also problems with this switcher (AFAIK MPC has an internal switcher, too)...so I would deinstall the MorganStreamSwitcher....maybe it helps.



Cu filewalker

omion
20th April 2004, 21:41
Originally posted by filewalker
If you use Zoomplayer you shouldn't use MorganStreamSwitcher...although ZP has a black list of filters which weren't loaded during playback

I use MPC for playing everything. I just ran Zoomplayer to test the new matroska filter. I did uninstall the Morgan stream switcher, but it didn't help. The audio graph is now:
in.mkv > Matroska splitter > AC3filter > Default Directsound device

I just tested it on TCMP and mplayer2, and everyhting works OK. I guess the problem's just with MPC, which is really annoying. I really like the way MPC is put together, and none of the other players I've used have even come close.

I do find it hard to believe that I'm the only one with this problem. What was changed between 1021 and 1022? Just the font reading and chapter fixes?

Thanks again.

Nibor
20th April 2004, 21:51
I think you're not the only one with this problem!

Look at this thread: http://forum.doom9.org/showthread.php?s=&threadid=73699

cweb seems to have the same problem as you have...