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

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

  1. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,256
    Likes Received:
    6,210
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,211 / 9
    Home Country:
    France France
    Show System Specs
    @yartat a quick question :)



    Before your branch we was able to see this in debug log but not anymore, can you explain why you removed it ? (and can you put it back ?)

    Code (Text):
    1. [2016-03-05 16:37:05,020] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: DLL Version      : MediaInfoLib - v0.7.65
    2. [2016-03-05 16:37:05,020] [Log    ] [MPMain   ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: Inspecting media : \\homeserver\mediaserv\record\TVE3\manual - Video - 2014-12-16.ts
    3. [2016-03-05 16:37:05,020] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: Parse speed      : 0.3
    4. [2016-03-05 16:37:05,020] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: FrameRate        : 25
    5. [2016-03-05 16:37:05,020] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: Width            : 720
    6. [2016-03-05 16:37:05,020] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: Height           : 576
    7. [2016-03-05 16:37:05,020] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: AspectRatio      : widescreen
    8. [2016-03-05 16:37:05,020] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: VideoCodec       : MPEG VIDEO VERSION 2 [ "mpeg video version 2.png" ]
    9. [2016-03-05 16:37:05,020] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: Scan type        : interlaced
    10. [2016-03-05 16:37:05,020] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: IsInterlaced     : True
    11. [2016-03-05 16:37:05,020] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: VideoResolution  : 576
    12. [2016-03-05 16:37:05,020] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: VideoDuration    : 53934269
    13. [2016-03-05 16:37:05,020] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: AudioRate        : 48000
    14. [2016-03-05 16:37:05,020] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: AudioChannels    : 1 [ "mono.png" ]
    15. [2016-03-05 16:37:05,020] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: AudioCodec       : MPEG AUDIO VERSION 1 LAYER 2 [ "mpeg audio version 1 layer 2.png" ]
    16. [2016-03-05 16:37:05,020] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: HasAudio         : True
    17. [2016-03-05 16:37:05,036] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: HasVideo         : True
    18. [2016-03-05 16:37:05,036] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: HasSubtitles     : False
    19. [2016-03-05 16:37:05,036] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: NumSubtitles     : 0
    20. [2016-03-05 16:37:05,036] [Log    ] [MPMain   ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: Closing file : \\homeserver\mediaserv\record\TVE3\manual - Video - 2014-12-16.ts
    21.  
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. 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
    @Sebastiii , Previous version shows only first video and audio streams, even for DVD (VST with longest duration). This behavior is not very good. We should print all detected streams or print current selected streams.
     
    • Like Like x 1
  4. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,256
    Likes Received:
    6,210
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,211 / 9
    Home Country:
    France France
    Show System Specs
    Yep i agree but it can be useful for single video stream it can tell use for log a minimum of information (for ex mediaInfo version etc.). If the file has subtitle for example. How we can workaround it then ? Or expose in log (debug) all information for each stream ? mediaInfo.Count and export to log ?
     
    • Agree Agree x 1
  5. 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
    I will add information about all streams for some players (all inherited from DirectShowPlayer, AudioPlayerVMR and VideoPlayerVMR9)

    UPDATE: Please, check it
     
    Last edited: March 6, 2016
    • Like Like x 1
    • Thank You! Thank You! x 1
  6. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,256
    Likes Received:
    6,210
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,211 / 9
    Home Country:
    France France
    Show System Specs
    Thanks you are fast :) branch updated and let's go to test :)
     
    • Like Like x 1
  7. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,256
    Likes Received:
    6,210
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,211 / 9
    Home Country:
    France France
    Show System Specs
    • Like Like x 1
    • Thank You! Thank You! x 1
    • Agree Agree 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
    • Thank You! Thank You! x 2
  9. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,256
    Likes Received:
    6,210
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,211 / 9
    Home Country:
    France France
    Show System Specs
    Hi,

    @yartat

    I notice that this new stuff break Moving picture and surely other plugins :(

    Those are screenshot from before (imported a movie and display correctly and after the branch (not imported correctly) :
    Correct :

    upload_2016-3-13_11-25-4.png

    upload_2016-3-13_11-25-22.png

    Now : (note that this movie has a subtitle, the runtime is displayed because i have start the movie otherwise, it's displayed like this 0:00 instead of 1:57).

    upload_2016-3-13_11-26-7.png

    upload_2016-3-13_11-26-50.png
     
    • Thank You! Thank You! x 1
  10. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,256
    Likes Received:
    6,210
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,211 / 9
    Home Country:
    France France
    Show System Specs
    Yep, it comes because of this :(
    @yartat could you fix it ?

    Code (Text):
    1. 13-Mar-2016 11:37:13 Debug [        DBLocalMedia]:  System.TypeLoadException: Could not load type 'MediaPortal.Player.MediaInfo' from assembly 'Core, Version=1.13.100.2079, Culture=neutral, PublicKeyToken=null'.
    2.    at MediaPortal.Plugins.MovingPictures.LocalMediaManagement.MediaInfoWrapper..ctor(String strFile)
    3.    at MediaPortal.Plugins.MovingPictures.LocalMediaManagement.VideoFormatExtensions.GetMediaInfo(VideoFormat self, String videoPath)
    4.    at MediaPortal.Plugins.MovingPictures.Database.DBLocalMedia.UpdateMediaInfo(Boolean mountImage)
     
  11. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,256
    Likes Received:
    6,210
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,211 / 9
    Home Country:
    France France
    Show System Specs
    Ok i have downloaded the latest MOVPIC code and affectively the ref to mediaInfo need to be changed, this means that it break plugins and if we go with this new branch, we need to update compatibility version check for plugins. we should avoid this.
    I hope you can know how to fi this @yartat :)
     
    • Agree Agree x 1
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!