Log in

View Full Version : Alternative matroska splitter for directshow


Pages : 1 [2] 3 4 5 6

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.