MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » Support » Codecs, External Players


View Poll Results: Should i integrate FFDshow in to SAF?
Yes 392 85.03%
No 69 14.97%
Voters: 461. You may not vote on this poll

Reply
 
LinkBack (9) Thread Tools Display Modes
Old 2008-09-02, 20:39   9 links from elsewhere to this Post. Click to view. #1 (permalink)
Portal Translator
 
hoborg's Avatar
 
Join Date: Jun 2008
Location: Nový Jičín
Age: 32
Posts: 1,882
Thanks: 4
Thanked 408 Times in 161 Posts

Country:

My System

Send a message via ICQ to hoborg
Thumbs up SAF v4.00beta (StandAlone Filters) - DXVA ready (MPEG2, H.264 and VC-1).

Hello.
I created small package with Audio/Video filters and Subtitles filter directly for Media Portal - (SAF).
It is ''all in one'' solution, so no need to install PowerDVD or any other kind of codecspacks (like CCCP), ffdshow, AC3 filter, Nero, etc...
Main purpose of SAF is to create easist way how to make as much as possible multimeda to work with MediaPortal.
By using SAF, you will be able to play almost all standart videofiles+DVD's+LiveTV in MediaPortal.
SAF is based on great free MPC-HC filters, FFDShow and DirectVobSub filter.

Download: older versions/SAF betas - (changelog) - Using latest BETA recomended!



On the begin, lets explain some mystery words:
MP: It is MediaPortal
HTPC: Home theater PC
GPU: Graphics Card
iGPU: intergrated Graphics Card
DXVA - Using DXVA is most efficiet way how to decode video. If video are decoded by DXVA, your GPU do all the work instead of CPU.
PAL/NTSC

What SAF do:
-SAF is HDTV ready (*unlocked* only)
-HD (h.264,VC-1) video will be using DXVA (h.264 and VC-1) only if your hardware are DXVA compatible and if your video files are made correctly.
-HD (h.264,VC-1) video + subtitles will olny use DXVA in MP 1.1 (or newer)
-MPEG2/h.264 LiveTV (and DVD's) will be using DXVA only when you use *unlocked* SAF (PM me how to unlock SAF)
-SAF is designed and configured only for MediaPortal/GB-PVR, you can see some side efect when using with different software (like WMP,...)
-SAF 4.xx have integrated FFDshow. Thanks to this, you can enable FFDshow postprocessing to increase quality of non DXVA video. Here is direct link to thread how to do it.
-Passthrough

SAF Installation procedure:
-AMD users - consider to disable Cool & quiet function in BIOS - some users reported problems with it (i had it ON and didint have any problems at all - it is up to you to try and see)
-you need to be loged as an administrator !
-uninstall players&codecs packs like DivX player, Nero, CCCP, any kind of codescpacks, players, etc...
-install MediaPortal (1.1 or newer recomended)
-install (Security Update for Windows XP (KB971633)) - this will update quartz.dll (VMR9) to version 6.5.2600.5822 XP users olny
-install QT alternative 2.92 (not 3.xx!)if you want to play old MOV files (from cameras for example) - no need for modern MOV with h.264 and modern audio (like Apple trailers),they are fully supported already.
-install SAF
-some users recomeding restart afret SAF install
-configure MP (Movie & DVD section) acording to screenshots below
-you should install some on-the-fly DVD decrypter (look on google) for playback of protected DVD's, skip comercials, silent your DVD drive, etc...

If you reinstall MediaPortal or install new SVN, reinstall SAF too!

After installation configure your mediaportal video decoding this way (SAF 3.00+):

Video:

NOTE: Becouse MPC video decoder causing crash in MP graph cleaning procedure, using Cyberlink H.264 decoder (or MS decoder on Win7) is recomended until the problem will be fixed - already fixed in latest MP SVN

Do not add any video filter in to postprocessing!!!
SAF v4.00beta (StandAlone Filters) - DXVA ready (MPEG2, H.264 and VC-1).-video_post.png

DVD:

Note:
- some DVD's are not working correctly with Microsoft DVD Navigator (for example DVD's authored by Womble software)
- if you are on WinXP, you can use CyberLink Video/SP decoder (PDVD9) here and have DXVA + DVD navigation - *unlocked* SAF only, on Vista/Win7 use FFDShouw Video Decoder

TV:

Note:
- Cyberlink decoders are available only if you use *unlocked* SAF

Here is deiterlacing comparison: (for MPEG2 live TV)

NOTE: your GPU must be able to do Vector Adaptive Deinterlacing to get best Live TV quality (this is sometime problem on Vista/Win7...)
Here you can read a whole story about deinterlacing

That is all - enjoy you Media Portal :)

Theoreticaly, all files that MPC-HC player can play, SAF can play too. So if you face problems to play your video file under MP, try to play it under MPC-HC player.

Subtitles support:
-all that MP 1.1 (or newer) MPC-HC subtitles engine can handle.

!!! important !!!

To use DXVA on ATI: (UPDATE 07.04.09)

Use Catalyst 9.4 or newer (DXVA working for H.264, VC-1 and MPEG2)

Tested on:
- ATI HD 3850
- ATI HD 4550

If you have integratet GPU (like ATI HD3200), be sure you update your MotherBoard BIOS to latest version and assign at last 256MB shared memory to GPU in BIOS)

To add support for RealMedia into MP:
Install Real Media Alternative for Real Media files.

To add support for QuickTime (MOV) format in to MP:
SAF already have support for modern MOV with h.264 HD video. But if you want to play MOV files from cameras, etc, you need to do folowing:
-install QuickTime Source DirectShow Filter -no need if SAF is *unlocked*
-install QuickTime alternative (can be "lite" version) Framework
-in MP configurations, Videos -> Video extensions add ".movsd"
-install at last SAF 4.00 beta04
-try to play your MOV file in MP. If you get codecs error or you do not hear audio, rename your file extension from *.MOV to *.MOVSD and hope... :)
TIP: To rename lot of files from MOV to MOVSD, move them to one folder (C:\video) run CMD, go in to c:\video folder and type
Code:
rename *.mov *.movsd
How can i know what filters are in use in MP?
START - SAF - TOOLS - graphstudio, here File - Connect to remote Graph

If you install and setup SAF and you will have some more filters when playing standart video, there is something
wrong with your system...

Problems:
Before you ask - there are very powerfull button "search this thread" - most of questions was already answered more then twice here!
You can check SAF FAQ for some answers.
Do not ask me about DTS, nVIDIA, HDTV - i will not have answer for you, becouse i do not have such hardware/tv signal!
If you have problem with video/sound, try to play your file with MPC-HC player. If you will have same problem in MPC-HC player, you possibly hit MPC-HC bug and you should report it directly to MPC-HC team here.

I cannot play some *.ts files/My HDTV don't work!
***FIXED IN SAF 3.49B17

Well, there is a problem between MP internal TS splitter and MPC-HC decoder, look here:
http://forum.team-mediaportal.com/1-...08/#post305001
Solution? Rename your *.ts files to MKV or MP4 - this will disable internal ts splitter, and Haali doo the
work.
Should be fixed in feartuere MP release - more info here: 0002069: TsReader is not working properly with some H264 codecs - MediaPortal Bugtracker


Haali is not closed correctly/MP fails to play second DXVA video on Win7
***FIXED IN MP SVN 23908

By some reason, haali is not closed correctly when you play&stop DXVA compatible video + MPC-HC decoder. Win7 ewen give you error message when you try to play second DXVA video. Reason for that is unknown. Only i can say is, that this problem only happend in MP (not in GB-PVR/MPC-HC player). More info here
To reproduce:
-install SAF
-start MP in window mode
-play few times DXVA (h.264) compatible video
-you will notice haali icon(s) remain in try until you close MP
Solution? Here!


Problems with AC3/DTS when using passtrought
-add FFDShow Audio decoder to MP postprocessing

Note:
- you must enable Passthrough in SAF install process to activate this feature
- this will not broke DXVA

I only got black screen when playing HD video!
Mostly caused by bad drivers / try different drivers for your GPU.
Try to disable DXVA - start menu - SAF - DXVA Off.

My computer freeze on wakeup!
I had similar problem. It was caused by TV card driver.
There is a solution - you can use MCE standby tool + my addon.

I have HD video, but DXVA is not working
Lot of HD videos shared on web are not corectly encoded (5.1 profile with too many ref. frames are used) = no ATI DXVA compatible.
You can simply reencode them using free Xvid4PSP software.
Just run Xvid4PSP, drag&drop your video file and config Xvid4PSP acording this screenshot:

But be aware - this process can take whole night (depending of your CPU power)!

Enjoy!
HOBORG
PS: sorry for my english

My recommendations/tips:
Use Windows XP SP3 instead of VISTA/Win7 becouse:
- XP are faster then Vista
- you can modify XP and hide all "windows" messages, boot screen, etc..., so nobody will even known you HTPC is runing on windows :)
- DXVA working great under XP
- DXVA + DVD navigation (highlighted buttons) works only under XP (does not work on Vista or Win7 - at last for me) - by other words XP is best OS for DVD playback. (EVR problem related i think)
- for best MPEG-2 video quality on ATI, enable "Edge enhancement" + "de-noise" and move sliders to "1"

If you have your video files in avi format, you should consider to put them in to MKV container (this doesn't change quality, just container).
MKV format have many positives:
  1. Perfect support in MP/SAF
  2. You can put xy audio/subtitiles tracks inside one MKV file
  3. You can tag audio/subtitles with language tag, so MP automaticly play tracks in your language
  4. Faster file opening/data retrieving (much faster in TV Series)
  5. MKV's are slightly smaller than original AVI, so you will spare some hardisk space
  6. MKV is standart for many OS, so your video files will be working outiside Windows OS
  7. MKV support almost all standart video formats, not only HD video
  8. You can easily split MKV's and send examples to your friends
You can do all in free MKVmerge software - just drag&drop your file, add subtitles/audio tracks, tag with language tag and hit ''Start muxing'' button.

Make sure you enabled vsync in your Graphic card configuration to remove tearing

Under Vista, you need to enable AERO + vSync to fix tearing.

MPEG2 decoder comparison:


*Cyberlink "CLVsd.ax"
+ it is free (can be extracted from PDVD)
+ can use DXVA
+ no problems with LiveTV & DVD (WinXP + WMR9)
- DVD navigation + DXVA doesnot work under Vista and Win7
- not possible to adjust gama in DXVA mode

*FFDShow MPEG-2 video decoder (libavcodec)
+ it is free
+ yadif deinterlacing
+ good for DVD and LiveTV
- sometime crash when seeking in video (causing GB-PVR "hang")
- blacklisted in MP for LiveTV

*MPC-HC (Gabest) "Mpeg2DecFilter.ax"
+ it is free
- cannot use DXVA or output in VN12 = no HW deinterlacing = bad picture quiality for LiveTV
- causing coruptions on end of DVD tracks

*DScaler
+ it is free
+ can output in NV12 = hardware deinterlacing
- when used, my HTPC was restarted randomly without any warning

*Elecard MPEG-2 version 4
+ can use DXVA
+ possible to adjust gama in DXVA mode
- it is not free
- broken DVD navigation
- blocking when jumping thrue video (seek)

Hardware tip: (the hardware i will use in new HTPC - if there will be any)
*MotherBoard: Gigabyte GA-MA785GMT-UD2H - AMD 785G (ATI HD4200)
*CPU: AMD Athlon II X2 240e
*Storage: WD AV-GP (2TB) got it already :)

Last edited by hoborg; 2010-01-25 at 16:54..
hoborg is online now   Reply With Quote
217 Users Thank You:
1gkar, 1stdead, aal, Aanunina, AIstudio, akajester, akiaki, Alfrescoid, alpinestars, Anjin, ankaoha, armandp, armyofme, astone, BaGRoS, Ben08, Benoe, Biffa001, biship, BKCH, BrownGhost, bt86bt, bushbrother, catavolt, cecolon, cfforce, charli181, cheezey, ChiefGlider, claus14, Cojo, cool_myll, CrazyChris, Cressari, czech, DaBaSe, DaiC1, Darre, datfreak, DAx_dk, dbgurudk, Der_Eismann, Dettenrocks, dingo, disaster123, DiscoDvergen, Djang, djurik, dlarge500, Domini0n, doornjoostje, DoXer, dukus, Dullie, easywatcher, edjes, edterbak, el-Dia, emax81, eXces, eXplicit82, Ezaum, F3NG3R, FantaXP7, fatt_fill, feriso, fillerguy, FillR, flintstone99, FlipGer, fmulders, FreeFrag, Funky, Furetto, ganger_rolf, gonzo21, grrfield, gru, guytpetj, Guzzi, happy, heavydz, heikoh, Henkie Flits, herluf, high, htpcfreak, huha, hulkhaugen, ich4711, Imokles, j0kk3, jammy75, JayDox, JessiJoerg, jimwin, JLoser, JoeSmith, jonywee, joystick, jumpa, Justchill, kaipron, kalinium1, kalki, ketjap, kkendall, Kris404, kurtko, ltfearme, Luke Roberts, luksmann, Luna96, m0use, mackey, madmat17, manray, Markpainter, maro, maXe72, mediortal, merci1983, MetalKiller, mishmash, mkoonstra, mmesh, modtang, morpheus_xx, MrCrispy, mrkk, mryom, mr_poopyhead, mtjoernelund, neo2001, Neoromancer, nestochi, Nubox, O5Tw1nD, olavm, orph, P.Niem, p0wah, Palm_Maniac, Paranoid Delusion, PetrMan!, Platium, polarie, Psycho Reptile, PsyCrow, punkeren, quicksilver1, RADPi, razorbakmax, rekenaar, robhawk, ronald2oo2, ronzelver, RoXoR, S.O.P, Sabbe, sand, satmax, scma, sgrimm, sheish, Shinto61, shotek, sintei, SitheSly, Sk3wby, skare, skeal, Slurm, Snader, sosh, SoundCave, Spannari, Spitti, Spragleknas, SpudR, stephanski, strontium, styrodon, surfermc, tdw197, thamule, thanatos, TheClaus, theopulus, Theydon Bois, the_ult, Ticiano, Tobbe666, tom1502, tomcat123, tommeltott, Topaz!, Truri, usualsuspect, Vimes, Vince0815, WebKnight, WeeGraeme, weisserTiger, winniwinter, winterescape, woddog, wojciech_ste, Wombat-UK, wonkyd, wouter1971, w_schoerg, xavier, xuxo, Zapp, zeebee, Zinu
Old 2008-09-09, 22:26   #2 (permalink)
Portal Member
 
Join Date: Feb 2008
Location: Aarhus
Posts: 379
Thanks: 45
Thanked 19 Times in 19 Posts

Country:

My System

Default

trying it tomorrow.. Are you sure subtitles work with dxva? Doesn't i mpch only with new costum EVE
1stdead is offline   Reply With Quote
Old 2008-09-10, 07:36   #3 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 31
Posts: 7,911
Thanks: 302
Thanked 571 Times in 368 Posts


Default

Quote:
Originally Posted by 1stdead View Post
trying it tomorrow.. Are you sure subtitles work with dxva? Doesn't i mpch only with new costum EVE
No, they wont as its not supported by MP code.
__________________
http://day2.no-ip.org/

"Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen"
tourettes is online now   Reply With Quote
Old 2008-09-10, 07:53   #4 (permalink)
Portal Translator
 
hoborg's Avatar
 
Join Date: Jun 2008
Location: Nový Jičín
Age: 32
Posts: 1,882
Thanks: 4
Thanked 408 Times in 161 Posts

Country:

My System

Send a message via ICQ to hoborg
Default

Quote:
Originally Posted by 1stdead View Post
trying it tomorrow.. Are you sure subtitles work with dxva? Doesn't i mpch only with new costum EVE
Hello.

I newer write anywhere it will be working with subtitles. DXVA in MP works only without subtitles.

Last edited by hoborg; 2008-09-10 at 22:43..
hoborg is online now   Reply With Quote
Old 2008-09-14, 03:55   #5 (permalink)
Portal Member
 
Join Date: Jan 2008
Posts: 98
Thanks: 2
Thanked 5 Times in 5 Posts

Country:


Default

hi,
i just tried your package and everything installed fine. however, hardware acceleration is not working . i also read somewhere that VSfilter autoloading needs to be disabled. so when i changed to No in the Haali settings, i always get a bluescreen when trying to play mkv files in MP. once i switch on autoloading vsfilter, everything works fine again but no hardware acceleration. what can i do?
Kian is offline   Reply With Quote
These User Thank You:
Old 2008-09-14, 09:52   #6 (permalink)
Portal Translator
 
hoborg's Avatar
 
Join Date: Jun 2008
Location: Nový Jičín
Age: 32
Posts: 1,882
Thanks: 4
Thanked 408 Times in 161 Posts

Country:

My System

Send a message via ICQ to hoborg
Default

Hello.
What OS do you have? Do you have Ati graphic card?

My package is configured OK, no need to change anything to have DXVA - Bluescreen = wrong drivers!

If you have ATI + WinXP you need to use older Catalyst 8.5 - is last DXVA working driver (i will post link to them next day)
In Vista, use Catalyst 8.8+, it works fine.

No experience with nVidia cards...

Last edited by hoborg; 2008-09-14 at 11:34..
hoborg is online now   Reply With Quote
Old 2008-09-14, 16:18   #7 (permalink)
Portal Member
 
Join Date: Jan 2008
Posts: 98
Thanks: 2
Thanked 5 Times in 5 Posts

Country:


Default

hi hoborg,
i just made a clean uninstall of my ati drivers and installed catalyst 8.8
now apparently hardware acceleration works (cpu loads is constantly below 10%) and when i check the MPC video decoder setting sit says for DVXA Mode: "H.264 bitstream decoder, no FGT". is it correct like this? if yes, THANK YOU VERY MUCH
Kian is offline   Reply With Quote
Old 2008-09-14, 19:56   #8 (permalink)
Portal Translator
 
hoborg's Avatar
 
Join Date: Jun 2008
Location: Nový Jičín
Age: 32
Posts: 1,882
Thanks: 4
Thanked 408 Times in 161 Posts

Country:

My System

Send a message via ICQ to hoborg
Default

Quote:
Originally Posted by Kian View Post
hi hoborg,
i just made a clean uninstall of my ati drivers and installed catalyst 8.8
now apparently hardware acceleration works (cpu loads is constantly below 10%) and when i check the MPC video decoder setting sit says for DVXA Mode: "H.264 bitstream decoder, no FGT". is it correct like this? if yes, THANK YOU VERY MUCH
Yes, it is OK
Well, another happy costumer
hoborg is online now   Reply With Quote
Old 2008-09-16, 05:30   #9 (permalink)
MP Donator
 
Join Date: Jun 2008
Posts: 1,900
Thanks: 137
Thanked 195 Times in 145 Posts

Country:

My System

Default

how would one change the settings to optimise for 1920x1080 - 60Hz ?
kiwijunglist is online now   Reply With Quote
Old 2008-09-16, 08:33   #10 (permalink)
Portal Translator
 
hoborg's Avatar
 
Join Date: Jun 2008
Location: Nový Jičín
Age: 32
Posts: 1,882
Thanks: 4
Thanked 408 Times in 161 Posts

Country:

My System

Send a message via ICQ to hoborg
Default

Quote:
Originally Posted by kiwijunglist View Post
how would one change the settings to optimise for 1920x1080 - 60Hz ?
Well, my package have nothing to do with refresh rate. HD means better looking subtitles.
I can add option for HD/FullHD, i think it is no problem.

It simply multiplay video resolution x2, then render subtitles = beter quality subtiles.

If you have video in in 624x352, it will be automaticly doubled to 1248x704. That's the trick.
hoborg is online now   Reply With Quote
Reply

Bookmarks

Tags
dxva, filters, h264, mpeg2, saf, vc1, 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 On


LinkBacks (?)
LinkBack to this Thread: http://forum.team-mediaportal.com/codecs-external-players-55/saf-v4-00beta-standalone-filters-dxva-ready-mpeg2-h-264-vc-1-a-44614/
Posted By For Type Date
Foro de AntiScreeners :: Ver tema - SONIDO DTS EN FFDSHOW This thread Refback 2009-12-28 14:56
Hvordan sette opp "MPC - HC", for x264 osv? - Forum - Audiovisuelt.no This thread Refback 2009-12-27 13:52
EVR option is no longer an option... - SageTV Community This thread Refback 2009-12-16 22:24
Build a Freesat / Freeview HTPC: November 2009 This thread Refback 2009-12-12 00:08
chilly_willy's Bookmarks on Delicious This thread Refback 2009-11-29 22:52
Nettop som Media Center. Packard Bell iMAX Mini. - Forum - Audiovisuelt.no This thread Refback 2009-11-27 09:30
Disable and Replace MS DTV/DVD Decoder This thread Refback 2009-11-11 11:44
StandAlone Filters for GB-PVR (SAF codecs pack) - GB-PVR Forums This thread Refback 2009-11-06 20:44
Disable and Replace MS DTV/DVD Decoder This thread Refback 2009-11-06 13:58

Similar Threads
Thread Thread Starter Forum Replies Last Post
A way for faster stand by? JackTramiel MediaPortal 1 Talk 0 2008-03-25 19:15
Stand by mode Cheeze439 General Support 1 2006-01-17 03:02


All times are GMT +1. The time now is 14:11.


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