[WiP] - MP1-4777 Additional info for video and audio | Page 11

Discussion in 'Area 51 - Testing Area' started by yartat, January 19, 2016.

  1. CyberSimian
    • Team MediaPortal

    CyberSimian Test Group

    Joined:
    June 10, 2013
    Messages:
    1,645
    Likes Received:
    542
    Gender:
    Male
    Location:
    Southampton
    Ratings:
    +962 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Is this the code that the MP client uses to determine the properties of a TS file?

    If it is, does the new version return the duration of audio-only TS files?



    Audio-only TS files are radio recordings broadcast via the DVB-T/T2 system in the UK. When these files are stored in the "Videos" section of MP, they do not show the duration. I think that this is because the existing MediaInfo code does not return a duration for these files. (This was discussed some time ago in some other thread.)

    -- from CyberSimian in the UK
     
    • Like Like x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,700
    Likes Received:
    2,688
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,650 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    How to add this to MP? Or how to use this in MP?

    --
    WBR, ajs :):whistle::coffee:
     
    • Like Like x 1
  4. yartat

    yartat Portal Pro

    Joined:
    October 1, 2007
    Messages:
    71
    Likes Received:
    71
    Gender:
    Male
    Location:
    Kjiv, Ukraine
    Ratings:
    +96 / 0
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Yes, this wrapper over MediaInfo library is used to retrieve properties from any multimedia container including TS container.
    Previous version determine duration from video stream with index 0. I fixed this and now in case container does not contain video stream will try retrieve duration from audio stream with index 0.
    One case still presents: container has more than one audio streams with different duration. I have many solutions to fix this but all of them are not perfect.
     
    • Like Like x 4
  5. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,700
    Likes Received:
    2,688
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,650 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Return duration for 0 stream, or for best quality stream :)
     
    • Like Like x 1
  6. yartat

    yartat Portal Pro

    Joined:
    October 1, 2007
    Messages:
    71
    Likes Received:
    71
    Gender:
    Male
    Location:
    Kjiv, Ukraine
    Ratings:
    +96 / 0
    Home Country:
    Ukraine Ukraine
    Show System Specs
    One of solution was calculating duration for all streams (including menu) with delay and max of them is a final duration. But this solution has a problem in case container (DVD or BD) contains several autonomic clips (music clips, demo clips and others).
     
    • Like Like x 3
  7. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,700
    Likes Received:
    2,688
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,650 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    @yartat Can we expect a brunch update? :)

    --
    WBR, ajs :):whistle::coffee:
     
    • Thank You! Thank You! x 1
  8. yartat

    yartat Portal Pro

    Joined:
    October 1, 2007
    Messages:
    71
    Likes Received:
    71
    Gender:
    Male
    Location:
    Kjiv, Ukraine
    Ratings:
    +96 / 0
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Previous branch contains too much changes. I suggest go step by step. I prepared new merge request with one change - remove old MediaInfoWrapper and use MediaInfo.Wrapper package
     
    • Like Like x 3
  9. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,700
    Likes Received:
    2,688
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,650 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    @Owlsroost we can add this new branch to 1.23Pre? Or only in Area-51?
     
    • Like Like x 3
  10. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,700
    Likes Received:
    2,688
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,650 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    @yartat Is it possible to add a IsHDR property (like Is3D) to the MediaInfoWrapper?

    --
    WBR, ajs :):whistle::coffee:
     
    • Like Like x 1
    • Great Idea! Great Idea! x 1
  11. yartat

    yartat Portal Pro

    Joined:
    October 1, 2007
    Messages:
    71
    Likes Received:
    71
    Gender:
    Male
    Location:
    Kjiv, Ukraine
    Ratings:
    +96 / 0
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Sure! :)
    I will add it in 18.12.1
     
    • Like Like x 3
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!