[WiP] madVR support in MP1 (10 Viewers)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Thanks, I will higher the delay for testing in a new core and try to look at the align stuff. I'm not sure that I init it somewhere. :)

    Tapatalk
     

    el Filou

    MP Donator
  • Premium Supporter
  • July 2, 2008
    124
    103
    Home Country
    Belgium Belgium
    It works now, it switches after one second or so.

    I've found this regarding the 'align left top': http://madshi.net/89notesForDevs.pdf
    Code:
    IMadVRCommand::SendCommandDouble(“setZoomAlignX” / “setZoomAlignY”, whatever);
    Allows you to align the video rectangle “left/top”, “center” or “right/bottom”. Center is default.
    This says "center" is default so I guess MP calls it with left/top by mistake when starting playback?

    Edit: unfortunately I can't find a public documentation of madVR's API anywhere. I guess madshi only sends it privately to devs that ask for it?
     
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Thanks :) I have to try something on my side, by init some value before setting it back to 0 (it lead to center and remove align top/left)
    So can you test current attached bin ? (V483)
    If it works, we need regression testing to know if it didn't introduce new bug lol.
     
    Last edited:

    el Filou

    MP Donator
  • Premium Supporter
  • July 2, 2008
    124
    103
    Home Country
    Belgium Belgium
    It's perfect now, no more align left top and the image is always centered! (so no more need for 'the hack', I guess?)

    I have tested my usual samples with various definitions from 240p to 2160p and pixel aspect ratios including 544x576 SD and everything works perfectly. Also tested TV switching between SD and HD channels and it's good too.
    I will keep using this core.dll and report back if I witness any problem.
    Thanks again!
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Yes no need to have the old hack :) (I have commented out the code in v483)
    So put some value on start and let normal value after that seems to do the trick, that's great.
    Thanks for your input etc.
     

    grabi_2001

    Portal Pro
    May 8, 2009
    283
    107
    in den Alpen
    Home Country
    Germany Germany
    Hi Sebastiii,
    with the new core483, the MP 1.20 also works much better for me.
    But if I use for TV EVR and for films MadVR, and from the current movie TV start (movie does not stop, but go immediately to TV), the TV picture remains black, it is only sound and MP can only through the Task Manager be terminated. It's all black :)
    Is there a solution for this by now?
    Enclosed the logs
    greeting
    Dirk
     

    Attachments

    • MediaPortalLogs_23_08_18__16_44.zip
      447.9 KB

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi Dirk :)

    Cou you make a video with a watchdog log that links to the video?
    I don't know what happen from logs, so i need to try to reproduce it here :p
     

    grabi_2001

    Portal Pro
    May 8, 2009
    283
    107
    in den Alpen
    Home Country
    Germany Germany
    Good Morning,
    attached the video and the logs.
    When starting directly from a running movie in Live TV, the picture remains black, sound is playing.
    MP can only be stopped via the task manager.

    If the movie is stopped and then TV is started it works.

    See attachement.
    greetings
    Dirk
     

    Attachments

    • MediaPortalLogs_24_08_18__08_01.zip
      109.3 KB
    • Demo Movie.7z
      11 MB

    joecrow

    Test Group
  • Team MediaPortal
  • August 9, 2012
    2,528
    1,878
    Home Country
    Germany Germany
    A new version of LAV 0,72 has been released, see here for details. On a very quick test so far looking good.:) TV zapping with D3D11 and Madvr, still not working though.:(
     

    Users who are viewing this thread

    Top Bottom