HEVC Video, DTSX, ATMOS, DD+ Audio Codecs

Discussion in 'Moving Pictures' started by bta489, May 12, 2018.

  1. bta489

    bta489 Portal Pro

    Joined:
    March 17, 2013
    Messages:
    112
    Likes Received:
    24
    Gender:
    Male
    Ratings:
    +49 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hi there,

    since Germany moved to HEVC with DVB-T2, whenever I add a recorded Movie to MovPic the Video Codec is filled with "v_mpegh/iso/hevc". This makes it impossible for it to have a corresponding Logo in the GUI and I have to manually change every movie I add to just "hevc".

    I suppose it's just the normal output of MediaInfo for that Codec, but can there be anything done to override it and have a filename-friendly Codec-Value by default?


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Holzi
    • Team MediaPortal

    Holzi Super Moderator

    Joined:
    April 21, 2010
    Messages:
    7,927
    Likes Received:
    1,591
    Gender:
    Male
    Location:
    Ba-Wü
    Ratings:
    +2,228 / 8
    Home Country:
    Germany Germany
    Show System Specs
    Hi @bta489

    can't you just rename a copy of the HEVC logo to the name v_mpegh/iso/hevc?
     
    • Thank You! Thank You! x 1
  4. bta489

    bta489 Portal Pro

    Joined:
    March 17, 2013
    Messages:
    112
    Likes Received:
    24
    Gender:
    Male
    Ratings:
    +49 / 0
    Home Country:
    Germany Germany
    Show System Specs
    since forward slashes are not permitted in filenames, no.
     
    • Agree Agree x 2
  5. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,140
    Likes Received:
    1,292
    Ratings:
    +1,654 / 2
    I've got HEVC and 4K detection for skin working fine in MP-TVSeries, and Moving-Pictures.

    I decided to make them "pop" out more than the default skin, so I personally went with a blue HEVC logo, and a bright yellow 4K logo. Feel free to use the default `hevc.png` and `2160p.png` images if you prefer default look.

    Was able to play with size/aspect-ratio and placement with the Moving-Pictures skin, but not with MP-TVSeries, and haven't taken then time yet to fix that with transparent canvas padding. The following will work as-is, but I planned to submit this properly with adjusted images to the GitHub repositories of the respective plugin.

    Copy the attachments as follows:

    <skin folder>\Media\logos\resolution\4K.png
    <skin folder>\Media\logos\video\hevc2.png

    <skin folder>\Media\TVSeries\Logos\4K.png
    <skin folder>\Media\TVSeries\Logos\hevc2.png​

    And then make the following skin changes (they are for Titan Extended, but should work for most other skins with minor adjustments for MovPic placement by paying attention to the existing posX/posY of the entries above):

    TVSeries.SkinSettings.xml (parts in bold are changed)

    movingpictures.mediainfo.xml (bold is new)

    movingpictures.mediainfo.details.xml (bold is new)

     

    Attached Files:

    • 4K.png
      4K.png
      File size:
      10.6 KB
      Uploaded:
      May 12, 2018
      Views:
      46
    • hevc2.png
      hevc2.png
      File size:
      8.3 KB
      Uploaded:
      May 12, 2018
      Views:
      51
    Last edited: March 3, 2019
    • Like Like x 1
    • Thank You! Thank You! x 1
  6. bta489

    bta489 Portal Pro

    Joined:
    March 17, 2013
    Messages:
    112
    Likes Received:
    24
    Gender:
    Male
    Ratings:
    +49 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Thank you, @RoChess

    Maybe not the cleanest solution, but a workaround I can live with. I modified my skinfiles accordingly, so hopefully the next Movie I add will have all those fancy Logos right from the start. (y)
     
  7. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,447
    Likes Received:
    4,227
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,365 / 0
    Home Country:
    Australia Australia
    I will update the MovingPictures mediainfo parsing to detect HEVC and set that as the VideoCodec. That will allow you to simply drop in a logo without using a string.contains skin expressions.
     
    • Like Like x 2
    • Great Idea! Great Idea! x 1
    • Informative Informative x 1
  8. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,140
    Likes Received:
    1,292
    Ratings:
    +1,654 / 2
    Please expand the scan on audio information as well then for "Atmos".

    Original string is something like "E-AC-3+Atmos / E-AC-3" or "TrueHD+Atmos / TrueHD / AC-3", and then the "Atmos" part gets lost with the codec showing up as just "E-AC-3" or "TrueHD".

    The '+' character is allowed in filenames, so "E-AC-3+Atmos.png" and "TrueHD+Atmos.png" should work fine.

    I'm personally fine with "Atmos.png" taking precedence for both (and others) if that is easier.

    Not sure if DTS-X is covered by default, and I can't look at HTPC right now.
     
    • Thank You! Thank You! x 1
  9. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,447
    Likes Received:
    4,227
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,365 / 0
    Home Country:
    Australia Australia
    Thanks, use this as an opportunity to add any missing ones now.
     
    • Like Like x 1
  10. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,140
    Likes Received:
    1,292
    Ratings:
    +1,654 / 2
    @ltfearme, I got a few test files I can throw at it, if you have like a compiled test version of MovPic so I can look at logs to see what the detected, and create PNG files as needed.
     
    • Like Like x 1
  11. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,897
    Likes Received:
    708
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,222 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    Auro-3D also :cautious:
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!