[WiP] madVR support in MP1 (20 Viewers)

alexdepalma

MP Donator
  • Premium Supporter
  • January 31, 2008
    541
    493
    Home Country
    Spain Spain
    Hi :)

    I have added more log in this version :p
    Can you try both test (and done separate logs) ?
    1- with 720p (that should switch to 1080p and revert back to 720p on stop)
    2- with 4k (that should switch to 1080p and revert back to 4k on stop)

    Adding a restore to default to 4K can be a solution, will how to add that :p if i wasn't able to understand why it failed, keep in mind that internal MP DRR didn't handle resolution change but only the refresh rate value, so this feature need to be added in code :)
    Thanks :)

    Edit : Added bin (with fix log line wrong typo lol)

    Here is the test. 11:35
    This time without Use Internal refresh rate.

    Starting resolution 4K 4.4.4 8bit Clone mode (secondary monitor 4K 4.4.4 12 bit)

    Avatar MVC played 3D Framepacket in 1080p. returned to 4k
    Second video TAB. resolution changed automatically to 1080p and Auto 3D properly detect video and change GUI to TAB (events sent to eventGhost). After stop, GUI to 2D but resolution remanin 1080p
    Third video SBS- Auto3D properly detects SBS but GUI remains 2D. Manually changed with Ctrl+D to SBS. GUI this time goes SBS but no events sent. On video stop, Auto3D detects video GUI to 2D but remains 3D SBS. Had to manually change to 2D.

    Second test 720p playback.
    TAB video started around 11:49. resolution from 720p to 1080p automatic. Events sent all good. On stop video mode remains 1080p. No change to 720p

    Test 3 with option use internal refresh rate start at 11:56
    Same results as before. 4k to 1080p TAB properly done. but remains 1080p after stop. No effect of internal refresh rate but cancels MVC 1080p Framepacket.

    here losgs


    Conclusion,
    Auto3D fails on SBS videos (it was good before subtitels mod)
    Resolution change from 4k to 1080p Works for SBS and TAB
    No return to previous resolution on video stop
    Use option Internal refresh rate blocks Framepacket
     
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,514
    10,467
    France
    Home Country
    France France
    Thanks @alexdepalma will analyse logs :p

    About your conclusion :
    Auto3D working before the subtitle mod change, this is strange because subtitle mod has not changed detection code. => Btw selection to a manually SBS from menu works right ?
    Resolution change from 4K to 1080p (will look log and hope i will understand why the return didn't work :p)
    Use "Internal option" yep that possible it break analyse from madVR (but it should surely be the case even all new changes :p)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,514
    10,467
    France
    Home Country
    France France
    Ok on stop it doesn't works because of this line :

    [2017-10-23 11:57:26,326] [Log ] [MPMain ] [INFO ] - RefreshRateChanger.AdaptRefreshRate: 'auto refreshrate changer' not going back to default refreshrate

    Will try to analyse why it happen for you but not for me here :p
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,514
    10,467
    France
    Home Country
    France France
    @alexdepalma what is your settings there ?

    upload_2017-10-23_13-5-50.png


    Can you check this option and see if the return works ? :)
    Will try to change the code to override it :p
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,514
    10,467
    France
    Home Country
    France France
    Here is the test. 11:35
    This time without Use Internal refresh rate.

    Starting resolution 4K 4.4.4 8bit Clone mode (secondary monitor 4K 4.4.4 12 bit)

    Avatar MVC played 3D Framepacket in 1080p. returned to 4k
    Second video TAB. resolution changed automatically to 1080p and Auto 3D properly detect video and change GUI to TAB (events sent to eventGhost). After stop, GUI to 2D but resolution remanin 1080p
    Third video SBS- Auto3D properly detects SBS but GUI remains 2D. Manually changed with Ctrl+D to SBS. GUI this time goes SBS but no events sent. On video stop, Auto3D detects video GUI to 2D but remains 3D SBS. Had to manually change to 2D.

    About MVC just to be clear, madVR with LAV Video detect the MVC mode then madVR trigger the 3D ON/OFF windows settings and when triggering this settings, (MP or not) FramePacked = 1080p resolution, so it's not even MP or madVR that change the resolution but Windows itself. I can't guarantee this at 100% because i don't know if exist other MVC format different of 1080p.

    Yep, i can confirm also the non return to 2D but it was like this from the start of Auto3D.
    If we manually switch to a 3D version SBS ot TAB, on stop it not always back to 2D (or maybe there is an option for that) but when Auto3D detect the correct mod in auto then it can be returned to 2D.

    I can confirm also that sometime the detection failed somehow, delay wrong analyse etc. but switching manually to a 3D mode (SBS or TAB) trigger the refresh rate to 1080p now (with the latest feature code) and it return it to default previous resolution on stop :p

    Can you log one case with a SBS movie to look what logs says ? :p

    In log we should have this (from your TAB log) :
    [Auto3D analyze thread] [INFO ] - Auto3D: Start Video Analysis
    [Auto3D analyze thread] [DEBUG] - Similarity: 0,967916666666667 - Fmt3DTAB
    [Auto3D analyze thread] [DEBUG] - Similarity: 0,975833333333333 - Fmt3DTAB
    [Auto3D analyze thread] [DEBUG] - Similarity: 0,97625 - Fmt3DTAB
    [Auto3D analyze thread] [DEBUG] - Similarity: 0,9775 - Fmt3DTAB
    [Auto3D analyze thread] [DEBUG] - Similarity: 0,972083333333333 - Fmt3DTAB
    [Auto3D analyze thread] [DEBUG] - Results(4) - Normal=0 - SBS3D=0 - TB3D=5
    [Auto3D analyze thread] [INFO ] - Auto3D: Video Analysis Finished: Switch TV to TAB 3D

    Example on mine :
    [Auto3D analyze thread] [DEBUG] - Similarity: 0.930416666666667 - Fmt3DSBS
    [Auto3D analyze thread] [DEBUG] - Results(4) - Normal=1 - SBS3D=4 - TB3D=0
    [Auto3D analyze thread] [DEBUG] - Similarity: 0.955833333333333 - Fmt3DSBS
    [Auto3D analyze thread] [DEBUG] - Results(5) - Normal=1 - SBS3D=5 - TB3D=0
    [Auto3D analyze thread] [DEBUG] - Similarity: 0.949791666666667 - Fmt3DSBS
    [Auto3D analyze thread] [DEBUG] - Results(6) - Normal=1 - SBS3D=6 - TB3D=0
    [Auto3D analyze thread] [INFO ] - Auto3D: Video Analysis Finished: Switch TV to SBS 3D
    [Auto3D analyze thread] [INFO ] - Auto3D: Begin SwitchToFormat
    [Auto3D analyze thread] [INFO ] - Auto3D: End SwitchToFormat

    Will try to catch a video :p

    Video will not work because as soon as the DRR is triggered, the recording stop lol :p
     

    alexdepalma

    MP Donator
  • Premium Supporter
  • January 31, 2008
    541
    493
    Home Country
    Spain Spain
    @alexdepalma :)
    This attached dll should fix the return, i have override the check from the above option :p

    Yes there is also 720p 3D (oficialy existis)
    The option of "PALHD" changes refresh rate from 24 to 50Hz on video stop. (1080p ATM only).

    Auto3D working before the subtitle mod change, this is strange because subtitle mod has not changed detection code. => Btw selection to a manually SBS from menu works right ?
    Detection ALWAYS WORKS OK. But doesent get active on SBS. Yes manual selection works but no auto recover on stop. also no event sent to eventghost.
    TAB is ok

    Problem with SBS it seems Auto3D has logic for detection and another for activation. On SBS the activation doesn't work on my side. But the detected mode with the option "Show message on mode switch" active is shown always. And always the proper mode is detected, but not activated.

    New test. Play start at 13:50
    some times Auto3D doesent detect SBS nor TAB.
    Second play then it detects. 4k to 1080P works not ony if detected, if actually activates 3D GUI. ON TAB, always on SBS never. So I receive on SBS the Mode detection on Auto3D but gui remains 2D. and 4k. On manual mode, it comes 3D GUI and also 1080p.
     

    alexdepalma

    MP Donator
  • Premium Supporter
  • January 31, 2008
    541
    493
    Home Country
    Spain Spain
    @Sebastiii
    Forget about SBS problema. My tv is panasonic. Selecting, "No device" in Auto3D makes SBS auto change to work again. MODE Autodetected, GUI 3D and 1080p mode active.

    On video Stop it goes back to 4K !!!!

    Don't know why it goes 4K 50hz. Dont have any option on DRR to default return NO PALHD selected. Also I'm not using use internal refresh as MadVr is doing the trick with Frame packet

    I'm getting crash on second video playback. Wanted to try 353 but already removed from forum
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,514
    10,467
    France
    Home Country
    France France
    Good :) it start to be better :p
    Will try to understand why it goes to 50Hz but i have an idea, will put a new bin tonight :p

    Just to be sure, what Auto3D version did you use ? (if it's the official one, please update it with latest i have build in first post :p)
    Just to be sure to that the dll is overwrites (plugins\windows MP folder) because i've noticed sometimes it does not :p (or better remove the dll before installing the MPEI.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,514
    10,467
    France
    Home Country
    France France
    @Sebastiii
    Forget about SBS problema. My tv is panasonic. Selecting, "No device" in Auto3D makes SBS auto change to work again. MODE Autodetected, GUI 3D and 1080p mode active.

    On video Stop it goes back to 4K !!!!

    Don't know why it goes 4K 50hz. Dont have any option on DRR to default return NO PALHD selected. Also I'm not using use internal refresh as MadVr is doing the trick with Frame packet

    I'm getting crash on second video playback. Wanted to try 353 but already removed from forum

    V353 has just more log but include in V354, so this is why i have removed V353 :p

    Can you get log of the crash and also madVR freeze report when it happen ? :)
    If the crash report didn't work, you can use the madvrprocess tool in first post it permit to create one :p
     

    Users who are viewing this thread

    Top Bottom