CBers 6940 Posted October 15, 2013 Posted October 15, 2013 (edited) BEFORE COMMENCING WITH THIS GUIDE, IT IS STRONGLY RECOMMENDED TO CREATE A SYSTEM RESTORE POINT. It is also advised to remove all codec packs and 3rd party decoders prior to continuing. WE ARE NOT RESPONSIBLE IF YOUR PC STOPS FUNCTIONING AS NORMAL OK, over with the formalities, now lets get down to business You may be asking why go down this route rather than installing Shark007 codec pack or CCCP etc. Well, “These codec packs” take little bits of standalone decoders and chop them into their own application making them very difficult to know what you have installed and can create conflicts if set up incorrectly. So let me tell you the few reasons why this is a better method(In my Opinion) of setting up a HTPC and Mediabrowser. You can manage your decoders and splitters manually and update them yourself as updates become available without breaking your setup or having to go thru setting it up again. With Shark007 and CCCP you have to wait for the authors to release updates to continue using their packs if new features are released. FFDShow caters for “all” codecs required by any modern HTPC setup (video/audio/subtitles) and also offers some great post processing filters in order to improve on image quality and sound quality. By installing only one decoder (FFDShow) you eliminate decoder conflicts which makes finding the root cause of a problem much easier to find. (Shark007 uses many different decoders, haali is not updated enough and doesn’t support subtitles in Win7) FFDShow using the Matroskasplitter allows for flawless playback of HD audio bitstreaming in MKV’s (providing your hardware allows this), which as we all know play natively in MediaBrowser (unlike .ts, .m2ts files ripped from BD discs) What is FFDShow??? FFDShow is an excellent Decoder for Video formats, Audio formats and now incorporates DXVA 1.0 & 2.0 (Hardware Acceleration) decoding for h264 & VC-1 formats and copes with subtitles in WMP & MCE. 3 Items are required to be installed in order to get almost all formats working on your HTPC flawlessly. Also the requirement to install the “Preferred FilterTweaker Tool”. This allows you to set up your decoder preferences to override Windows 7 Media Foundation. What we aim to do in this guide is to help set-up what you might need to get your codecs working right, add post processing filters, resizing your movies to fill your screen. Also how to turn any 2.0 mp3 audio stream into full Dolby Digital 5.1 (AC3) output **INFO – If you wish to update your MP4Splitter, MatroskaSplitter or FFDShow install here are the sources to do so. These builds have not been tested as yet so please use at your own descretion. The Guide does have links for builds that have been tested at the relevant points.FFDShow SVN Builds x86/x64MPC-HC Standalone Filters x86MPC-HC Standalone Filters x64Download and InstallationFirstly you will need to download and register a couple of filters. These are both from MPC-HC Standalone filter Pack. The first being MP4Splitter (this allows native playing of Apple’s movie formats natively) and the second is the MatroskaSplitter (this is a much better MKV splitter than Haali and is constantly being improved on to work with FFDShow).You will need to disable UAC in order to register the filtersThe following 2 files allow for both of these splitters to be registered using a batch file. Ensure you select the correct version for your OS, extract and run the bat file.For 32bit Only Systems You need this– 32Bit Filter Registration PackFor 64bit systems you will need to register both of these as you need to install 32bit version to use with WMC– 64Bit Filter Registration Pack– 32bit Filter Registration for 64bit OSWhen you run the bat file you should see these windows pop up, click ok once successful and the reg will close on its ownYou will need to download the latest SVN build of FFDShow. If you are on an x86 (32bit) setup then select the “sse icl11” build. On both x86 & x64 bit you will then go to a warning screen saying that these are not official releases would you liketo continue. Select the “I agree” Radio Button and click “Continue”. Once downloaded, Install FFDShow.Note: it is NOT important to ensure that you select the correct options when prompted by the installer as we willchange them later in the various configurators FFDShow offers from the Start menu. So just do the usual and keep clicking next until the program has installed.On the Last Screen of Installation, you will need to select the following configurations, as in screen shot below. Configuration Lets select the Video Decoder Config first. I’ve highlighted and annotated the images with notes on the left. Video Codec Filters Please note that if you are having issues with DXVA decoding then you can disable the highlighted h264/AVC decoder toallow for DXVA to take over but you will lose FFDShow’s Video decoder for AVC streams (which means no subtitles forthose AVC streams)Resizing your moviesPost Processing FilterSubtitles – You can have subtitles selected in both DXVA and Video Decoder Configs. Sharpening your movies – Experimental for userDXVA Decoder Configuration There really isn’t a lot to this new feature at the moment however these areas will be of interest. However if using a lowPower CPU but with decent graphic capabilities such a small form factor hardware, like the Asus Ion or Acer Aspirethen DXVA will off load video processing to your GPU. Setting the merit of the DXVA DecoderDXVA decoder selection – note post processing is required for subtitles to be enabled.Subtitles using DXVA Decoder – If you have either h264 and/or VC-1 ticked then the subtitles for which everycodec is ticked will use the DXVA Decoder. You can have subtitles ticked for both DXVA and Video Decoder Configs.FFDShow Audio Config Now this is probably one of the most easiest things to set up, but can also cause a lot of issues if not set up correctly. Sojust take things one step at a time and test all types of media after you make a change before moving onto a new tweak orchanging a codec. This way you will know what you’ve just changed and be able to revert back.Audio Codecs Multiple Instances of FFDShow’s Audio DecoderOutputs – I would be careful on this section as you can break audio streams depending on what hardware you are using.The following config is for my setup and HD Audio Bitstreaming.Mixer – If you are receiving dts/ac3 streams but are connected to TV then set your speaker setup to 2.0 Stereo, this willensure that everything is downmixed to 2 Ch stereo and should allow you to play all types of audio streams including HDaudio streams. However you must ensure that none of the SPDIF Passthru formats are ticked in the OUTPUTS page in theprevious screen shot.DirectShow FilterTweaker Tool This tool allows you to override/set what decoder YOU want to use for each video/audio format. Download the Tool – Install and run.Before tweaking these settings….. ENSURE YOU CREATE A SYSTEM RESTORE POINTPage 1 of the Tweaker ToolPage 2 of the Tweaker ToolFinally, Page 3 of the Tweaker ToolNote: FFDSHOW will NOT work with Media Browser Theater as it uses LAV filters. See here for setting up LAV filters. Edited December 30, 2013 by CBers Updated links 7
Cheesegeezer 3095 Posted June 23, 2014 Posted June 23, 2014 So I found out something quite interesting this evening regarding FFDShow and the HE-AAC codec used mainly in Freeview HD streams and also DAB radio stations. I tried to play a TV Show, and there was no sound. I did the usual reboot and still no sound. So I opened up Graph Studio and found that there was no audio filter connected to the output of the video file and therefore nothing was being passed to the Default DirectSound Device (Audio Renderer). I checked out my other MKV's and found the connection was fine with them. This is what my graph looked like No very good, so it then led me to use another tool called MediaInfo GUI - This spells out what streams are in the video container.You can see from the screenshot below that it shows exactly what audio codec is being used. So I new it was an AAC filter and went into my FFDShow x64 Audio Decoder utility and looked to see if there were any additional filters i could use to decode the stream from the dropdown menu and EURIKA there was. So I changed the filter from the standard "libavcodec" to "libfaad2". Which is highlight below, clicked apply..... I then rechecked by graph by dragging and dropping in the same file and VOILA, I got the file playing. I also checked pretty much most of my other MP4 containers and checked a few random files to ensure that all were still connecting in the graph, and yup they were. So this is just another quick tutorial really to show you the power of GraphStudio and fixing codec issues. Thanks for reading 4
Recommended Posts