MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Get Support » Codecs, External Players


Codecs, External Players Post problems with Codecs or External Players here!

Reply
 
Thread Tools Display Modes
Old 2008-08-13, 09:22   #1 (permalink)
Portal Member
 
Join Date: Aug 2008
Location: Hengelo (O)
Posts: 53
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Default FFDShow Raw video filter issues

Hi,

When I use de Mediaportal Codec for decoding DVD content (MPV codec) and add the FFDShow Raw Video filter in de postprocessing section, the movie stutters. When I connect to the Mediaportal graph, I get the following sequence:

SOURCE -> MPV filter -> FFDShow video decoder -> FFDShow raw video filter -> EVR input

Is the FFDShow video decoder necessary here? Also, the output of the FFDshow video decoder, says that it's 1920x1080 in resolution. It seems the decoder also processes the image and thereafter the raw video filter does it again (that explains the stuttering playback, as far I can imagine). This is also confirmed by the OSD (when you look closely, it seems it prints 2 OSD's on top of each other, which confirms the graph).

When I add the FFDShow video decoder directly in the post processing section, the graph only shows that filter and the playback is less stuttering.

So:
1. Is de FFDShow video decoder necessary when using the raw video filter in the postprocessing section. If so, why is it's output resolution 1920x1080 (in other words: why does it also uses all the settings I setup in de codec configuration for the raw video filter) ... ?

I'm using the latest clsid build (as from 11 August) from the ffdshow tryout. Older versions had the same problem.

Thanks,
Frank

TV-Server Version: V1.0 RC2
MediaPortal Version: V1.0 RC2
MediaPortal Skin:
Windows Version: Vista Home Premium SP1 32-bit
CPU Type: AMD Athlon X2 4850e
HDD: Samsung Spinpoint F1 HD753LJ 750GB
Memory: Corsair TWIN2X2048-6400C4 2GB
Motherboard: Gigabyte GA-MA78GM-S2H
Video Card: ATI Radeon HD3200 (intergrated)
Video Card Driver:
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card: Terratec Cinergy C
1. TV Card Type: DVB-C
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: ffdshow rev 2063
MPEG2 Audio Codec: ffdshow rev 2063
h.264 Video Codec: Cyberlink PowerDVD
Satelite/CableTV Provider:
HTPC Case: Antec Fusion
Cooling: AMD Stock cooler
Power Supply: Antec 430W
Remote: Logitech Harmony 525
TV: Sony KDL40D3500
TV - HTPC Connection: HDMI

Last edited by frankwaan; 2008-08-13 at 11:05.
frankwaan is online now   Reply With Quote
Old 2008-08-13, 09:35   #2 (permalink)
Super Moderator
 
FlipGer's Avatar
 
Join Date: Apr 2004
Location: Leipzig, Germany
Age: 33
Posts: 2,282
Thanks: 33
Thanked 55 Times in 41 Posts

Country:

My System

Default

Hi,

the "FFDShow raw video filter" is only necessary if you use other decoders like MPV or nVIDIA. If you use the "FFDShow video decoder" for decoding the MPEG2 material the postprocessing (resize, colors, etc.) is already done there. As you recognized correctly, the work is done twice, if you use the "raw video filter" and the "video decoder".

HTH,
Flip.
FlipGer is online now   Reply With Quote
Old 2008-08-13, 09:44   #3 (permalink)
Portal Member
 
Join Date: Aug 2008
Location: Hengelo (O)
Posts: 53
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Default

Quote:
Originally Posted by FlipGer View Post
Hi,

the "FFDShow raw video filter" is only necessary if you use other decoders like MPV or nVIDIA. If you use the "FFDShow video decoder" for decoding the MPEG2 material the postprocessing (resize, colors, etc.) is already done there. As you recognized correctly, the work is done twice, if you use the "raw video filter" and the "video decoder".

HTH,
Flip.
Helli FlipGer,

Thanks for your answer. The problem is I don't use FFDShow for decoding, only for post processing. I selected the MPV decoder for decoding DVD.

The settings are:

- under DVD codecs -> I use the MPV decoder for decoding.
- under post processing, I add the raw video filter.

When I then play my movie and check the graph, I see:

SOURCE -> MPV -> FFDShow decoder -> FFDShow raw video filter -> EVR

When I add the FFDShow decoder under Post processing (and uncheck the raw video filter), it only shows the decoder in the graph (which goes directly into the directshow EVR. This however, seems unnecessary, as the MPEG2 content is already being decoded by the MPV decoder... Or is this a wrong conclusion?

So, it seems i can not enable the raw video filter without having the FFDShow video decoder being enabled, which shouldn't be the case (I think).

Last edited by frankwaan; 2008-08-13 at 09:58.
frankwaan is online now   Reply With Quote
Old 2008-08-13, 10:27   #4 (permalink)
Portal Designer
 
Inker's Avatar
 
Join Date: Dec 2004
Posts: 1,560
Thanks: 35
Thanked 137 Times in 58 Posts

My System

Default

In FFDShow Video decoder properties (not the FFDSHOW RAW filter), under codecs, do you have RAW (all the way down) set to all supported or something specific?

If so, I guess what happens is that FFDShow sees a raw video and connects to it, and then MP, because it is conifgured to do so, adds the FFDSHow raw codec on top of that.
__________________

There are only two industries that refer to their customers as "users".
- Edward Tufte
Inker is offline   Reply With Quote
Old 2008-08-13, 10:34   #5 (permalink)
Portal Member
 
Join Date: Aug 2008
Location: Hengelo (O)
Posts: 53
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Default

Quote:
Originally Posted by Inker View Post
In FFDShow Video decoder properties (not the FFDSHOW RAW filter), under codecs, do you have RAW (all the way down) set to all supported or something specific?

If so, I guess what happens is that FFDShow sees a raw video and connects to it, and then MP, because it is conifgured to do so, adds the FFDSHow raw codec on top of that.
Hi Inker, thanks for your reply.

Sound logical. Should I configure the FFDShow decoder, that it's raw filter is disabled and set the all supported option in the postprocessing section (MP) of the raw video filter only?

Frank

Last edited by frankwaan; 2008-08-13 at 10:38.
frankwaan is online now   Reply With Quote
Old 2008-08-13, 11:57   #6 (permalink)
Portal Designer
 
Inker's Avatar
 
Join Date: Dec 2004
Posts: 1,560
Thanks: 35
Thanked 137 Times in 58 Posts

My System

Default

Yes, either that or disable the postprocessing raw filter in mp configuration. But then FFDShow will continue to connect to any DS graph (because the result is always a "raw video"). This may be desirable to also postprocess video in other applications that do not allow you to configure an additional filter like MP does.
__________________

There are only two industries that refer to their customers as "users".
- Edward Tufte
Inker is offline   Reply With Quote
Old 2008-08-13, 12:12   #7 (permalink)
Portal Member
 
Join Date: Aug 2008
Location: Hengelo (O)
Posts: 53
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Default

Quote:
Originally Posted by Inker View Post
Yes, either that or disable the postprocessing raw filter in mp configuration. But then FFDShow will continue to connect to any DS graph (because the result is always a "raw video"). This may be desirable to also postprocess video in other applications that do not allow you to configure an additional filter like MP does.
Well, I'm on a deticated mediacenter machine, so that's no factor. I'll give it a go by disabling the raw filter in de 'normal' FFDShow decoder configuration and check for the graphs. Your second option (disable postprocessing raw filter) isn't desirable, because I'm currently decoding with the MPV decoder (which I like because of it's low CPU usage), and therefor needs post processing to upscale / sharpen / blur my MPEG2 content.

As I said I give it a go and get back later.

Thanks so far!

Last edited by frankwaan; 2008-08-13 at 12:13. Reason: Automerged Doublepost
frankwaan is online now   Reply With Quote
Old 2008-08-13, 12:32   #8 (permalink)
Portal Designer
 
Inker's Avatar
 
Join Date: Dec 2004
Posts: 1,560
Thanks: 35
Thanked 137 Times in 58 Posts

My System

Default

I think you slightly misunderstood. Within MP both options will have the same effect, either the "normal" ffdshow filter provides the postprocessing (if you disable the raw filter in MP config), or the raw filter provides the postprocessing (if you disable the "raw codec" within ffdshow video decoder properties).
__________________

There are only two industries that refer to their customers as "users".
- Edward Tufte
Inker is offline   Reply With Quote
Old 2008-08-13, 13:16   #9 (permalink)
Portal Member
 
Join Date: Aug 2008
Location: Hengelo (O)
Posts: 53
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Default

Quote:
Originally Posted by Inker View Post
I think you slightly misunderstood. Within MP both options will have the same effect, either the "normal" ffdshow filter provides the postprocessing (if you disable the raw filter in MP config), or the raw filter provides the postprocessing (if you disable the "raw codec" within ffdshow video decoder properties).
Ok I understand. There should be no difference between those two indeed, other than that there will be insered a FFDShow video decoder after de MPV (MPEG2) decoder, just to pass it internally to the RAW filter. Therefor, I will try the RAW filter in post processing method first, just to eleminate extra filters in de DS graph.

Am I seeing things right now?
frankwaan is online now   Reply With Quote
Old 2008-08-13, 14:21   #10 (permalink)
Portal Designer
 
Inker's Avatar
 
Join Date: Dec 2004
Posts: 1,560
Thanks: 35
Thanked 137 Times in 58 Posts

My System

Default

Uhmm, if I understand you right, then you understand it wrong :-)

Consider the graph (that is the chain of filters) as it is now

Mpeg2 Video Input -> MPV (decodes MPG2 into Raw Video, most likey yuv2)
-> FFDShow Video Decoder (takes raw video and postprocesses it, like upscaling etc. if configured to do so, and outputs raw video again) This one connects by DS looks for a suitable filter to connect Raw video to, and ffdshow is conifigured to do that, it has nothing to do with MP per-se.
-> FFDshow Raw Video filter is inserted by MP here (and not DS itself), it also takes raw video, and prostprocesses it again the way it is configured
-> Renderer (EVR/VMR whatever)

If I understand you right, what you say is that the graph will stay the same, only the the FFDShow Video filter is a dummy, that is it does no processing and simply hands it off the the Raw Video Filter.

Instead what I mean is that you completely get rid of either the "FFDShow Video Decoder" or the "FFDshow Raw Video filter". Remember, both can perform post processing, so you only need one or the other.

You can get rid of "FFDShow Video Decoder" by disabling its support for RAW video under codecs.
You can get rid of "FFDshow Raw Video filter" by disabling it in MP configuration post processing section.

But anyways, my knowledge is entirely from experience here and has no real theoretical background, so let's first see if my theory is right in the first place before going on :-) I'm sure a DS dev could tell you exactly how and why pins connect.
__________________

There are only two industries that refer to their customers as "users".
- Edward Tufte
Inker is offline   Reply With Quote
This User Say Thank You:
Reply

Bookmarks

Tags
ffdshow, filter, obsolete, raw, video

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FFDShow Filter Fußball Airshark Software/Codecs Mediaportal 1 2008-06-03 15:48
Ffdshow as post processing filter red5goahead Support 0 2008-04-15 01:00
ffdshow raw filter does not work in TVE3 network client? regeszter Get Support 9 2007-03-23 05:41
Coreavc + ffdshow raw do not work in MP regeszter General Support 2 2007-02-18 17:41
i knowest something about FFDShow filter Anonymous Improvement Suggestions 2 2004-12-09 16:11


All times are GMT +1. The time now is 09:07.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden