1.25.0 Refresh rate incorrectly reported and set (2 Viewers)

Gcarr

MP Donator
  • Premium Supporter
  • August 17, 2014
    128
    39
    United States of America United States of America
    Country flag
    Discovered today that the Dynamic refresh rate is being improperly reported and set on my systems (server and also a client). When I start watching a channel it is detected as PAL@25 instead instead of ATSC@30 and ends up setting the Refresh Rate to 50hz. I've run MediaInfo on the tsbuffer file and the frame rate is reported correctly there. Related files attached.
     

    Attachments

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,456
    10,285
    France
    France France
    Country flag
    Hi,
    In MP, you have a default DRR maybe you should have to set it to 30hz or 60Hz (should be OK double refresh rate) for TV.

    1603532652098.png


    But from your logs the timeshift buffer seems to find a 25 hz :

    [2020-10-20 14:42:27,533] [Log ] [MPMain ] [WARN ] - MediaInfo.dll was not loaded!
    [2020-10-20 14:42:27,533] [Log ] [MPMain ] [INFO ] - RefreshRateChanger.AdaptRefreshRate: framerate on file E:\timeshift\live16-0.ts.tsbuffer is 25
    [2020-10-20 14:42:27,534] [Log ] [MPMain ] [INFO ] - g_Player.Play(E:\timeshift\live16-0.ts.tsbuffer TV)
    [2020-10-20 14:42:27,535] [Log ] [SetRefreshRateBasedOnFPS thread] [INFO ] - RefreshRateChanger.SetRefreshRateBasedOnFPS: current refreshrate is 60hz - changing it to 50hz
    [2020-10-20 14:42:27,535] [Log ] [MPMain ] [DEBUG] - PlayerFactory: Successfully created player instance for file - E:\timeshift\live16-0.ts.tsbuffer
    [2020-10-20 14:42:27,536] [Log ] [SetRefreshRateBasedOnFPS thread] [INFO ] - RefreshRateChanger.SetRefreshRateBasedOnFPS: using internal win32 method for changing refreshrate. current is 60hz, desired is 50
    [2020-10-20 14:42:27,537] [Log ] [SetRefreshRateBasedOnFPS thread] [INFO ] - RefreshRateChanger AdapterOrdinal value is 0
    [2020-10-20 14:42:27,537] [Log ] [MPMain ] [INFO ] - TSReaderPlayer play:E:\timeshift\live16-0.ts.tsbuffer radio:False
    [2020-10-20 14:42:27,538] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: live tv
    [2020-10-20 14:42:27,538] [Log ] [SetRefreshRateBasedOnFPS thread] [DEBUG] - CycleRefreshRate: Current MonitorIndex : 0 and current deviceName : \\.\DISPLAY1
    [2020-10-20 14:42:27,880] [Log ] [SetRefreshRateBasedOnFPS thread] [INFO ] - CycleRefreshRate: result DISP_CHANGE_SUCCESSFUL for refresh rate change 50Hz for resolution 3840 x 2160
    [2020-10-20 14:42:27,883] [Log ] [SetRefreshRateBasedOnFPS thread] [INFO ] - RefreshRateChanger.SwitchFocus
    So you can also workaround this to set when MP find 25 to 60 or 30 (if you don't have video at 25hz for other media).

    Does this works before ?
    If yes maybe something change for mediainfo.dll (even if I remember that it wasn't used for TV before in realtime view).
     

    Gcarr

    MP Donator
  • Premium Supporter
  • August 17, 2014
    128
    39
    United States of America United States of America
    Country flag
    Hi @Sebastiii, thanks! Sorry it took me a while to get back and answer.
    Yes, it seems that when it reads the timeshift buffer it is incorrectly detecting 25 hz even though the file is 30 hz. I do already workaround the issue like you suggested by changing the refresh rates to 60

    I really don't remember when this started. I probably would have never noticed it but I removed a cec remote adapter I used in the past. I was checking to make sure things were ok after that and I saw the error in the log.

    Maybe I can try mediainfo.dll files from another version and see if it works?
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,456
    10,285
    France
    France France
    Country flag
    Long time ago and need to look the code to confirm, but mediainfo was not used on timeshift file because of the issue for analyzing TS (not an entire file).
    So it was needed to set a specific default refresh rate for it :)

    Now maybe there is change on the part and mediainfo can analyzing the file :)
     

    Users who are viewing this thread

    Similar threads
    OP Title Forum Replies Date
    doskabouter [Videos] Dynamic refresh rate Improvement Suggestions 24
    G 1.23.0 Wrong return value for refresh rate / DRR Bugreports 4
    U [solved] Dynamic Refresh Rate for 23fps video Watch / Listen Media 1
    joecrow Refresh rate not returned to default after 3D playback 1.21 Pre Release 0
    M.Hulot dynamic refresh rate funktioniert nicht mehr Allgemeines Supportforum 0
    M.Hulot Probleme mit Refresh-Rate-Wechsel: Bild bleibt schwarz Allgemeines Supportforum 22
    peque MP 1.20: Refresh rate changer doesn't get FPS of my video media... General Support 1
    M [solved] Dynamic refresh rate not working General Support 92
    cbr954rr [fixed] Movie db refresh on changes of nfo and correct spelling of words in titles 2.2 Archive 33
    B Overhaul IMDb+ rating system IMDb+ 5
    S search for transponder list, symbol rate 6900000 TV-Cards 0
    J Screensaver Slideshow? General 7
    B MP2 - V2.3 Incorrect Image playlist created when using folder view Submit: Bug Reports 7
    W [solved] Incorrect audio being reported Moving Pictures 4
    framug LAVFilter 0.74.1 incorrect version Skins and Plugins Installer (MPEI) 8
    SpudR Incorrect Links Skins and Plugins Installer (MPEI) 15
    P 1080 X 1920 videos playing incorrectly General Support 5
    CyberSimian MP 1.20: Watched percent sometimes incorrect MediaPortal 1 47
    K Schedules Direct or Tuner Card Incorrect Station Electronic Program Guide 0

    Similar threads

    Top Bottom