[Finished] MP1-4777 Additional info for video and audio (2 Viewers)

CyberSimian

Test Group
  • Team MediaPortal
  • June 10, 2013
    1,980
    1,229
    Southampton
    United Kingdom United Kingdom
    Country flag
    Could you present a small sample to check?
    I think that recent series of "The Simpsons" have a multichannel soundtrack, and there is an episode starting in 10 minutes (at 18:00). I have scheduled it to record. It will start at 17:59 (I use one minute of pre-padding), but I will stop the recording at 18:05. As well as the pre-padding, the programme may start a minute or two late, but stopping it at 18:05 should ensure that part of the actual Simpsons episode is recorded. I don't know how big the TS file will be (it's HD!).

    --- from CyberSimian in the UK
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    1,980
    1,229
    Southampton
    United Kingdom United Kingdom
    Country flag
    Could you present a small sample to check?
    "Small" may be difficult. :(

    I checked the info display on my Sony TV. Prior to the start of "The Simpsons", the audio type was displayed as English HE-AAC 2/0. This changed to English HE-AAC 3/2.1 after "The Simsons" had started. I stopped the recording even earlier than I said previously, but the TS file is still 121MB in size :eek:.

    Where do we go from here? o_O

    -- from CyberSimian in the UK
     

    yartat

    Portal Pro
    October 1, 2007
    71
    115
    Kjiv, Ukraine
    Ukraine Ukraine
    It is a complicated to understand. In you case may be next things:
    1. there are 3 different PATs with different audio PID on each PAT
    2. there is 1 PAT and 3 different audio PID with offsets
    so, I need a sample to understand what kind of solution should analyze.
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    1,980
    1,229
    Southampton
    United Kingdom United Kingdom
    Country flag
    It is a complicated to understand. In you case may be next things:
    1. there are 3 different PATs with different audio PID on each PAT
    2. there is 1 PAT and 3 different audio PID with offsets
    I don't know anything about how the data is stored in a TS file, so the following is just guesswork.

    When TV Server is recording a channel, it simply writes to disk the data that it receives from the tuner. If the recording crosses the boundary between two programmes (as it does when pre-padding is used), TV Server does not know at the start of the recording what properties will change at the boundary between those programmes. So, the recording may start with audio=two-channel-sound, but later change to audio=five-channel-sound.

    My guess is that every few seconds there is a header block in the data stream that defines the properties of the data that follows (until the next header block is encountered). So the audio will change at one of these header blocks.

    So I think that the processing should probably be something like this:

    (1) If the invoker of MediaInfo specifies offset=0, return the properties from the header block at the start of the file.

    (2) If the invoker specifies (say) offset=5 minutes, find the first header block following the offset of 5 minutes from the start, and return the properties specified in that header block.

    Perhaps @Owlsroost knows more about this?

    -- from CyberSimian in the UK
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    11,764
    6,608
    Kyiv
    Ukraine Ukraine
    Country flag
    Seems work :)
    Code:
    [2019-05-19 16:17:58,607] [Log    ] [MPMain   ] [DEBUG] - Analyzing media M:\Video\Movies\Власть - Vice (2018).mkv.
    [2019-05-19 16:17:58,614] [Log    ] [MPMain   ] [DEBUG] - Check MediaInfo.dll from .\x86.
    [2019-05-19 16:18:05,171] [Log    ] [MPMain   ] [DEBUG] - Process file M:\Video\Movies\Власть - Vice (2018).mkv was completed successfully
    [2019-05-19 16:18:05,182] [Log    ] [MPMain   ] [INFO ] - Inspecting media    : M:\Video\Movies\Власть - Vice (2018).mkv
    [2019-05-19 16:18:05,189] [Log    ] [MPMain   ] [DEBUG] - DLL version         : MediaInfoLib - v18.12
    [2019-05-19 16:18:05,197] [Log    ] [MPMain   ] [DEBUG] - Media duration      : 02:12:26.5640000
    [2019-05-19 16:18:05,206] [Log    ] [MPMain   ] [DEBUG] - Has audio           : True
    [2019-05-19 16:18:05,214] [Log    ] [MPMain   ] [DEBUG] - Has video           : True
    [2019-05-19 16:18:05,233] [Log    ] [MPMain   ] [DEBUG] - Has subtitles       : True
    [2019-05-19 16:18:05,246] [Log    ] [MPMain   ] [DEBUG] - Has chapters        : False
    [2019-05-19 16:18:05,251] [Log    ] [MPMain   ] [DEBUG] - Is DVD              : False
    [2019-05-19 16:18:05,257] [Log    ] [MPMain   ] [DEBUG] - Is Blu-Ray disk     : False
    [2019-05-19 16:18:05,262] [Log    ] [MPMain   ] [DEBUG] - Video duration      : 02:12:26.5640000
    [2019-05-19 16:18:05,267] [Log    ] [MPMain   ] [DEBUG] - Video frame rate    : 23,976
    [2019-05-19 16:18:05,273] [Log    ] [MPMain   ] [DEBUG] - Video width         : 1920
    [2019-05-19 16:18:05,278] [Log    ] [MPMain   ] [DEBUG] - Video height        : 804
    [2019-05-19 16:18:05,283] [Log    ] [MPMain   ] [DEBUG] - Video aspect ratio  : widescreen
    [2019-05-19 16:18:05,289] [Log    ] [MPMain   ] [DEBUG] - Video codec         : AVC High@L4.1
    [2019-05-19 16:18:05,294] [Log    ] [MPMain   ] [DEBUG] - Video scan type     : progressive
    [2019-05-19 16:18:05,300] [Log    ] [MPMain   ] [DEBUG] - Is video interlaced : False
    [2019-05-19 16:18:05,305] [Log    ] [MPMain   ] [DEBUG] - Video resolution    : 1080P
    [2019-05-19 16:18:05,312] [Log    ] [MPMain   ] [DEBUG] - Video 3D mode       : Mono
    [2019-05-19 16:18:05,318] [Log    ] [MPMain   ] [DEBUG] - Video HDR standard  : None
    [2019-05-19 16:18:05,324] [Log    ] [MPMain   ] [DEBUG] - Audio duration      : 02:12:27.4890000
    [2019-05-19 16:18:05,330] [Log    ] [MPMain   ] [DEBUG] - Audio rate          : 1509000
    [2019-05-19 16:18:05,336] [Log    ] [MPMain   ] [DEBUG] - Audio channels      : 5.1
    [2019-05-19 16:18:05,341] [Log    ] [MPMain   ] [DEBUG] - Audio codec         : DTS
    [2019-05-19 16:18:05,347] [Log    ] [MPMain   ] [DEBUG] - Audio bit depth     : 24
    [2019-05-19 16:18:05,353] [Log    ] [MPMain   ] [DEBUG] - Subtitles count     : 3
    [2019-05-19 16:18:05,460] [Log    ] [MPMain   ] [INFO ] - VideoDatabase media info scanning file: M:\Video\Movies\Власть - Vice (2018).mkv
    [2019-05-19 16:18:05,466] [Log    ] [MPMain   ] [INFO ] - Inspecting media    : M:\Video\Movies\Власть - Vice (2018).mkv
    [2019-05-19 16:18:05,472] [Log    ] [MPMain   ] [DEBUG] - DLL version         : MediaInfoLib - v18.12
    [2019-05-19 16:18:05,477] [Log    ] [MPMain   ] [DEBUG] - Media duration      : 02:12:26.5640000
    [2019-05-19 16:18:05,482] [Log    ] [MPMain   ] [DEBUG] - Has audio           : True
    [2019-05-19 16:18:05,488] [Log    ] [MPMain   ] [DEBUG] - Has video           : True
    [2019-05-19 16:18:05,493] [Log    ] [MPMain   ] [DEBUG] - Has subtitles       : True
    [2019-05-19 16:18:05,498] [Log    ] [MPMain   ] [DEBUG] - Has chapters        : False
    [2019-05-19 16:18:05,504] [Log    ] [MPMain   ] [DEBUG] - Is DVD              : False
    [2019-05-19 16:18:05,510] [Log    ] [MPMain   ] [DEBUG] - Is Blu-Ray disk     : False
    [2019-05-19 16:18:05,515] [Log    ] [MPMain   ] [DEBUG] - Video duration      : 02:12:26.5640000
    [2019-05-19 16:18:05,521] [Log    ] [MPMain   ] [DEBUG] - Video frame rate    : 23,976
    [2019-05-19 16:18:05,526] [Log    ] [MPMain   ] [DEBUG] - Video width         : 1920
    [2019-05-19 16:18:05,532] [Log    ] [MPMain   ] [DEBUG] - Video height        : 804
    [2019-05-19 16:18:05,538] [Log    ] [MPMain   ] [DEBUG] - Video aspect ratio  : widescreen
    [2019-05-19 16:18:05,543] [Log    ] [MPMain   ] [DEBUG] - Video codec         : AVC High@L4.1
    [2019-05-19 16:18:05,548] [Log    ] [MPMain   ] [DEBUG] - Video scan type     : progressive
    [2019-05-19 16:18:05,554] [Log    ] [MPMain   ] [DEBUG] - Is video interlaced : False
    [2019-05-19 16:18:05,559] [Log    ] [MPMain   ] [DEBUG] - Video resolution    : 1080P
    [2019-05-19 16:18:05,565] [Log    ] [MPMain   ] [DEBUG] - Video 3D mode       : Mono
    [2019-05-19 16:18:05,574] [Log    ] [MPMain   ] [DEBUG] - Video HDR standard  : None
    [2019-05-19 16:18:05,581] [Log    ] [MPMain   ] [DEBUG] - Audio duration      : 02:12:27.4890000
    [2019-05-19 16:18:05,586] [Log    ] [MPMain   ] [DEBUG] - Audio rate          : 1509000
    [2019-05-19 16:18:05,592] [Log    ] [MPMain   ] [DEBUG] - Audio channels      : 5.1
    [2019-05-19 16:18:05,597] [Log    ] [MPMain   ] [DEBUG] - Audio codec         : DTS
    [2019-05-19 16:18:05,603] [Log    ] [MPMain   ] [DEBUG] - Audio bit depth     : 24
    [2019-05-19 16:18:05,609] [Log    ] [MPMain   ] [DEBUG] - Subtitles count     : 3
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    11,764
    6,608
    Kyiv
    Ukraine Ukraine
    Country flag
    @yartat
    New MediaInfo put in DB VideoCodec like AVC High@L4.1 instead AVC :(
    Code:
    rowid    idFile    videoCodec    videoResolution    aspectRatio    hasSubtitles    audioCodec    audioChannels
    6038    6038    AVC    1080P    widescreen    True    AC-3    5.1
    6039    6039    AVC High@L4.1    1080P    widescreen    True    DTS    5.1
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    11,764
    6,608
    Kyiv
    Ukraine Ukraine
    Country flag
    Need or return old behavior (replace AVC High@L4.1 to AVC) or need add to all skin new video codec images like avc high@l4.1.png
    @yartat :):whistle: @catavolt :):whistle:
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 2)

    OP Similar threads Forum Replies Date
    ajs MP2Web - MP1 compatibility MediaPortal 1 20
    T MadVR + LAV Filters, Perfect in MPC-BE, Bad in MP1 MediaPortal 1 Talk 12
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    framug [solved] Some changes/fix in MP1 configuration client and server Submit: code patches (MediaPortal/TV-Server/etc.) 14
    S TV-Server MP1 - Automatic search doesn't work Installation, configuration support 2
    C Streaming/transcoding MP2 vs MP1? General 1
    ajs [fixed] 5015: Improving the MP1 installer, providing nicer GUI :) MediaPortal 1 138
    C Streaming to clients over Wifi. MP1 or MP2? Newcomers Forum 0
    S Shortcuts MP1 My Recorded & TV Guide General 10
    azzuro [WiP] MP1-4999 - Big changes with many related change at once by Sebastiii MediaPortal 1 12
    ajs [Help Us!] MP1 X64 Version MediaPortal 1 20
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    wizard123 [solved] MP1 Build help MediaPortal 1 21
    ajs [News] MediaPortal 1 - 1.24 Released! News and Announcements 3
    CyberSimian [fixed] MP1-4990 : Improve horizontal scrolling in the EPG MediaPortal 1 10
    azzuro [WiP] MP1-5019: Replace MySQL with MariaDB MediaPortal 1 40
    catalpa Umsteiger von MP1: Schwierigkeiten Allgemeines Support- und Diskussionsforum 17
    CyberSimian [solved] MP1-4976 Built-in skin variables for current date MediaPortal 1 8
    rbo [solved] Umsteiger MP1 zu MP2 Allgemeines Support- und Diskussionsforum 67
    azzuro [Info] MP2 TVE inside MP1 repo MediaPortal 2 12
    G MP1 TV Server "failed to upgrade the database" using MS Sql Server Installation, configuration support 3
    lisag Can I get MP1 to open in the Recorded TV screen? MediaPortal 1 Talk 2
    M MP1 stops responding after Starting Plugins General Support 14
    R Problem with MP1 and WifiRemote Skins and Plugins Installer (MPEI) 8
    M.Hulot [solved] Netflix und amazon Prime in MP1 möglich? TV / Streaming 6
    Similar threads

























    Top Bottom