Log in

View Full Version : Alternative matroska splitter for directshow


Pages : 1 2 [3] 4 5 6

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)