[further infos missing] Mediainfo.dll 0.7.61 - don`t change refrash rate correctly (2 Viewers)

Bomberman

Portal Pro
June 19, 2009
157
8
Russia, Moscow
Home Country
Russian Federation Russian Federation
I watch a musical movie Metallica: Quebec Magnetic (2009)
Mediainfo (0.7.53)
General
Unique ID : 184392796798502225938546447893173479398 (0x8AB8C2C994470817B4AB9FA695E5A7E6)
Complete name : Z:\Films\Metallica - Quebec Magnetic\Metallica. Quebec Magnetic.2009.mkv
Format : Matroska
Format version : Version 1
File size : 29.2 GiB
Duration : 2h 15mn
Overall bit rate mode : Variable
Overall bit rate : 31.0 Mbps
Encoded date : UTC 2012-12-11 19:08:36
Writing application : mkvmerge v2.4.0 ('Fumbling Towards Ecstasy') built on Oct 11 2008 20:13:15
Writing library : libebml v0.7.7 + libmatroska v0.8.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Muxing mode : Container profile=Unknown@0.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 15mn
Bit rate mode : Variable
Bit rate : 27.2 Mbps
Maximum bit rate : 35.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.438
Stream size : 25.7 GiB (88%)
Title : Metallica.Quebec.Magnetic.2009.BDRemux.1080i.MPEG4/AVC.High@L4.1(16:9)29.970fps.26.0Mbps(02:15:01)24.5GiB
Language : English
Default : Yes
Forced : No
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Audio #1
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Format profile : MA / Core
Codec ID : A_DTS
Duration : 2h 15mn
Bit rate mode : Variable
Bit rate : 1 561 Kbps / 1 510 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossless / Lossy
Title : DTS-HD MA 5.1 24 bits, 48kHz (core: DTS 5.1 24 bits, 1509kbps, 48kHz)
Language : English
Default : Yes
Forced : No

Audio #2
ID : 3
Format : DTS
Format/Info : Digital Theater Systems
Format profile : MA / Core
Codec ID : A_DTS
Duration : 2h 15mn
Bit rate mode : Variable
Bit rate : 1 558 Kbps / 1 510 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossless / Lossy
Title : DTS-HD MA 2.0 24 bits, 48kHz (core: DTS, 2.0 channels, 24 bits, 1509kbps, 48kHz)
Language : English
Default : No
Forced : No

Menu
00:00:00.000 : en:Intro
00:01:36.095 : en:01. That Was Just Your Life
00:08:44.957 : en:02. The End Of The Line
00:16:31.256 : en:03. The Four Horsemen
00:21:58.784 : en:04. The Shortest Straw
00:28:08.286 : en:05. One
00:36:01.893 : en:06. Broken, Beat & Scarred
00:44:29.166 : en:07. My Apocalypse
00:51:12.702 : en:08. Sad But True
00:57:13.396 : en:09. Welcome Home (Sanitarium)
01:03:23.499 : en:10. The Judas Kiss
01:13:12.187 : en:11. The Day That Never Comes
01:21:10.732 : en:12. Master of Puppets
01:29:17.318 : en:13. Battery
01:36:23.611 : en:14. Nothing Else Matters
01:42:08.755 : en:15. Enter Sandman
01:50:59.119 : en:16. Killing Time
01:53:53.927 : en:17. Whiplash
02:00:58.818 : en:18. Seek & Destroy
02:08:09.782 : en:Credits

This moviewith frequency 29.97

Dynamic Refrash Rate don`t change default 1080p50 to 59.94
when I installed default refrash in DRR to 59,94 (NTSCHD), clip looked good.
Then I changed mediainfo.dll in Program Files/Mediaportal...
from 0.7.61 (this in MePo 1.3.0 Beta?) version to old 0.7.53
and clip looked good with Dynamic Refrash Rate - auto change from 50 to 59.94, (i set again default in Dynamic Refrash Rate 1080p50).
Setup MePo 1.3.0 download from tread Music Player Rework
https://forum.team-mediaportal.com/threads/music-player-rework.112530/
 
Last edited by a moderator:

HomeY

Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    48
    ::1
    Home Country
    Netherlands Netherlands
    I've tested some Music Blu-rays with 0.7.61 and they all change perfectly to 59.94

    I did notice that the detected Framerate of your videofile reports as 29,94 which is an incorrect Framerate.
    Code:
    2012-12-23 21:30:13.650000 [Info.][MPMain(1)]: RefreshRateChanger.AdaptRefreshRate: framerate on file D:\Films\Metallica - Quebec Magnetic\Metallica. Quebec Magnetic.2009.mkv is 29,94
    2012-12-23 21:30:13.654000 [Info.][MPMain(1)]: RefreshRateChanger.SetRefreshRateBasedOnFPS: could not find a matching refreshrate based on 29,94 fps (check config)
    2012-12-23 21:30:13.654000 [Info.][MPMain(1)]: g_Player.Play(D:\Films\Metallica - Quebec Magnetic\Metallica. Quebec Magnetic.2009.mkv Video)
    So this might be related to the videofile. Could you post a MediaPortal.log when you play the file with the 0.7.53 version?
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    48
    ::1
    Home Country
    Netherlands Netherlands
    Right, so the 0.7.53 version does recognize the correct Framerate of 29.97 of your videofile, were the 0.7.61 version does NOT. So that would point the finger toward MediaInfo.dll again... Since i haven't seen other reports of this issue, i'm really in doubt of that the issue is. At least you have a working solution now.

    I'll set the thread to 'further info needed' to see if we can get some confirmation on this issue, or not ;) but TNX for the report! If more people encounter this issue, we'll just have to update the binary again.

    So, if other users are experiencing issues with the latest 0.7.61 MediaInfo.dll, please report back :)
     
    Last edited:

    Deda

    Lead Dev MP1 Videos
  • Premium Supporter
  • March 18, 2009
    2,423
    2,385
    Zagreb
    Home Country
    Croatia Croatia
    Refresh rate changer is linked to MP medianfowrapper and for who knows what, and mediainfowrapper gets values from mediainfo.dll.

    So when something is changed in first link (mediainfo.dll) all fails together.

    Ofc, it should be fixed :) but I can't because all dependencies are mainly in the core of MP (player, RRchanger.... really don't know).

    I can give you what I did to solve refreshrate change and some other info but it's still just first aid while trying to find universal pattern. For now, I have no problem but I don't have too many mediafiles to check all variations

    Code:
    MediaInfoWrapper.cs
     
    public MediaInfoWrapper(string strFile)
    {
    ........
    //Video
            string frameRateMode = _mI.Get(StreamKind.Video, 0, "FrameRate_Mode").ToLower();
            if (!frameRateMode.Contains("vfr"))
            {
              double.TryParse(_mI.Get(StreamKind.Video, 0, "FrameRate"), NumberStyles.AllowDecimalPoint, providerNumber,
                              out _framerate);
            }
            else
            {
              double.TryParse(_mI.Get(StreamKind.Video, 0, "FrameRate_Original"), NumberStyles.AllowDecimalPoint, providerNumber,
                              out _framerate);
              if (_framerate == 0.0)
              {
                double.TryParse(_mI.Get(StreamKind.Video, 0, "FrameRate"), NumberStyles.AllowDecimalPoint, providerNumber,
                              out _framerate);
              }
            }
            int.TryParse(_mI.Get(StreamKind.Video, 0, "Width"), out _width);
            int.TryParse(_mI.Get(StreamKind.Video, 0, "Height"), out _height);
            _aspectRatio = _mI.Get(StreamKind.Video, 0, "DisplayAspectRatio/String") == "4:3" ? "fullscreen" : "widescreen";
            _videoCodec = GetFullCodecName(StreamKind.Video);
            _scanType = _mI.Get(StreamKind.Video, 0, "ScanType").ToLower();
            _isInterlaced = _scanType.Contains("interlaced");
     
            _videoResolution = _height < 720 ? "SD" : "HD";
     
            if ((_width == 1280 || _height == 720) && !_isInterlaced)
            {
              _videoResolution = "720P";
            }
            if ((_width == 1920 || _height == 1080) && !_isInterlaced)
            {
              _videoResolution = "1080P";
            }
            if ((_width == 1920 || _height == 1080) && _isInterlaced)
            {
              _videoResolution = "1080I";
            }
     
            if (_videoDuration == 0)
            {
              if (frameRateMode.ToUpperInvariant() != "VFR")
              {
                int.TryParse(_mI.Get(StreamKind.Video, 0, "Duration"), out _videoDuration);
              }
              else
              {
                int.TryParse(_mI.Get(StreamKind.General, 0, "Duration"), out _videoDuration);
              }
            }
     
    Last edited:

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    48
    ::1
    Home Country
    Netherlands Netherlands
    Dynamic Refresh Rate is working perfectly here Deda ;)

    ...did not really understand...
    I can write a sample file for testing!?
    Yes, a sample would be nice, then i can test it also and compare my findings with yours.
    Easiest way is to upload a part of you file (100MB for example). You can cut it with HJSplit for Windows and upload it to our FTP Server (or somewhere else if you're not familiar with FTP)
    FTP account details:
    Address: 78.47.34.246
    Login: tsdump@team-mediaportal.com
    Password: mpuser88
    It can still be a MediaInfo issues, but we can confirm that hopefully with a sample.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom