[Finished] MP1-4777 Additional info for video and audio (1 Viewer)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    This is the change to made :
    upload_2016-3-13_11-52-1.png


    @ltfearme what do you think it is the best ?
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Now logo or text are back :)
    But i didn't get the movie duration :

    Code:
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.fullpath = "Z:\-=- HDTV -=-\Movie (2015).mkv"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.originalfilename = ""
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.volume_serial = "7DDD02C9"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.discid = ""
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.filehash = "224d267e0cf16178"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.part = "1"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.importpath = "Z:\-=- HDTV -=-"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.duration = "0"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.filesize.raw = "8211447280"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.filesize.localized = "7.64 GB"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.ignored = "False"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.videowidth = "1920"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.videoheight = "800"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.videoresolution = "1080p"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.videocodec = "H264"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.videobitrate.raw = "8126000"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.videobitrate.localized = "8.1 Mbps"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.videoframerate = "23.976"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.videoaspectratio = "widescreen"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.audiocodec = "DTS"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.audiochannels = "5.1"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.audiobitrate.raw = "1509000"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.audiobitrate.localized = "1 509 Kbps"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.audiosamplerate.raw = "48000"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.audiosamplerate.localized = "48.0 KHz"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.hassubtitles = "True"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.is3d = "False"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.isinterlaced = "False"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.videoformat = "File"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.SelectedMovie.WatchedHistory.Count = "0"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.LocalMedia.Subtitles = "subtitles"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.UserMovieSettings.10point_user_rating = ""
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.UserMovieSettings.Progress = "0"
    13-Mar-2016 11:53:03 Debug [   MovingPicturesGUI]: #MovingPictures.SelectedIndex = "1"

    From official MediaInfo tool :
    Code:
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4.1
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 5 frames
    Codec ID                                 : V_MPEG4/ISO/AVC
    Duration                                 : 1h 45mn
    Bit rate                                 : 8 126 Kbps
    Width                                    : 1 920 pixels
    Height                                   : 800 pixels
    Display aspect ratio                     : 2.40:1
    Frame rate mode                          : Constant
    Frame rate                               : 23.976 (24000/1001) fps

    Code:
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: InspectingMedia: Z:\-=- HDTV -=-\Movie (2015).mkv
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: FrameRate: 23.976
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: VideoBitRate: 8126000
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: VideoCodec: v_mpeg4/iso/avc
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: IsH264: True
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: HasSubtitles: True
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: NumSubtitles: 2
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Is3D: False
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: MultiViewCount: 0
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: ScanType: progressive
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: IsInterlaced: False
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Width: 1920
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Height: 800
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Audiochannels: 6
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: AudioBitRate: 1509000
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: AudioSampleRate: 48000
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: AspectRatio: widescreen
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: AudioCodec: dts
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: IsDTS: True
    13-Mar-2016 11:53:52 Debug [    MediaInfoWrapper]: MediaInfoWrapper: FileSize: 8211447280
    13-Mar-2016 11:53:52 Debug [     DatabaseManager]: UPDATING: Movie (2015).mkv
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Ok it was needed to do that (attached), so if it's possible to stay compatible with older version, it could be nice :)
     

    Attachments

    • 0001-MOVPIC-patch-against-MP1-4777.patch
      2.8 KB

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    @yartat :(
    What a mess, i just realize that Online Video can't work/compil anymore :(
    So i'm not sure that this branch will be added.
    We really need your input here :) and shouldn't break plugins.
    Thanks.
     

    yartat

    Portal Pro
    October 1, 2007
    71
    115
    Kjiv, Ukraine
    Home Country
    Ukraine Ukraine
    Hi @Sebastiii ,
    I suggest change
    [assembly: SubsystemVersion("MP.Players", "1.1.6.27644")] to version 1.14.
    I checked many plugins and have same problem with OnlineVideos, MyFilms, MP-TVSeries and MyTrailers. The authors of them must add changes to source code to support new functionality.

    I suppose include 4777 to 1.15 release and notify all authors of plugins to recompile and fix issues with compatibility. It will release 1.14 without any delay and can plan updates of the plugins
     
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi :)

    Yes for sure it was not for 1.14 :) Feature goes only an Pre-Release after a good testing :p, this is why AREA51 is good for testing but this can't be tested against plugins. Or we need to compil it and attach to this thread too !!!

    This is no way to make it compatible and add obsolete info if we use old method ?
    Thanks.
     

    yartat

    Portal Pro
    October 1, 2007
    71
    115
    Kjiv, Ukraine
    Home Country
    Ukraine Ukraine
    @Sebastiii ,
    If we agreed that this functionality can be added into the future release, can you create a new feature for MP-1? I created something like DShow engine for player with fuature manual DShow graph. It means that user in advanced mode can setup codec (or codec sequence) for specified media. The codec priority in system does not matter. Of cause, I kept an automatic creation DShow graph.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi :)
    Manual codec is already present and we/ii use it, but of course it's not implemented on specific media.
    I can create a Jira for this :)

    About MP1-4777, we should avoid plugins bumping for at least 2 reasons :

    1- Author of a plugin can't work anymore on it and ore source are not updated.
    2- To stay compatible with older current MP version, it always not easy to ask plugin dev to create another set of version.

    So my question are :

    1- Are your sure we needed it ?
    2- Can you change the actual MP1-4777 code to stay compatible with current version ?

    Thanks :)
     

    Users who are viewing this thread

    Top Bottom