Subtitles and dxva | Page 6

Discussion in 'Improvement Suggestions' started by André, April 3, 2008.

  1. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    YUV Mixing Mode

    # The other inputs pins can only accept per-pixel alpha YUV formats, such as AYUV, AI44 and IA44.
    # None of the VMR's input pins can accept any RGB formats.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. 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
    Hello.
    I am not coder, but what about such solution?
    1) Modify DirectVobSub to stream subtitles data instead to "place" them in to video (something like "null renderer")
    2) Create MP plugin which should detect such stream and display subtitles as OSD in MP (like volume bar)

    What do you think about this - is it possible?
     
  4. magnetism

    magnetism Portal Member

    Joined:
    October 3, 2007
    Messages:
    15
    Likes Received:
    0
    Ratings:
    +0 / 0
    I take it then that MediaPortal sets this mode? I must have missed that in the code... Anyway, I guess that means that using this will not be possible, unless I change the vobsub thing to render to AYUV...
     
  5. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Yes, its set by MP. Patching vobsub to render into AYUV should work (at least in theory). If it works, then its the smallest effort that is needed to make HW accell on subs for MP to work (and wont require changes, or only minor changes on MP side).
     
  6. magnetism

    magnetism Portal Member

    Joined:
    October 3, 2007
    Messages:
    15
    Likes Received:
    0
    Ratings:
    +0 / 0
    You would need some changes in the MP code. The code that constructs the graph now does things with the vobsub filter that will make it impossible to support DXVA. But that would need to change regardless of the solution taken to render the subtitles I would guess.

    Then I guess we'd need to change MP to give the source filter some more info on the played media (FPS, resolution etc).

    I'll have a quick look tonight at AYUV rendering, we might get lucky and rendering is already supported by the filter..
     
  7. magnetism

    magnetism Portal Member

    Joined:
    October 3, 2007
    Messages:
    15
    Likes Received:
    0
    Ratings:
    +0 / 0
    Right, I had a look at AYUV today and unfortunately it looks like it's not actually already in the plugin. The whole code base is a bit of a mess in the regard, there seem to be bits of code that do support the AYUV already and other bits where it's ignored or just handled differently.
    Anyway, it looks like a lot more work than I have time for at the moment. I'll keep it on the backburner for now. Pitty.
     
  8. marceltrou

    marceltrou Portal Member

    Joined:
    August 25, 2006
    Messages:
    14
    Likes Received:
    2
    Ratings:
    +2 / 0
    News

    Any news for subtitles in DXVA mode ?

    Marcel
     
  9. Spragleknas
    • Team MediaPortal
    • Administrator

    Spragleknas Administrator

    Joined:
    December 21, 2005
    Messages:
    9,472
    Likes Received:
    1,385
    Gender:
    Male
    Occupation:
    Occupied
    Location:
    Located
    Ratings:
    +1,892 / 12
    Home Country:
    Norway Norway
    Show System Specs
Loading...

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!