cporrasa / xy-vsfilter

Automatically exported from code.google.com/p/xy-vsfilter
0 stars 0 forks source link

WMP crash at a certain timecode #71

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
>> What steps will reproduce the problem?
1. Download video (Filesize: 49.8MB / Duration 01m 32s): 
http://www.mediafire.com/?u78nm7dt7r45s7a
2. The crash often occurs at 01:13, sometimes a few seconds later, sometimes 
the crash doesn't happen at all. The probability for the crash to happen is 
over 50% on this video, and it only happens at or after 01:13, no matter if I 
wait for the video to reach that point, or if I seek to that particular point.

With classic VSFilter, WMP does not crash.
Also, the crash does not occur when "No Subtitles" is selected, or xy-VSFilter 
is set to "Hide Subtitles"

>> What version of the product are you using? On what operating system?
I'm currently using the latest 3.0.0.1 stable on Windows 7 Professional x64
I noticed the crash since the first time I played this video after installing 
xy-VSFilters, but I first thought it happened because xy-VSFilter was unstable.
Now I know that the problem only occurs in the video (link provided above).
Sometimes, other videos crash too, but the crashes occur when WMP reaches 
End-of-File and tries to reopen the video file (and it only happened 3 times to 
me so far)

>> Please provide related subtitle script (if any). And the less characters
>> the script is, the less effort I have to make to fix the issue, so if you
>> could make the script as simple as possible, that would be appreciated.
The script is included in the Video.
It is a Karaoke script, that uses the same style throughout the 1 Minute and 32 
Seconds of the video.

>> Please provide any additional information below.

The randomness of the crashes seem to be related to synchronization issues 
while multi-threading. However, since the crashes only happen at or after 
01:13, this seems unlikely.

Original issue reported on code.google.com by Nolo...@gmail.com on 8 Jan 2012 at 9:52

GoogleCodeExporter commented 8 years ago
I've been trying for around an hour now with different filter combinations and 
I'm unable to reproduce any crash with that sample in WMP.

Please try the following:

1) Open regedit, navigate to HKEY_CURRENT_USER\Software\Gabest\ and delete any 
keys with VSFilter in their name.

2) Open an Administrative Command Prompt and navigate to where your 
VSFilter.dll is located

3) regsvr32 /u VSFilter.dll

4) regsvr32 VSFilter.dll

If that doesn't work, please list the filters being used in WMP. There is 
nothing special about that script, so if a crash is happening, it seems 
unlikely it's being caused by xy-vsfilter rather than some upstream filter like 
the splitter or decoder.

Original comment by cyber.sp...@gmail.com on 9 Jan 2012 at 8:58

GoogleCodeExporter commented 8 years ago
And just to confirm, this only happens when using Windows Media Player 12?

Please test MPC-HC x86 
http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/ & ZoomPlayer 
8.1 http://www.inmatrix.com/download_relay/zoomplayer.com_free.html as well if 
you haven't already.

Original comment by cyber.sp...@gmail.com on 9 Jan 2012 at 9:07

GoogleCodeExporter commented 8 years ago
The good news is: I've been unable to reproduce the crash in MPC-HC and 
ZoomPlayer and to make sure it wasn't because the problem had miraculously 
solved itself, I tried it again in Windows Media Player (12) and the crash 
happened right away.

I then proceed to remove the registry key and re-register VSFilter.
Funny fact: I just found a new way for WMP to crash. Instead of just stopping 
playback and having a message from Windows saying that "This application has 
crashed", the music kept on playing but the video stuck. Also, when closing WMP 
I couldn't start it until I force-quitted a so called Windows-IME(?) which had 
crashed instead.

As for what filters I'm using.
I'm currently using Shark codec pack http://shark007.net/win7codecs.html
I've configured Shark to use the Haali splitter for MKV for Linked File support 
(the crash is unrelated to linked files) and to use LAV codec for h264 in 
DirectShow Players.

I hope this helps.

Original comment by Nolo...@gmail.com on 9 Jan 2012 at 11:34

GoogleCodeExporter commented 8 years ago
WMP on Win7 is special since it prefers Media Foundation codecs over DirectShow 
and it has a special Preferred Filter List which it will use over default 
DirectShow filters. 

Either Shark Codec Pack is to blame for messing with the Win7 preferred filter 
list and/or media foundation codecs and ended up breaking something, or you 
have some other codec installed which isn't stable.

For reference, I'd also be curious if you have DivX, ArcSoft TotalMedia, 
Cyberlink PowerDVD, Corel/InterVideo WinDVD, Nero, Adobe, Elecard, Roxio, or 
Nokia programs installed?

Under the assumption this is being caused by a misbehaving codec, please try 
the following:

__________
Uninstall Shark Codec Pack.

Uninstall DivX.

regsvr32 /u VSFilter.dll 

Delete all VSFilter.dll instances from your computer

Check for and install Windows 7 Updates, DirectX Updates 
http://www.microsoft.com/download/en/details.aspx?id=35 , GPU Driver Updates, 
and Sound Driver Updates.

Reboot.

Install CCCP http://www.cccp-project.net/

Reboot.

Open CCCP Settings and do "Re-Register Filters" + "Reset All Settings" 
Yes->Next->Next->Apply

Check that VSFilter 2.40 distributed with CCCP is working correctly in WMP12 
with your sample video.

Close WMP.

Delete and replace the VSFilter.dll in "C:\Program Files (x86)\Combined 
Community Codec Pack\Filters" with VSFilter.dll from xy-VSFilter 3.0.0.1

Open CCCP Settings and do "Re-Register Filters" + "Reset All Settings" 
Yes->Next->Next->Apply

Check that xy-VSFilter 3.0.0.1 is working correctly in WMP12 with your sample 
video.

Open Haali Media Splitter settings from the CCCP Start Menu.

Set "Use Custom MediaType for H.264" to Yes.

Check that xy-VSFilter 3.0.0.1 is working correctly in WMP12 with your sample 
video.

Open Haali Media Splitter settings from the CCCP Start Menu.

Set "Auto Load VSFilter" to Yes.

Check that xy-VSFilter 3.0.0.1 is working correctly in WMP12 with your sample 
video.

Open CCCP Settings and do "Re-Register Filters" + "Reset All Settings" 
Yes->Next->Next->Apply

Open Ready.mkv in WMP and immediately pause the video.

Find the blue FFDShow Audio icon in your System Tray

Right Click the FFDShow Audio icon (a menu should pop-up)

While this menu is open, press PrtScn on your keyboard.

Open Microsoft Paint and do Edit -> Paste

Save the screenshot and upload it either as an attachment here or to ImageShack 
so I can view it.
________

Original comment by cyber.sp...@gmail.com on 9 Jan 2012 at 12:52

GoogleCodeExporter commented 8 years ago
If none of that helps, the next thing to look into would be if the Windows IME 
is somehow conflicting with xy-VSFilter.

Which country/region is your version of Windows from? Which language do you 
have your System Locale set to? Do you use a Custom Keyboard Layout or have 
additional Keyboard Languages installed? Do you use the Language Bar? If you 
are not using the Windows IME for anything, the next thing we could try is 
disabling it.

Original comment by cyber.sp...@gmail.com on 9 Jan 2012 at 1:16

GoogleCodeExporter commented 8 years ago
I just noticed, that my MPC-HC test was compromised.
MPC-HC used it's own internal sutitle filter, instead of the VSFiler, so I had 
to use a renderer that didn't support the internal filter, disable internal 
filters for MKV and set VSFilter as preferred filter.

The result is the same though, neither MPC nor the video crashed.

As for the third party softwares, I did have DivX installed (but removed long 
ago) and I only have Adobe Flash, Reader and (a cracked version of) Premiere 
Pro left on my system.

As for my locale.
I'm not sure which region my PC is from, since I bought it from the internet, 
but I'd guess it's Swiss.
The "Current Location" is set to Switzerland, the Language is English.
I had Japanese/Chinese/Korean installed. I don't use the Language Bar anymore, 
though for some reason, it still pops up when I press Ctrl+Space and 
automatically switches to "Chinese (Taiwan)", which is odd, because I've 
removed all Asian Layouts from my Keyboard Layouts and I had also removed the 
Ctrl+Space shortcut.

As for the uninstall-reboot-etc. process, I'll do them as soon as I manage to 
find the time for it and I'll report as soon as possible.

Original comment by Nolo...@gmail.com on 9 Jan 2012 at 1:51

GoogleCodeExporter commented 8 years ago
Since you mention you are from Switzerland, does that mean you are using 
"Windows 7 N" 
http://windows.microsoft.com/en-US/windows7/products/What-is-Windows-7-N-edition
 which doesn't include WMP12 by default?

If you are indeed running "Windows 7 N", try installing/re-installing the Media 
Feature Pack from http://www.microsoft.com/download/en/details.aspx?id=16546 
and the Media Format Feature Pack from 
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=19289

Original comment by cyber.sp...@gmail.com on 9 Jan 2012 at 2:27

GoogleCodeExporter commented 8 years ago
I'm not sure if you already know why this crash happens.

I think this a threading-issue (IMHO). I don't know why but for some reason WMP 
(or Haali Media Splitter) load the VSFilter.dll a second time at the end of a 
video. You can see this if you enable the tray icon. Therefore WMP usually 
crash at 01:13 because this is exactly the time where the second icon pop's up.

This crash still occurs with xy-vsfilter 3.0.0.65.
I'm using W7 (x64) with WMP12 (x86), LAV Filter 0.51.3, Haali and xy-vsfilter 
3.0.0.65. 

Original comment by stefan.g...@googlemail.com on 26 Sep 2012 at 11:06

Attachments:

GoogleCodeExporter commented 8 years ago
I'm still unable to reproduce any crash with WMP12.

When this occurs, what filters does each of the two xy-VSFilter tray icons show 
when you right-click on them?

Original comment by cyber.sp...@gmail.com on 26 Sep 2012 at 3:20

GoogleCodeExporter commented 8 years ago
It's the same but a different order. 

Can you reproduce a second icon? I got a second icon with DirectVobSub, too. 
But it never crashed.

Original comment by stefan.g...@googlemail.com on 26 Sep 2012 at 7:03

Attachments:

GoogleCodeExporter commented 8 years ago
I can reproduce a second icon, but it only appears during the last minute or so 
when WMP12 pre-loads the next video in the playlist, and usually disappears as 
soon as the next video in the playlist begins to play back.

I've never seen something like your screenshot where there are two VSFilter 
icons both loaded for the same video, nor a new tray icon appearing a minute 
after playback starts.

Do you have Windows 7 Service Pack 1 installed?
Do you have all Important as well as non-default Recommended updates installed 
from Windows Update?

After you've done the two things above, I would then ask you to do the 
following steps:

1) Re-install Haali Media Splitter (attached) and don't change any default 
settings.
2) Re-install LAV Video & LAV Audio (x86) from recent nightly build: 
http://xhmikosr.1f0.de/lavfilters/
3) Download and run Win7DSFilterTweaker: 
http://www.codecguide.com/windows7_preferred_filter_tweaker.htm

With Win7DSFilterTweaker open, click on 'Preferred Decoders'. Set the following 
under 32-bit:

H.264 = USE MERIT
XVID = USE MERIT
DIVX = USE MERIT
AAC = LAV Audio
MP3 = LAV Audio

Playback some videos in WMP12 and see if you can still reproduce a crash. When 
you right-click the xy-VSFilter tray icon, the list of filters should match the 
attached screenshot.

003 <- or some other random number for the Audio Renderer
Enhanced Video Renderer
DirectVobSub (forced auto-loading version)
LAV Video
LAV Audio
PathToVideo <- this is Haali Media Splitter

Original comment by cyber.sp...@gmail.com on 27 Sep 2012 at 5:23

Attachments:

GoogleCodeExporter commented 8 years ago
Forgot one thing. Before you apply the new Win7DSFilterTweaker settings listed 
above, enter each of the three sections and hit Reset + Apply & Close in order 
to make sure everything is set to defaults before you do so.

Original comment by cyber.sp...@gmail.com on 27 Sep 2012 at 6:19

GoogleCodeExporter commented 8 years ago
Also uninstall Haali Media Splitter first before re-installing it, since it 
doesn't seem to reset to defaults otherwise.

Original comment by cyber.sp...@gmail.com on 27 Sep 2012 at 9:05

GoogleCodeExporter commented 8 years ago
>> I can reproduce a second icon, but it only appears during the last minute or 
so when WMP12 pre-loads the next video in the playlist, and usually disappears 
as soon as the next video in the playlist begins to play back.

I can confirm this; always last minute or so and disappears with the next video.

>> I've never seen something like your screenshot where there are two VSFilter 
icons both loaded for the same video, nor a new tray icon appearing a minute 
after playback starts.

In this case there is just one video in the playlist (screenshots @ 
24:14/24:25). With a second video in the playlist the two VSFilter icons are 
NOT loaded for same video.

>> Do you have Windows 7 Service Pack 1 installed?
>> Do you have all Important as well as non-default Recommended updates 
installed from Windows Update?

Of course.

>> Playback some videos in WMP12 and see if you can still reproduce a crash. 
When you right-click the xy-VSFilter tray icon, the list of filters should 
match the attached screenshot.

It match the attached screenshot and WMP still crashes with one and at least 
two videos in the playlist.

>> 1. Download video (Filesize: 49.8MB / Duration 01m 32s): 
http://www.mediafire.com/?u78nm7dt7r45s7a
>> 2. The crash often occurs at 01:13, sometimes a few seconds later, sometimes 
the crash doesn't happen at all. The probability for the crash to happen is 
over 50% on this video, and it only happens at or after 01:13, no matter if I 
wait for the video to reach that point, or if I seek to that particular point.

If xy-vsfilter actually do something (in this case karaoke) then the 
probability to crash is really high. Therefore this video crashes a lot and my 
test-video for the screenshots didn't.

Original comment by stefan.g...@googlemail.com on 27 Sep 2012 at 10:29

Attachments:

GoogleCodeExporter commented 8 years ago
Do you have CoreAVC or any other H.264 decoders installed? 'Installed' as in 
present on your system?

Original comment by cyber.sp...@gmail.com on 27 Sep 2012 at 12:18

GoogleCodeExporter commented 8 years ago
No CoreAVC; just some player: mpc-hc (portable) as a second player; quicktime 
for the program "mocha"; and cyberlink for BDs.

Original comment by stefan.g...@googlemail.com on 27 Sep 2012 at 3:08

GoogleCodeExporter commented 8 years ago
Okay, so just to confirm, no FFDShow, Divx, Adobe, Elecard, Mainconcept, 
Arcsoft, cellphone software, encoding packs, or anything else which may contain 
another H.264 decoder? Also is Haali is your only MKV splitter?

I ask this because I noticed WMP12 seems to behave strangely, and attempts to 
call a decoder different from the one being used when it pre-loads the next 
video. CoreAVC 3.0.1 seemed to be causing an access violation in WMP12 when 
being used in this way, which could potentially have been related to an 
occasion crash.

To rule out the Cyberlink H.264 decoder having the same issue, rename your 
entire PowerDVD folder something else temporarily. Also try checking everything 
on the Win7DSFilterTweaker 'Tweaks' page to disable all the Microsoft decoders 
temporarily. Do you still get a crash?

Original comment by cyber.sp...@gmail.com on 27 Sep 2012 at 6:47

GoogleCodeExporter commented 8 years ago
No: FFDShow, Divx, Elecard, Mainconcept, Arcsoft, cellphone software

Yes: Adobe After Effects CS6, Adobe Media Encoder CS6, Aegisub, MeGUi

>> Also is Haali is your only MKV splitter?

No, LAV Splitter is also installed, but mkv is diabled.

>> renaming Cyberlink, (and Adobe After Effects CS6, Adobe Media Encoder CS6, 
Aegisub, MeGUi)

Still get a crash.

>> Win7DSFilterTweaker 'Tweaks'

Still get a crash.

Just in case: logs say that the reason is the VSFilter.dll.

Original comment by stefan.g...@googlemail.com on 28 Sep 2012 at 12:47

Attachments:

GoogleCodeExporter commented 8 years ago
As a shot in the dark, try installing the following hotfix:
http://support.microsoft.com/kb/2545627/

If you still get a crash with that hotfix, try installing the following newer 
hotfix:
http://support.microsoft.com/kb/2582203/

Original comment by cyber.sp...@gmail.com on 1 Oct 2012 at 12:35

GoogleCodeExporter commented 8 years ago
Unfortunately both updates didn't help.

Original comment by stefan.g...@googlemail.com on 2 Oct 2012 at 10:28

GoogleCodeExporter commented 8 years ago
I've also tested it under Windows 8 (90-day trial) but it's the same behavior. 
It isn't a big surprise for me because it's still WMP12.

Original comment by stefan.g...@googlemail.com on 2 Oct 2012 at 1:07

GoogleCodeExporter commented 8 years ago
The strange part is I am still unable reproduce these frequent crashes in WMP12 
on my computer, which doesn't make any sense if it's just a WMP12 related issue.

Original comment by cyber.sp...@gmail.com on 2 Oct 2012 at 1:45

GoogleCodeExporter commented 8 years ago
Maybe you can post your settings (haali, lav, xy, Win7DSFilterTweaker).

Original comment by stefan.g...@googlemail.com on 2 Oct 2012 at 5:06

GoogleCodeExporter commented 8 years ago
I also got this window today. This isn't the first time but it usually doesn't 
happens when I get a crash.

Original comment by stefan.g...@googlemail.com on 2 Oct 2012 at 6:23

Attachments:

GoogleCodeExporter commented 8 years ago
I also the same kind of crashes with WMP 12, using Windows 8 x64. It doesn't 
seem to be linked to any video but it only happens when displaying karaoke 
effects. Using ffdshow as decoder for video and audio, xy-vsfilter for subs and 
haali for splitter. I don't have any bug report here but I'll post one the next 
time I get this issue.

Original comment by sylviort...@gmail.com on 9 Mar 2013 at 7:18

GoogleCodeExporter commented 8 years ago
I am still unable to reproduce this issue.

For anybody still experiencing this, please test older depreciated releases of 
xy-VSFilter one-by-one until you find one which doesn't crash. Then download 
GraphStudioNext, drag your video into it, copy down the "Graph Construction 
Report" as well as the colorspace used by xy-VSFilter's input and output pin. 
Proceed to copy down this same information for the first release of xy-VSFilter 
which does crash in WMP12 and post both here as text attachments.

Original comment by cyber.sp...@gmail.com on 9 Mar 2013 at 7:51