PDA

View Full Version : VSFilter & Windows Media Player


agraham
21st July 2005, 09:20
I'm having trouble getting subtitles working with Windows Media Player.
I know, I should use a different player, but I'd like to get this working with WMP so I can install it on other people's machines without forcing them to change players.
Now, I have an .mkv with a video track, two audio tracks, and three sub tracks.
I installed the full Matroska pack http://packs.matroska.org, which includes the Haali splitter, ffdshow and VSFilter (DirectVobSub).
But when I play the movie in WMP I get nothing but a black screen.
If I unregister VSFilter with "regsvr32 -u VSFilter.dll" it works fine, except of course: no subs.
If I register VSFilter it's broken again: no video, no sound, no subs.

I'm so close, so I really want this to work. Can anyone help?


p.s. Here's the output of MatroskaDiag with VSFilter registered (broken):
Matroska file info : C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv
File size : 700.26 MB
File complete : yes
Duration : 00:38:02.073
Title : [A-L] Ghost in the Shell - R2 Limited Edition 2004 Release
Writing application : mkvmerge v0.9.1 built on Jun 13 2004 12:55:07
Muxing application : libebml v0.7.0 + libmatroska v0.7.0
Date : 2003-08-02 01:14:08.000
Tracks : 7
Track 1 : Video
- Codec : Microsoft VFW compatibility mode (V_MS/VFW/FOURCC)
- Fourcc : DivX 5.x codec (DX50)
- Possible filter : ffdshow
- Installed : yes, in C:\Program Files\Matroska Pack\ffdshow\ffdshow.ax (1.0.0.50)
- Link : http://sourceforge.net/projects/ffdshow
- Possible filter : Divx
- Installed : no
- Link : http://www.divx.com
- Name : [A-L] Ghost in the Shell - R2 Limited Edition 2004 Release
- Language : Japanese (jpn)
- Pixel Width : 704
- Pixel Height : 384
Track 2 : Audio
- Codec : AAC Low Complexity (A_AAC/MPEG4/LC)
- Possible filter : CoreAAC
- Installed : yes, in C:\WINDOWS\system32\coreaac.ax (1.1.0.166)
- Link : http://coreaac.corecodec.org
- Name : Japanese Audio (2ch LC-AAC)
- Language : Japanese (jpn)
- Sampling Frequency : 44100
- Channels : 2
Track 3 : Audio
- Codec : AAC Low Complexity (A_AAC/MPEG4/LC)
- Possible filter : CoreAAC
- Installed : yes, in C:\WINDOWS\system32\coreaac.ax (1.1.0.166)
- Link : http://coreaac.corecodec.org
- Name : English Audio (2ch LC-AAC)
- Language : English (eng)
- Sampling Frequency : 44100
- Channels : 2
Track 4 : Subtitles
- Codec : UTF-8 Plain Text (S_TEXT/UTF8)
- Possible filter : VSFilter/DVobSub
- Installed : yes, in C:\PROGRA~1\Matroska Pack\VSFilter.dll (1.0.1.2)
- Link : http://sourceforge.net/projects/guliverkli
- Name : English Subtitles (R1 SRT)
- Language : English (eng)
Track 5 : Subtitles
- Codec : UTF-8 Plain Text (S_TEXT/UTF8)
- Possible filter : VSFilter/DVobSub
- Installed : yes, in C:\PROGRA~1\Matroska Pack\VSFilter.dll (1.0.1.2)
- Link : http://sourceforge.net/projects/guliverkli
- Name : Closed Captioning (R2 SRT)
- Language : English (eng)
Track 6 : Subtitles
- Codec : VobSub subtitles (S_VOBSUB)
- Possible filter : VSFilter/DVobSub
- Installed : yes, in C:\PROGRA~1\Matroska Pack\VSFilter.dll (1.0.1.2)
- Link : http://sourceforge.net/projects/guliverkli
- Name : Japanese Subtitles (R2 Widescreen VOBSUB)
- Language : Japanese (jpn)
Track 7 : Subtitles
- Codec : VobSub subtitles (S_VOBSUB)
- Possible filter : VSFilter/DVobSub
- Installed : yes, in C:\PROGRA~1\Matroska Pack\VSFilter.dll (1.0.1.2)
- Link : http://sourceforge.net/projects/guliverkli
- Name : Closed Captioning (R2 Widescreen VOBSUB)
- Language : English (eng)
Edition entry : 1
- 00:00:00.000 - 00:04:04.900 Thermo Optic Camouflage
- 00:04:04.900 - 00:08:23.267 Opening Credits
- 00:08:23.267 - 00:13:13.400 The Infamous Mystery Hacker
- 00:13:13.400 - 00:24:15.300 Ghost Hack Humans
- 00:24:15.300 - 00:26:02.367 Only a Puppet
- 00:26:02.367 - 00:27:46.967 Simultaneous Reality and Fantasy
- 00:27:46.967 - 00:33:00.033 Hope in Deep Waters
- 00:33:00.033 - 00:36:18.367 Wandering the City
- 00:36:18.367 - 00:38:02.073 Doubting Your Own Ghost

DirectShow RenderFile check :
Matroska Splitter : Gabest's Matroska Splitter
- Installed : no
- Can be created : no
Matroska Splitter : Haali's New Matroska Splitter
- Installed : yes, in C:\Program Files\Matroska Pack\haali\splitter.ax
- Can be created : yes
RenderFile with DirectShow : OK

DirectShow detailed rendering :
0> MyRenderFile : C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv
10> Creation of GraphBuilder : OK
10> Creation of FilterMapper2 : OK
10> Adding graph to ROT : OK
170> Creation of source filter : OK
170> # Rendering output pin C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv(Video)
170> Filters matching mediatype : ffdshow MPEG-4 Video Decoder, DirectVobSub (auto-loading version), Video Renderer, AVI Decompressor
170> Trying connection to ffdshow MPEG-4 Video Decoder :
221> OK, connected to (In)ffdshow MPEG-4 Video Decoder
221> # Rendering output pin C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv(Video) -> ffdshow MPEG-4 Video Decoder(Out)
221> Filters matching mediatype : ffdshow MPEG-4 Video Decoder, DirectVobSub (auto-loading version), Video Renderer, AVI Decompressor
221> Trying connection to DirectVobSub (auto-loading version) :
241> OK, connected to (Video)DirectVobSub (auto-loading version)
241> # Rendering output pin C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv(Video) -> ffdshow MPEG-4 Video Decoder(Out) -> DirectVobSub (auto-loading version)(Output)
271> Filters matching mediatype : ffdshow MPEG-4 Video Decoder, DirectVobSub (auto-loading version), Video Renderer, AVI Decompressor
271> Trying connection to Video Renderer :
371> OK, connected to (VMR Input0)Video Renderer
371> Completed path : C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv(Video) -> ffdshow MPEG-4 Video Decoder(Out) -> DirectVobSub (auto-loading version)(Output) -> Video Renderer
371> # Rendering output pin C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv(Audio)
421> Filters matching mediatype : ffdshow Audio Decoder, DirectVobSub (auto-loading version), CoreAAC Audio Decoder, ACM Wrapper
421> Trying connection to ffdshow Audio Decoder :
431> Failed connecting pin to ffdshow Audio Decoder, removing it now.
431> Trying connection to DirectVobSub (auto-loading version) :
441> DirectVobSub (auto-loading version) AddFilter failed : : Unspecified error (0x80004005)
441> Trying connection to CoreAAC Audio Decoder :
441> OK, connected to (XForm In)CoreAAC Audio Decoder
441> # Rendering output pin C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv(Audio) -> CoreAAC Audio Decoder(XForm Out)
441> Filters matching mediatype : ffdshow Audio Decoder, DirectVobSub (auto-loading version), Default DirectSound Device, ACM Wrapper
441> Trying connection to ffdshow Audio Decoder :
451> Failed connecting pin to ffdshow Audio Decoder, removing it now.
451> Trying connection to DirectVobSub (auto-loading version) :
451> DirectVobSub (auto-loading version) AddFilter failed : : Unspecified error (0x80004005)
461> Trying connection to Default DirectSound Device :
481> OK, connected to (Audio Input pin (rendered))Default DirectSound Device
481> Completed path : C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv(Audio) -> CoreAAC Audio Decoder(XForm Out) -> Default DirectSound Device
481> # Rendering output pin C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv(Subtitle)
481> OK, connected to (Input)DirectVobSub (auto-loading version)
481> MyRenderFile finished : OK

And here it is with VSFilter unregistered (working, but no subs):
Matroska file info : C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv
File size : 700.26 MB
File complete : yes
Duration : 00:38:02.073
Title : [A-L] Ghost in the Shell - R2 Limited Edition 2004 Release
Writing application : mkvmerge v0.9.1 built on Jun 13 2004 12:55:07
Muxing application : libebml v0.7.0 + libmatroska v0.7.0
Date : 2003-08-02 01:14:08.000
Tracks : 7
Track 1 : Video
- Codec : Microsoft VFW compatibility mode (V_MS/VFW/FOURCC)
- Fourcc : DivX 5.x codec (DX50)
- Possible filter : ffdshow
- Installed : yes, in C:\Program Files\Matroska Pack\ffdshow\ffdshow.ax (1.0.0.50)
- Link : http://sourceforge.net/projects/ffdshow
- Possible filter : Divx
- Installed : no
- Link : http://www.divx.com
- Name : [A-L] Ghost in the Shell - R2 Limited Edition 2004 Release
- Language : Japanese (jpn)
- Pixel Width : 704
- Pixel Height : 384
Track 2 : Audio
- Codec : AAC Low Complexity (A_AAC/MPEG4/LC)
- Possible filter : CoreAAC
- Installed : yes, in C:\WINDOWS\system32\coreaac.ax (1.1.0.166)
- Link : http://coreaac.corecodec.org
- Name : Japanese Audio (2ch LC-AAC)
- Language : Japanese (jpn)
- Sampling Frequency : 44100
- Channels : 2
Track 3 : Audio
- Codec : AAC Low Complexity (A_AAC/MPEG4/LC)
- Possible filter : CoreAAC
- Installed : yes, in C:\WINDOWS\system32\coreaac.ax (1.1.0.166)
- Link : http://coreaac.corecodec.org
- Name : English Audio (2ch LC-AAC)
- Language : English (eng)
- Sampling Frequency : 44100
- Channels : 2
Track 4 : Subtitles
- Codec : UTF-8 Plain Text (S_TEXT/UTF8)
- Possible filter : VSFilter/DVobSub
- Installed : no
- Link : http://sourceforge.net/projects/guliverkli
- Name : English Subtitles (R1 SRT)
- Language : English (eng)
Track 5 : Subtitles
- Codec : UTF-8 Plain Text (S_TEXT/UTF8)
- Possible filter : VSFilter/DVobSub
- Installed : no
- Link : http://sourceforge.net/projects/guliverkli
- Name : Closed Captioning (R2 SRT)
- Language : English (eng)
Track 6 : Subtitles
- Codec : VobSub subtitles (S_VOBSUB)
- Possible filter : VSFilter/DVobSub
- Installed : no
- Link : http://sourceforge.net/projects/guliverkli
- Name : Japanese Subtitles (R2 Widescreen VOBSUB)
- Language : Japanese (jpn)
Track 7 : Subtitles
- Codec : VobSub subtitles (S_VOBSUB)
- Possible filter : VSFilter/DVobSub
- Installed : no
- Link : http://sourceforge.net/projects/guliverkli
- Name : Closed Captioning (R2 Widescreen VOBSUB)
- Language : English (eng)
Edition entry : 1
- 00:00:00.000 - 00:04:04.900 Thermo Optic Camouflage
- 00:04:04.900 - 00:08:23.267 Opening Credits
- 00:08:23.267 - 00:13:13.400 The Infamous Mystery Hacker
- 00:13:13.400 - 00:24:15.300 Ghost Hack Humans
- 00:24:15.300 - 00:26:02.367 Only a Puppet
- 00:26:02.367 - 00:27:46.967 Simultaneous Reality and Fantasy
- 00:27:46.967 - 00:33:00.033 Hope in Deep Waters
- 00:33:00.033 - 00:36:18.367 Wandering the City
- 00:36:18.367 - 00:38:02.073 Doubting Your Own Ghost

DirectShow RenderFile check :
Matroska Splitter : Gabest's Matroska Splitter
- Installed : no
- Can be created : no
Matroska Splitter : Haali's New Matroska Splitter
- Installed : yes, in C:\Program Files\Matroska Pack\haali\splitter.ax
- Can be created : yes
RenderFile with DirectShow : Some of the streams in this movie are in an unsupported format. (0x00040242)

DirectShow detailed rendering :
0> MyRenderFile : C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv
0> Creation of GraphBuilder : OK
0> Creation of FilterMapper2 : OK
0> Adding graph to ROT : OK
80> Creation of source filter : OK
80> # Rendering output pin C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv(Video)
90> Filters matching mediatype : ffdshow MPEG-4 Video Decoder, Video Renderer, AVI Decompressor
90> Trying connection to ffdshow MPEG-4 Video Decoder :
130> OK, connected to (In)ffdshow MPEG-4 Video Decoder
130> # Rendering output pin C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv(Video) -> ffdshow MPEG-4 Video Decoder(Out)
140> Filters matching mediatype : ffdshow MPEG-4 Video Decoder, Video Renderer, AVI Decompressor
140> Trying connection to Video Renderer :
221> OK, connected to (VMR Input0)Video Renderer
221> Completed path : C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv(Video) -> ffdshow MPEG-4 Video Decoder(Out) -> Video Renderer
221> # Rendering output pin C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv(Audio)
221> Filters matching mediatype : ffdshow Audio Decoder, CoreAAC Audio Decoder, ACM Wrapper
221> Trying connection to ffdshow Audio Decoder :
241> Failed connecting pin to ffdshow Audio Decoder, removing it now.
241> Trying connection to CoreAAC Audio Decoder :
241> OK, connected to (XForm In)CoreAAC Audio Decoder
241> # Rendering output pin C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv(Audio) -> CoreAAC Audio Decoder(XForm Out)
241> Filters matching mediatype : ffdshow Audio Decoder, Default DirectSound Device, ACM Wrapper
241> Trying connection to ffdshow Audio Decoder :
251> Failed connecting pin to ffdshow Audio Decoder, removing it now.
251> Trying connection to Default DirectSound Device :
301> OK, connected to (Audio Input pin (rendered))Default DirectSound Device
301> Completed path : C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv(Audio) -> CoreAAC Audio Decoder(XForm Out) -> Default DirectSound Device
301> # Rendering output pin C:\Documents and Settings\Dr.Emmott\Desktop\a-l.gits.remastered.r2.cd1.divx52.mkv(Subtitle)
301> Filters matching mediatype : ffdshow MPEG-4 Video Decoder
301> Trying connection to ffdshow MPEG-4 Video Decoder :
311> ffdshow MPEG-4 Video Decoder AddFilter failed : : Unspecified error (0x80004005)
311> MyRenderFile finished : Unspecified error (0x80004005)

niamh
25th July 2005, 16:47
I can't see anything strange at all..... it does say addfilter failed, but it says it on my system too, and it works anyway... everything connects ok.... is it a wmp issue only, or does it affect all players?

jellysandwich
25th July 2005, 22:03
I get the same problem as the OP (using WMP 10).

js

[)370|\|470!2
16th September 2005, 06:10
If someone still looking for the solution, just uninstall crappy vsfilter v 2.36(VSFilter.dll (1.0.1.2)) and install v 2.33(VSFilter.dll (1.0.0.9)). Worked for me.
http://prdownloads.sourceforge.net/guliverkli/vsfilter_20040308.zip?download

Loul
14th November 2005, 02:58
If someone still looking for the solution, just uninstall crappy vsfilter v 2.36(VSFilter.dll (1.0.1.2)) and install v 2.33(VSFilter.dll (1.0.0.9)). Worked for me.
http://prdownloads.sourceforge.net/guliverkli/vsfilter_20040308.zip?download

I have the same trouble but v 2.33 doesn't seem to be able to manage subtitles embedded in a Mkv file.

If only this 2.36 & WMP incompatibility could be fixed :(

Valeron
14th November 2005, 05:42
Try install Gabest's matroska splitter instead~

Loul
14th November 2005, 11:07
Try install Gabest's matroska splitter instead~

Hehe thanks for helping.
Could you be more explicit ?
Actually instead this splitter instead of what other filter ?

Thanks :)

Edit : I unregistered Haali Media Splitter to use the MatroskSplitter but without any success

Valeron
14th November 2005, 13:51
@Loul:
I had ever met the same problem with you-the haali media splitter can't be remove from the ds filter list, when it's install together with matroska pack.
Maybe you should try uninstall the entire matroska pack to made it remove.

So personally I always recommend gabest splitter.

btw, I had ever receive no video when playback a special mkv(xvid+mp3+ass sub), no matter what splitter used~ for most other files it's ok.
It's probably a bug in WMP 10~

Loul
14th November 2005, 23:25
It eventually works !!

Many thanks to ChrisHJW who actually gave me the solution on irc://irc.corecodec.com/matroska.

I had Vobsub installed (to rip and edit subs from DVDs) and

<ChrisHJW> vobsub will install a very old, completely outdated version of vsfilter, called DVobSub that time


So the solution is :

<ChrisHJW> deinstall vobsub, install vsfilter and all will be fine
<ChrisHJW> then reinstall vobsub and untick the box for 'DVobSub' installation


Actually the option to untick is named "VobSub for DirectShow".
Now everything works :cool:

:thanks:

ianken
14th December 2005, 08:19
It eventually works !!

So the solution is :
Actually the option to untick is named "VobSub for DirectShow".
Now everything works :cool:
:thanks:

This should be in a sticky faq somewhere. :-)

The problem I'm haveing now is that Haali Media Splitter seems to ignore defualt language settings.

AkaneKage
27th September 2008, 01:03
Okay, i know people hate threadcromancy, but I am replying to a thread so old for two reasons. I recently encountered this same problem with the video being black in WMP, and like the poster do not wish to use a 3rd party player, but wanted to know WHY it was behaving this way. Since this is one of the threads that showed up in Google search I viewed it and was dissapointed to not find an answer. I found no answer anywhere on the web, and was forced to try a number of my own experiments to determine the exact cause and a solution. I was succesful! So here are the steps needed, there are two possible causes, if it is not one, it most likely is the other:

Solution One - The Easy fix
This was actually the harder solution to determine, but is the simplest way to fix it. Most likely it is due to settings on your graphics card that you will get black video in Windows Media Player or even sometimes Media Player Classic when playing back OGM and AVI files with subtitles. To fix this, with the video open but stopped, right click in the video frame to bring up the menu, scroll down and select OPTIONS (not properties). In the window that opens up there should be a slider for HARDWARE ACCELERATION - If this is set low, try increasing it to full. Apply changes, and this should fix the problem. You will need to close the window and start playback to see (you may need to close and reopen WMP, though I did not have to). If the playback is too slow, try turning off postprocessing in the video render, or see if you can reach a happy medium by setting Hardware Acceleration to a lower level (Depends on how good your graphics card is).

Solution Two - The hard way
If solution one did not solve your problem, you may have a CoDec conflict. You will need GSpot to attempt this.
1) Open the file with GSpot. Look at the CoDec 4CC it displays
2) Go and hit render. Under the directshow Video Src Type, compare it to the 4CC. If they are different, then there may be a Codec problem If you are sure you have the CoDec listed under 4CC installed, then one of your other CoDecs has hijacked the video render of this type.
3) Open the configuration for the CoDec listed under Video SRC Type and make sure to uncheck the appropriate CoDec (I recommend unchecking all other CoDec rendering EXCEPT the one that the configuration is for - I.E if it is Divx, then it should ONLY render DivX and not XVID, or MP4).
NOTE - I recommend repeating steps 1 through 4, as often times, more than one CoDec will Hijack other CoDec renders, and you may need to remove them in "layers".

If niether one of these fixes the problem then I am not sure what further steps to take other than fiddle with various settings of the graphics card until a solution is found (this was how I found Solution One - and it was what the problem was for me). If you do still encounter this problem, and find a different solution to fix it, please add you solution so others searching will be able to find it too ;)

clsid
27th September 2008, 12:31
This is not a codec conflict. Problems like this are almost always driver related.

Another possible solution is to disable YV12 colorspace output in the video decoder that you are using. Some graphics cards/drivers don't like YV12.

setarip_old
27th September 2008, 16:48
Perhaps the problem for the OP (three years ago) was caused by the downloaded-from-torrent video, "a-l.gits.remastered.r2.cd1.divx52.mkv", that he/she was concerned about distributing further ;>}

hubblec4
3rd October 2008, 13:18
hello

you can try this version of vsfilter.

http://www.animereactor.dk/aegisub/vsfilter-2.39c.rar


hubble

clsid
3rd October 2008, 19:12
That one works the same as any other recent version of VSFilter. It isn't special and it isn't going to solve the problem that is described in this topic.

KingManon
22nd October 2008, 12:37
I have somewhat the same issue here. Up until recently subtitles worked on both XviD and MVK (external). Suddenly it has stopped working on MKV, but for XviD it still works. The little green arrow in the tray simply doesn't show for MKV. I read somewhere that I had to set Haali to autoload VSFilter, which I have but still it doesn't load. The subtitles are located in the same folder as the MKV and is named the same except srt instead of MKV.
I originally had the old VobSub 2.33 install, but now I use VSFilter (have tried v2.39, 2.37 and 2.33) as a way to debug this but without luck. First I thought this was a problem with Haali Media Splitter, but then I tried using Media Player Classic and here subtitles work for both XviD and MVK. So maybe this is related to Windows Media Player (version 11) as I use for media player as this is on my Vista Media Center?! Using latest ffdshow.

How can I debug this?

I have tried to use the "Insurgent" from CCCP, but when rendering VSFilter is working correctly and showing in the tray.