[Videos] - Adding madVR support | Page 6

Discussion in 'Improvement Suggestions' started by Klarerwind, March 17, 2011.

  1. hoborg

    hoborg Portal Pro

    Joined:
    June 13, 2008
    Messages:
    4,413
    Likes Received:
    1,593
    Location:
    Nový Jičín
    Ratings:
    +1,621 / 2
    Home Country:
    Czech Republic Czech Republic
    Show System Specs
    Andy22:
    Sorry, i dind mean you are an idiot at all.

    I checked the link you posted. It looks like this player using build in decoder, not external one. This explain how it is possible. It copy image from PC memory to GPU memory, decode it by using DXVA 2.0 interface then send it back to PC memory. From here it is sended to madVR as already decoded image. This is exactly how nevs. LAV video decoder should use DXVA 2.0 (when it add support).

    This is similar how VLC/XBMC working.
    But right now it is not possible to use it outside player.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Andy22

    Andy22 Portal Member

    Joined:
    September 10, 2011
    Messages:
    45
    Likes Received:
    1
    Ratings:
    +2 / 3
    Oki no offence taken, but if potplayer/vlc/xbmc can do it than its more a support question and not like u stated ".. madVR (and i doubt it will ever be)".? In fact potplayer is not even a "big player" so it seems a rather minor support implementation.

    All i can ask for is a little open minded thinking on how to get madVR working with MP, without starting a "political" debatte. There are users which would love to see madVR support and madshi is even open to ideas, so is it about development time spend on this feature against other features or some other "internal" problems?

    What sadden me most is that most players have those scaling and color/level problems and they all should know that its a quite complex pipeline from a encoded video to the final TV output frame and yet i as user have to manually take care that all works, i dont know how many articles i already read to get a understanding what btb/wtw/gamma/chroma upscaling bug/srgb/yuv/yv12/24p/reclock/dxva/cuda actually means. I really would love a world, where i can just play a video and dont have to care at all. But at least now i can calibrate and tell why my movies look "washed out" and i also know what to do in other players and can check my decoding chain. So if madVR solves some problems of this chain, i'm happy that it exists and use it.

    bye Andy
     
  4. tourettes
    • Team MediaPortal

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Please read the complete thread and you will find the technical issues discussed. It is not as simple to integrat madVR into MediaPortal since the nature of these two (at current state both need to be able to do the renderer - which is a bit conflicting issue :)).


    These three could be considered as "political" debate - those aren't blocking issues at all from the team perspective (it was not a team member who brought those up :)). Actually those wont matter at all.

    To sum up quickly what would be needed to happen to get madVR support into MP:

    • DVD must work with madVR + Windows Vista / Windows 7 - this is a basic feature of MediaPortal and it must be available under all renderers
    • madVR must support MediaPortal Audio Renderer which is most likely going to be part of 1.3.0 release (depending on schedules etc.). madVR cannot simply copy the MediaPortal's EVR presenter part of code since it is not itself under GPL so this would require some effort from madshi.
    • madVR must have an interface that just provides the texture as callback (rendering / presentation must be done on MediaPortal's GUI engine based on that)
    • We need to find a developer who has time for the integration (it is not simple day or two task)
     
    • Like Like x 2
  5. Andy22

    Andy22 Portal Member

    Joined:
    September 10, 2011
    Messages:
    45
    Likes Received:
    1
    Ratings:
    +2 / 3
    Oki i understand all this, what i don't understand is: Can the "trick" potPlayer use to get madVR with DXVA working also work for MP? As i understand it u need direct control over the outputted data/decoder and manually have to copy the contents, so a default dshow graph wont work. What about a special intermediate "copy" filter just right between the dxva decoder and the renderer or so to speak 1 fake dxva renderer filter dummy connected to the real that just does the copy part so dxva can work. If this don't work i guess maybe its possible to could work with the LAVFilter guy to get the LAVFilters special support for this setup? I also saw that madVR has a decoder pane, maybe thats a way to get the missing link for DXVA working. I don't actually need dxva to work, since cuda works as well for my setup, but i know that if madVR support should happen a lot of media centers need DXVA working.

    Can u hint me to the correct source for MP1.2 and the files the renderer/handling/callbacks for this particular part happens, i just want to see if i understand anything at all.

    thx Andy
     
  6. tourettes
    • Team MediaPortal

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Problem is not related to DXVA in anyway (no DXVA support is a limitation of current madVR - not sure if it is planned to be implemented). If madVR would have DXVA support it still wouldn't be possible to use it with MediaPortal.

    PotPlayer's approach can only solve the DXVA support, not the GUI & video rendering "issue". If you ask from me it is just an ugly way to enable DXVA - people should just use LAV CUVID or some relevant non-DXVA based decoder with madVR.
     
  7. hoborg

    hoborg Portal Pro

    Joined:
    June 13, 2008
    Messages:
    4,413
    Likes Received:
    1,593
    Location:
    Nový Jičín
    Ratings:
    +1,621 / 2
    Home Country:
    Czech Republic Czech Republic
    Show System Specs
    madVR now support DXVA2 deinterlacing :)
     
  8. doveman

    doveman Portal Pro

    Joined:
    February 12, 2008
    Messages:
    2,326
    Likes Received:
    166
    Ratings:
    +182 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Cool. I'd love it if you could explain it to me ;) Perhaps in my thread here: https://forum.team-mediaportal.com/codecs-331/recommended-ccc-video-settings-101121/

    As I say there, what I find most confusing is how to calibrate my desktop, so that games, etc look right and then which codec and settings I have to use to make sure my video looks right as well. Also I don't know whether using different colorspaces (NV12 for PowerDVD/TV, RGB32 for ffdshow/everything else) will result in one or the other not displaying as it should.
     
  9. webs0r

    webs0r Portal Member

    Joined:
    December 17, 2008
    Messages:
    20
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
  10. tourettes
    • Team MediaPortal

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Who knows. It depends on few things:

    • Some MP dev needs to have free time and interest
    • Interface must be usable (if it works for XBMC then it is highly likely it works for MP's purposes as well)

    Point 1 is quite much out of my hands since 1) I have no free time (blu-ray takes all the time... it did stal the whoel audio renderer work already...) 2) to get me interested I would have to have MP Audio Renderer support as well (see some previous posts in this thread). There is no personal gain from madVR if I cannot use MP Audio Renderer with it -> I wont work on areas that wont give personal benefit. It is quite unlikely that Madshi would add anything MP specific to support the MP Audio Renderer and as madVR is closed source it is higly unlikely that I can add it :)
     
    • Like Like x 1
  11. azzuro
    • Team MediaPortal

    azzuro Test Group

    Joined:
    May 10, 2007
    Messages:
    8,376
    Likes Received:
    2,464
    Occupation:
    technician HVAC
    Location:
    France - IDF
    Ratings:
    +4,119 / 13
    Home Country:
    France France
    Show System Specs
    Hi,
    After a year, where is the situation ?
    MadVr is an actor, in Display Family as EVR.
    i understand Tourettes your position about MPAR, why work for nothing !

    @hoborg : can you converse with Madshi for add support of MPAR ? I understand is a specific dev for he.

    Screenshot for comparaison with MadVR (1)
     

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!