Jump to content

Recommended Posts

Posted (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/x64
MPC-HC Standalone Filters x86
MPC-HC Standalone Filters x64

Download and Installation

Firstly 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 filters

The 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 Pack

For 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 OS

When you run the bat file you should see these windows pop up, click ok once successful and the reg will close on its own

525d14e73593b_regsuccess.jpg

You 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 like
to 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 will
change 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.

525d15731ee44_ffdshowlastinstall.jpg

 

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 to
allow for DXVA to take over but you will lose FFDShow’s Video decoder for AVC streams (which means no subtitles for
those AVC streams)

525d1597b87f8_VideoCodecs.jpg

Resizing your movies

525d15b6815ab_Resize.jpg


Post Processing Filter

525d15cebc145_PostProcessing.jpg


Subtitles – You can have subtitles selected in both DXVA and Video Decoder Configs.
 

525d1603a7f88_subtitle1.jpg
525d160d8159c_subtitle2.jpg

Sharpening your movies – Experimental for user

525d16361f74f_sharpen.jpg


DXVA 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 low
Power CPU but with decent graphic capabilities such a small form factor hardware, like the Asus Ion or Acer Aspire
then DXVA will off load video processing to your GPU.

Setting the merit of the DXVA Decoder

525d165813db4_dxvamerit.jpg

DXVA decoder selection – note post processing is required for subtitles to be enabled.

525d1675986ca_dxvaacc.jpg

Subtitles using DXVA Decoder – If you have either h264 and/or VC-1 ticked then the subtitles for which every
codec is ticked will use the DXVA Decoder. You can have subtitles ticked for both DXVA and Video Decoder Configs.

525d16b210a9e_dxvasubs.jpg

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. So
just take things one step at a time and test all types of media after you make a change before moving onto a new tweak or
changing a codec. This way you will know what you’ve just changed and be able to revert back.

Audio Codecs

525d16d724d9a_audiocodecs.jpg

525d16e22fea3_PCMaudio.jpg


Multiple Instances of FFDShow’s Audio Decoder

525d17164036a_audioinstances.jpg


Outputs – 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.

525d174685dde_outputs.jpg

Mixer – If you are receiving dts/ac3 streams but are connected to TV then set your speaker setup to 2.0 Stereo, this will
ensure that everything is downmixed to 2 Ch stereo and should allow you to play all types of audio streams including HD
audio streams. However you must ensure that none of the SPDIF Passthru formats are ticked in the OUTPUTS page in the
previous screen shot.

525d178b21b4d_mixer.jpg

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 POINT

Page 1 of the Tweaker Tool

525d17e677eb2_filterspage.jpg

525d17f8e992b_filterspage1bottom.jpg


Page 2 of the Tweaker Tool

525d181614ff5_filterspage2.jpg


Finally, Page 3 of the Tweaker Tool

525d18320ad87_filterspage3.jpg

Note: FFDSHOW will NOT work with Media Browser Theater as it uses LAV filters. See here for setting up LAV filters.

 

Edited by CBers
Updated links
  • Like 7
  • 8 months later...
Cheesegeezer
Posted

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

 

BLmg5rE.png

 

 

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.

 

oMuzJSn.png

 

 

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.....

 

vetjus0.png

 

 

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.

 

Ev7kRrc.png

 

 

So this is just another quick tutorial really to show you the power of GraphStudio and fixing codec issues.

 

Thanks for reading :D

 

 

 

 

 

  • Like 4
Guest
This topic is now closed to further replies.
×
×
  • Create New...