RitzDVB Forum Forum Index RitzDVB Forum
please read the Boardrules before posting
 
board-Rulesboard-Rules 
  HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist   RegisterRegister  ProfileProfile  Log in to check your private messagesLog in to check your private messages  Log inLog in  DownloadDownload 

Building Graphs in RitzDVB (sample ffdshow)

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    RitzDVB Forum Forum Index -> FAQ
View previous topic :: View next topic  
Author Message
idboarder



Joined: 19 Sep 2005
Posts: 33

PostPosted: Sun 30 Oct, 2005 04:49    Post subject: Building Graphs in RitzDVB (sample ffdshow) Reply with quote

Put this together for a friend and thought I would post it here as well.
In this sample we'll build a graph with the ffdshow codec. But of course the same template you can use for other codecs too.

Im am not sure why people like to use DScaler 5 as the mpeg decoder but feel free to use it if you like. Any other codec can be used for the decoding and ffdshow for raw filtering if you want. I tried a ton of setups and this is what looks best for me.

What you will need

ffdshow: the official ffdshow projectsite on sourforce is outdated. This is where I pointed here the "ffdshow-tryouts" project which continue the work of ffdshow and offers currents builts for download.
DScaler : This you'll only need if you want to play with the special dscaler deinterlace options
Graphedit : a proper version is included in the RitzDVB Setup.

Install ffdshow and when it asks point it to DScaler. The default selections are fine during install since you can change all of that later.
(note: during setup, if you checked the compatibility box for running ffdshow only with specified applications, do not forget to add RitzDVB.exe to that lists)

Install graphedit if you dont have it.

just in case you have not allready done register the dvbcore.dll of RitzDVB (you can do with regsvr32 c:\ritzdvb\dvbcore.dll)

Setting it up. Open Graphedit and.............



The majority of the filters we need are DirectShow.



The needed DirectShow filters and the where to find Audio.
(note: in newer ffdshow versions the ffdshow filter is simply named as "ffdshow video decoder")



Everything we need.



Right Click on ffdshow Mpeg-4 to bring up ffdshow filter properties. Starting at Codecs, ensure we have enabled decoding mpeg2 streams.



At the bottom make sure all raw formats are supported. Some of the renders and mixers (if you use them) require certain colorspaces when they start.



We need to make sure ffdshow knows where DScaler is at or we will be limited to the default deinterlacers. This is a must do if you already had ffdshow installed and just added DScaler.



Getting rid of the white noise line on upper area. Yes it will shrink the picture by 8 lines. 480-> 472 is so much nicer than that noise.



If you like add mocomp2 for deinterlacing. The reason we installed DScaler. (you can leave out this step if you dont use dscaler)



If you plan to use overlay and the generic render you may need this. Setup that way I have to select "use overlay mixer" or the image gets squeezed and I get black bars on the sides.



Connect the pins.



Save to Ritz graph folder as XML



Should be done. Some things to note. Mocomp2 looks great but can really eat up the cpu. When I first turn on that computer I disable it while the EPG (dvbepg tuned to 200) updates or it drops fames badly.

Hope this helps someone.


Last edited by idboarder on Sun 30 Oct, 2005 16:14; edited 1 time in total
Back to top
View user's profile Send private message
gymmie



Joined: 07 Sep 2005
Posts: 53

PostPosted: Sun 30 Oct, 2005 07:09    Post subject: Reply with quote

excellent post.tried it won't work on my pc tho eats cpu alive.but always wondered how to setup FFDShow and Dscaler now I know.

Thanks
Back to top
View user's profile Send private message
idboarder



Joined: 19 Sep 2005
Posts: 33

PostPosted: Sun 30 Oct, 2005 16:46    Post subject: Reply with quote

Since you are trying to get rid of the white line noise as well you may also want to try it setup like this. I have this filter installed and have to use it for some sports broadcasts. (Lots of action and high bit rate type stuff)



If you want to set it up with DScaler mpeg2 decoder you could also do this. Set it up like this

Back to top
View user's profile Send private message
gymmie



Joined: 07 Sep 2005
Posts: 53

PostPosted: Sun 30 Oct, 2005 18:04    Post subject: Reply with quote

I can give it a try again.but I heard that you have to have a pretty fast pc to use this.I run a P4 1.5g cpu 768 ram .when you do the setup and it looks for the card what should I choose I run a Twinhan 1020A.alo have ATI 9200 Vid card.I'm just basically playing around trying new stuff.
Back to top
View user's profile Send private message
idboarder



Joined: 19 Sep 2005
Posts: 33

PostPosted: Sun 30 Oct, 2005 18:15    Post subject: Reply with quote

I am not sure I follow what you are asking. If you are talking about the setup of DScaler 4.1.... you dont even need to run that program. It is only needed because it has nice deinterlacing filters. The filters are .dll files that ffdshow can use without ever running DScaler 4.

DScaler 5 is an mpeg2 decoder that can be used as an input to DScaler 4 or ffdshow or overlay or VMR9 or...........

Not all programming will need or even look right with mocomp2 running to deinterlace. Just turn it off when you dont want/need it. That should speed it up significantly and ffdshow output is IMHO still better than any of the other codecs
Back to top
View user's profile Send private message
gymmie



Joined: 07 Sep 2005
Posts: 53

PostPosted: Sun 30 Oct, 2005 18:35    Post subject: Reply with quote

OH ok I thought you HAD to setup Dscaler.now I understand.I will try the Dscaler 5.I know I can't use the Mocomp2 it shoots cpu straight to 100%.I just want to get rid of the noise line and some micro freezing .will take a bit to download 5 since on dial-up.but will play with it more.to see what I can get.I know I tried it with just FFDSHOW and some reason kept crashing Ritz.guess because I didn't know the basic setup.Now I understand.

Thanks
Back to top
View user's profile Send private message
gymmie



Joined: 07 Sep 2005
Posts: 53

PostPosted: Sun 30 Oct, 2005 19:39    Post subject: Reply with quote

well the file wasn't as big as I thought.I tried the last photo the way you have the filters hooked up but Graphedit keeps crashing on me as soon as I try to connect the pins from Dscaler to the FFDshow raw filter.still going to play with it see what I can come up with.

thanks
Back to top
View user's profile Send private message
idboarder



Joined: 19 Sep 2005
Posts: 33

PostPosted: Sun 30 Oct, 2005 20:40    Post subject: Reply with quote

Before you try and connect the pins you need to open the ffdshow raw video filter. Under codecs you will need to set it to All supported. It says 8 bit something or another as the default
Back to top
View user's profile Send private message
gymmie



Joined: 07 Sep 2005
Posts: 53

PostPosted: Sun 30 Oct, 2005 20:54    Post subject: Reply with quote

ok will do that.wasn't doing that so that could be one of my problems.will try what you suggested
Back to top
View user's profile Send private message
teenie
Moderator
Moderator


Joined: 04 Dec 2004
Posts: 119

PostPosted: Mon 31 Oct, 2005 15:08    Post subject: Reply with quote

Excellent post! Thanks for sharing your knowledge!
_________________
ASUS P5VDC-MX,skt 775 Dual Core 940, WinXp SP2,OCZ premier 1 GB RAM, ATI x1300, NOVA-S,Dvico Fusion ATSC LITE,WinXP SP2, Silverstone LC13 case, Enermax 495 PSU,Harmony 880
Back to top
View user's profile Send private message
Fred Derf



Joined: 10 Oct 2005
Posts: 1

PostPosted: Mon 31 Oct, 2005 16:19    Post subject: Reply with quote

I tried idboarder's instructions and got a lag (delay) between the audio and video. I'm not sure what I did wrong. I do know that when I connected the input of ffdshow audio, graphedit would hang every time.

Fred
Back to top
View user's profile Send private message
idboarder



Joined: 19 Sep 2005
Posts: 33

PostPosted: Tue 01 Nov, 2005 03:17    Post subject: Reply with quote

Fred: If you downloaded DScaler 5 it has a decent/free audio decoder with it. It supports AC3 with spdif out etc... You may want to give that a try
Back to top
View user's profile Send private message
herby
Admin
Admin


Joined: 25 Nov 2004
Posts: 1263

PostPosted: Thu 15 Mar, 2007 02:29    Post subject: Reply with quote

I re-found this excellent topic in the archive.
I think its realy worth to move it into our FAQ Section Very Happy

THX again idboarder
_________________
current RitzDVB version 0.9.1.6
My config: Core2Duo 6700, 2GB DDR667, Intel DP965LT, Radeon 4850, XP-SP2, DVB: Nexus-2.1 + Pinnacle PCTVSAT, SAT:ASTRA
>>pc-config in your signature will help other to answer your questions<<
Please respect our board-Rules
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    RitzDVB Forum Forum Index -> FAQ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group