INTERACT FORUM

More => Old Versions => Media Center 12 (Development Ended) => Topic started by: Yaobing on August 01, 2006, 01:53:05 pm

Title: Alex B Re: DirectVobSub Problems
Post by: Yaobing on August 01, 2006, 01:53:05 pm
It seems that MC12 does not work with vsfilter.dll anymore. (DirectVobSub v.2.37:
http://sourceforge.net/project/showfiles.php?group_id=82303&package_id=84359&release_id=373770).

MC12 crashes instantly when it starts building the video thumbnails or when I try to play a video file that has a separate subtitle file. (This runs DirectVobSub if the video file has a subtitle file in the file folder.)

MC11.1 and other DirectShow player programs have no problems at all with vsfilter.dll.

Alex,

I can not cause MC to crash, although the sub title files do prevent thumbnails from being obtained. No crash. Are there any specific file types involved?

Since I did not have any movies with subtitle files, I downloaded one subtitle file, made copies of it (renaming each to coincide with video files I wanted to test). When playing the files (so far I have tried a few AVI files, a couple DIVX, and a wmv file), subtitles are displayed (for the wrong movie of course).

Any help you can provide to diagnose the problem is appreciated.

Yaobing
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Alex B on August 01, 2006, 04:10:45 pm
MC 11.1 can make thumbnails without problems from my subtitled files. MC12 crashes instantly. The AVI files are encoded with DivX or XviD and the subtitles are in SRT, SUB or IDX+RAR format.

Here is the error message:

(http://www.adart.pp.fi/temp/vsfilt.png)

A log file is available is here: vsfilt.txt (http://www.adart.pp.fi/temp/vsfilt.txt)

A couple of my subtitle files: subtitles.zip (http://www.adart.pp.fi/temp/subtitles.zip)
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Alex B on August 01, 2006, 05:14:32 pm
I just dragged a subtitled AVI file to MC12's Display View. It played fine with subtitles. Then I stopped playback and changed to Standard View. The video file was visible in Playing Now file list. MC tried to build the thumbnail and crashed.

Here's the log: DisplayView.txt (http://www.adart.pp.fi/temp/DisplayView.txt)
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Yaobing on August 02, 2006, 08:06:02 am
Thanks Alex. It looks like a thumbnailing problem. I still do not have a clue yet. I tried all three types of subtitles. No crash on my computer. I will keep looking.
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Yaobing on August 02, 2006, 11:11:26 am
Alex,

Has this never worked in MC12? Was it only in recent builds did this happen?

Yaobing
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Alex B on August 02, 2006, 11:56:34 am
12.0.42 was the last version that worked. 12.0.43 and newer crash.
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Yaobing on August 02, 2006, 06:11:04 pm
Alex,

Do you know if all cases of crashes involve the same video decoder? Can you try using a different decoder? For example use Divx decoder instead of FFDShow, or vice versa?

Since build 43 we added a new method of creating thumbnails. This method appears to be not working well with certain decoders. I just wonder whether this is the case with your crashes.

Yaobing
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Alex B on August 03, 2006, 08:40:15 am
I have used FDDShow with the default settings.

This is what GSpot says about a typical AVI file that crashes MC:

(http://www.adart.pp.fi/temp/bucket.png)

FDDShow video configuration is this:

(http://www.adart.pp.fi/temp/fddsconf.png)
(http://www.adart.pp.fi/temp/fddsinfo.png)

I could try to disable FDDShow. However, MC can build the thumbnail just fine if the file does not use an external subtitle file.
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Yaobing on August 03, 2006, 11:42:45 am
I could try to disable FDDShow. However, MC can build the thumbnail just fine if the file does not use an external subtitle file.

I understand that. It seems, however, the vobsub filter alone may not cause a crash. It is the combination of vobsub, a certain video decoder, and the sample grabber filter that caused the crash.
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Alex B on August 03, 2006, 12:33:41 pm
I disabled FFDShow video decoding for DivX and XviD. Now MC shows this filter combination:

(http://www.adart.pp.fi/temp/mc12filters.png)

MC can now make thumbnails without crashing for some of my subtitled video files, but it cannot play all of them. I guess the XviD software is rather old. I must have installed it before I found FFDShow a couple of years ago.


MC shows these filters when FFDShow video decoding is enabled:

(http://www.adart.pp.fi/temp/mc12filt2.png)

Can you reproduce the "AVI Splitter > FFDShow (using default FFDShow settings) > DirectVobSub > Video Renderer" crash?
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Yaobing on August 03, 2006, 01:45:54 pm
Thanks Alex. This at least partially confirm what I suspected.

Can you reproduce the "AVI Splitter > FFDShow (using default FFDShow settings) > DirectVobSub > Video Renderer" crash?

No, I can not repoduce the crash. Just no thumbnail. Maybe it also has to do with the version. I am using a version built on Nov 29, 2005. I tried a newer version once. It crashed hard for MPEG-2 video. So I went back to this version.

The Microsoft Sample Grabber that we are trying to use does not seem to play well with a number of filters or filter combinations. So we will have to limit its use.
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Yaobing on August 07, 2006, 07:53:49 am
Alex,

Can you confirm whether the problem fixed in build 48?

Yaobing
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Alex B on August 07, 2006, 01:42:17 pm
It does not crash anymore because of vsfilter.dll.

However, now it makes short sound bursts if the video contains audio in the "thumbnailed" segment.
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Yaobing on August 07, 2006, 02:16:10 pm
However, now it makes short sound bursts if the video contains audio in the "thumbnailed" segment.

Strange. The audio renderer is supposed to have been replaced with a Do-Nothing renderer (Null Renderer).

Do you have a default audio renderer that is neither "Default WaveOut" nor "Default DirectSound"?
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Alex B on August 07, 2006, 04:59:48 pm
Yes, I have this:

(http://www.adart.pp.fi/temp/audiorenderer.png)
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Yaobing on August 07, 2006, 05:18:59 pm
I should have been more clear:

Does "DirectSound: DMX 6fire Wave" have a higher merit than "Default DirectSound Device" (i.e. it always gets automatically loaded instead of the Default DirectSound Device)? I suspect your answer would be yes.
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Alex B on August 07, 2006, 06:12:39 pm
Does "DirectSound: DMX 6fire Wave" have a higher merit than "Default DirectSound Device" (i.e. it always gets automatically loaded instead of the Default DirectSound Device)? I suspect your answer would be yes.

Actually, I don't know.  :)

Where can I check that?
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Yaobing on August 08, 2006, 07:53:08 am
Actually, I don't know.  :)

Where can I check that?

Delete or rename this registry key:

HKEY_CURRENT_USER\Software\JRiver\Media Center 12\Playback Engine\DirectX Playback\Filters\Audio Renderers

then play a video in any zone. Right-click, "DirectShow Filters", to show filters in use. You should see one Audio renderer listed. Is it "Default DirectSound Device" or "DirectSound: DMX 6fire Wave"?

Zoomplay allows you to see merit of filters (and even lets you change the merits).

EDIT: Actually Zoomplayer only allows you to see some filters. Audio Renderers do not seem to be among them.

Anyway, I am adding code to take care of the situation where a different audio renderer is loaded by default.
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Yaobing on August 10, 2006, 05:32:35 pm
However, now it makes short sound bursts if the video contains audio in the "thumbnailed" segment.

Alex,

Can you confirm that this is fixed in build 53?

Quote
2. Fixed: Bursts of sound during video thumbnailing on some computers.

Thanks.
Yaobing
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Alex B on August 11, 2006, 11:32:49 am
I was about to answer that it seems to be fine now. However, I tried only my subtitled AVI videos first. Now I imported some mpg music videos (unsubtitled, though I don't think the subtitles would make any difference) and they still cause sound bursts.
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Yaobing on August 21, 2006, 06:39:06 pm
I was about to answer that it seems to be fine now. However, I tried only my subtitled AVI videos first. Now I imported some mpg music videos (unsubtitled, though I don't think the subtitles would make any difference) and they still cause sound bursts.

Can you try again with the latest? You would probably still have the problem but I turned on more logging. Email me a log file (make sure "Playback" and "Importing" log types are selected). Try a few files only, or the log file may be very large.
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Alex B on August 22, 2006, 08:28:12 am
Correct, the problem has not changed.

I erased the thumbnails and the log file. Then I opened a view that contains 27 mpeg video files. I had all logging options ticked, but the entries are mostly from those two you mentioned. Here's the log file (my mail server is occupied with a backup process just now):

http://kotisivu.mtv3.fi/alexb/temp/mpgvideothumbnailing_log.zip
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Yaobing on August 22, 2006, 11:30:02 am
Thanks for the log file.

It is puzzling.

You had exactly the same filter graph as I get on my computer, with similar MPEG1 video. On your computer DirectShow refused to let the program replace the audio renderer with a Null-renderer.
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Yaobing on August 24, 2006, 06:02:31 pm
Build 60 has my latest attempt at fixing this. Please test it. Email/post a log file even if the problem is fixed (so I can see which of the two measures I added has worked). Thanks.
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Alex B on August 28, 2006, 02:38:43 pm
It seems to be fixed.

a log by MC12.0.61:  12061_mpgvideothumbnailing_log.zip (http://kotisivu.mtv3.fi/alexb/temp/12061_mpgvideothumbnailing_log.zip)
Title: Re: Alex B Re: DirectVobSub Problems
Post by: Yaobing on August 31, 2006, 11:53:11 am
It seems to be fixed.

a log by MC12.0.61:  12061_mpgvideothumbnailing_log.zip (http://kotisivu.mtv3.fi/alexb/temp/12061_mpgvideothumbnailing_log.zip)

Whew!

Thanks! What has worked is removing both the audio renderer and the audio decoder, whereas previously I tried only to remove the renderer.