SAF v4.00 ''stable'' (StandAlone Filters) - DXVA ready (H.264 and VC-1). (2 Viewers)

Should i integrate FFDshow in to SAF?

  • Yes

    Votes: 406 85.5%
  • No

    Votes: 69 14.5%

  • Total voters
    475

Yabba

Portal Pro
July 13, 2007
131
4
Home Country
Spain Spain
yes. but ... why does only audio codec show under DirectShow Filter Control and NOT the video codec? As I said before, I'm having issues about deinterlacing, maybe it's something easily changed if I could reach the config for the H.264 codec... I think it has to be the codec, because I only have those problems on two NTSC interlaced VC-1 .ts files. I also have a few MPEG-2 NTSC interlaced .ts files which play without any problem, even without the need to rename to .mkv, so it has to be codec related.
 

weedenbc

Portal Member
December 12, 2008
13
0
Home Country
United States of America United States of America
VSfilter autoloading preventing mkv playback

Okay, I posted on here a while back about issues with getting mkv files to play in StreamedMP - they would just refuse to play, while m2ts would work fine. I am positive the issue is related to the bug with the autoloading version of VSfilter as talked about here.

The problem is that I cannot figure out a way to use the non-autoloading version of VSfilter. Here is my filter graph for an mkv with subtitles without VSfilter installed:

mkv-novsfilter.png


And here it is once VSfilter is installed:

mkv-vsfilter.png


I've got autoload under the Haali settings to "no" and within MP I've setup the postprocessing as follows:

filtersetup.png


Thoughts? It's a real bummer because I have a significant number of movies that are mkvs (with flac audio and subs).
 

hoborg

Portal Pro
June 13, 2008
4,413
1,644
Nový Jičín
Home Country
Czech Republic Czech Republic
Newer put anything in to postprocessing!
Your graph are not from MP, you cannot have video renderer, you will have Video renderer 9 or EVR.

DirectVobSub is part of saf and is configured to work fully automaticky, no need to configue anything.
DirectVobSub is used only when subtitles are present.

Hello, Hoborg (and all). I used to have some problems related to subtitles before, but now I'm using disaster123's Mediaportal with SAF and almost all works perfectly (even Dxva working with subtitles). But I tried today to play with MediaPortal a 1080i .ts file ... and no luck, it didn't even open it. As I read in the first post, there's a problem with .ts splitter so I tried renaming to .mkv... just to find really choppy playback. I thought it could be because of only renaming the file so I tried to remux the .ts file into a .mkv, just to find again same problem. The choppy playback seemed to me as de-interlace related (I've seen similar issues before) so I tried to see MPC decoder options to check if any tweaking was needed. I'm quite sure I used to have those options under Direct Show control tab in MediaPortal config, but now I haven't : just MPC-MPA audio settings and VRM/EVR settings, but MPC-MPV options are gone and I don't know if it's normal. I even tried reinstalling SAF but no luck.

So I ran MediaPortal in windowed mode to check graph with GraphStudio... and to my surprise it played the file perfectly at windowed MP mode. Choppy at fullscreen, crystal clear windowed. Graph seemed also normal, by the way, so I think it must be related to color space options. I tried unsetting MP's option to force not to use exclusive mode and now the file plays fine, but with TERRIBLE tearing.

Any ideas? BTW, I own an ATI 3450 graphics card and I don't remember now which Catalyst version is installed but I'm sure it's not one of the blacklisted ones as I followed obediently all instructions. And yes, Dxva is working always, even when playback is "choppy".

This is the graph without exclusive mode :



This is Mediainfo from the .mkv file :

Format : Matroska
File size : 25.6 GiB
Duration : 1h 56mn
Overall bit rate : 31.5 Mbps
Encoded date : UTC 2009-03-14 12:53:23
Writing application : gdsmux
Writing library : Haali DirectShow Matroska Muxer 1.9.42.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 55mn
Bit rate : 28.7 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 29.970 fps
Standard : NTSC
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.462
Title : PID 4129

Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 1h 56mn
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 5 channels
Channel positions : Front: L C R, Surround: L R
Sampling rate : 48.0 KHz
Resolution : 24 bits
Title : PID 4132
Language : English

To make TS files working correctly, rename them to MKV. It is writen on first page...
 

weedenbc

Portal Member
December 12, 2008
13
0
Home Country
United States of America United States of America
Newer put anything in to postprocessing!
Your graph are not from MP, you cannot have video renderer, you will have Video renderer 9 or EVR.

DirectVobSub is part of saf and is configured to work fully automatically, no need to configure anything.
DirectVobSub is used only when subtitles are present.

Yep, my bad. Now I remember that you have to run MP in a window and then use Graphedit to connect to remote graph, right? Tried that and ran into a couple of issues. One, I tried it while an m2ts file was playing and nothing came up in Graphedit. Two, the mkv files won't even play in MP at all so even if I did get the remote graph working it wouldn't help.

I nuked everything and all codecs and started over, this time without installing VSfilter separately (just as part of SAF). Still no go.

Here's the media info from an MKV file that doesn't play:

General
Complete name : G:\Video\Movies\Apocalypto.mkv
Format : Matroska
File size : 26.8 GiB
Duration : 2h 18mn
Overall bit rate : 27.7 Mbps
Encoded date : UTC 2009-01-17 21:43:57
Writing application : mkvmerge v2.4.1 ('Use Me') built on Dec 5 2008 18:30:05
Writing library : libebml v0.7.7 + libmatroska v0.8.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Muxing mode : Container profile=Unknown@0.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 18mn
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Standard : NTSC
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive

Audio
ID : 2
Format : FLAC
Format/Info : Free Lossless Audio Codec
Codec ID : A_FLAC
Duration : 2h 18mn
Bit rate mode : Variable
Channel(s) : 6 channels
Sampling rate : 48.0 KHz
Resolution : 24 bits
Writing library : libFLAC 1.2.0 (UTC 2007-07-15)

Text
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English

And here's the media info from one that does work:

General
Complete name : G:\Video\Movies\The Lord of the Rings - The Fellowship of the Ring.mkv
Format : Matroska
File size : 7.94 GiB
Duration : 2h 58mn
Overall bit rate : 6 381 Kbps
Encoded date : UTC 2006-09-14 17:26:20
Writing application : mkvmerge v1.7.0 ('What Do You Take Me For') built on Apr 28 2006 17:20:19
Writing library : libebml v0.7.7 + libmatroska v0.8.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Muxing mode : Container profile=Unknown@5.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 58mn
Bit rate : 5 731 Kbps
Nominal bit rate : 5 993 Kbps
Width : 1 280 pixels
Height : 544 pixels
Display aspect ratio : 2.35
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.343
Title : x264 Videostream
Writing library : x264 core 50 svn-558
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=hex / subme=6 / brdo=0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / chroma_qp_offset=0 / slices=2 / nr=0 / decimate=1 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=0 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=5993 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=2 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 2h 58mn
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Title : Dolby Digital 5.1
Language : English

Text #1
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : English
Language : English

Text #2
ID : 4
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : Swedish
Language : Swedish

Text #3
ID : 5
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : Danish
Language : Danish

Text #4
ID : 6
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : Finnish
Language : Finnish

Text #5
ID : 7
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : Norweigan
Language : Norwegian Nynorsk

Anything in there that could be causing the problem?
 

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Might have something to do with hardware acceleration

    Frist file is DXVA compliant (ie uses hardware acceleration) ; Format profile : High@L4.1)
    Secound file is not DXVA compliant ; Format profile : High@L5.1

    Maybe your setup for hardware acceleration is faulty. Try disable H.A. and see if you can now play the L4.1 file.
     

    weedenbc

    Portal Member
    December 12, 2008
    13
    0
    Home Country
    United States of America United States of America
    Might have something to do with hardware acceleration

    Frist file is DXVA compliant (ie uses hardware acceleration) ; Format profile : High@L4.1)
    Secound file is not DXVA compliant ; Format profile : High@L5.1

    Maybe your setup for hardware acceleration is faulty. Try disable H.A. and see if you can now play the L4.1 file.

    I just ran SAF to uninstall it and then re-install, this time selecting the software acceleration. No improvement.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Might have something to do with hardware acceleration

    Frist file is DXVA compliant (ie uses hardware acceleration) ; Format profile : High@L4.1)
    Secound file is not DXVA compliant ; Format profile : High@L5.1

    Nvidia's current drivers support HW acceleration up to L5.1 profile.
     

    Monchi

    Portal Pro
    January 7, 2008
    78
    8
    Might have something to do with hardware acceleration

    Frist file is DXVA compliant (ie uses hardware acceleration) ; Format profile : High@L4.1)
    Secound file is not DXVA compliant ; Format profile : High@L5.1

    Maybe your setup for hardware acceleration is faulty. Try disable H.A. and see if you can now play the L4.1 file.

    I just ran SAF to uninstall it and then re-install, this time selecting the software acceleration. No improvement.

    if i remember right the option during setup is only for MPEG2 acceleration. use the registry patch out of the newer releases (3.43+) to deactivate DXVA
     

    hoborg

    Portal Pro
    June 13, 2008
    4,413
    1,644
    Nový Jičín
    Home Country
    Czech Republic Czech Republic
    Hi.
    I created another package - addon to MCE standby tool.
    More info here: MCE addon

    You can simply modify included scripts to:
    -enable/disable fullresume
    -disable devices on suspend
    -enable devices on wakeup
    -run bat files
    -restart services
    -etc...

    I fixed my HTPC freezes on wakeup by this (caused by TV card driver).
     

    Users who are viewing this thread

    Top Bottom