Plugin: MP2Extended (1 Viewer)

johanj

MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    If I recall correctly MPExt uses zero as first index for both subtitles and audio.

    When seeking one stop the stream without finishing it. Now the transcoding should continue. One can here also change subtitles or audio track and then continue the stream.

    I call FinishStream with the identifier as parameter when I want the transcoding service to stop transcoding. This is not happening, it's still transcoding.

    No, the free version of MPiV do not support streaming. Also, the released version of MPiV is not compatible with MP2Ext since it's a difference in case sensitivity between MPExt and MP2Ext. But I can probably fix a Command Fusion iViewer license and access to the dev. version of MPiV if you want to try.
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,341
    832
    Home Country
    Denmark Denmark
    If I recall correctly MPExt uses zero as first index for both subtitles and audio.
    Maybe it's the index of the stream and not the stream ID itself? I will have a look how it's used.

    FinishStream
    I don't think StopStream is implemented yet. If the UseCache option is enabled it will keep transcoding until a different stream is selected or the transcoding is completed. That's a feature not a bug. :D

    But I can probably fix a Command Fusion iViewer license and access to the dev. version of MPiV if you want to try.
    That would make it a lot easier for me. Is it through Test Flight or?
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    We have developed MPiV using the Command Fusions iViewer. It's mainly used by custom installers for home automation.
    http://www.commandfusion.com/software/iviewer

    So MPiV is basically regular iViewer that is locked to our gui.

    The app is free in app store but one need a license per device if running larger projects( and that cost about 100euro) but I can probably move a development license to you. I check later after work.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    Where do i have to put tv station logos if i don't have installed the MP2 client?
    Nowhere. They just get downloaded/created dynamically.

    @johanj
    Attached is a new version which hopefully fixes now the MediaInfo issues :D Atleast I called GetMediaInfo for every imported movie and I didn't get an exception. Fingers crossed :D
     

    Attachments

    • MP2Extended.rar
      1.3 MB

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    It seems like almost all is there now:whistle: A few exceptions in log, maybe not from mediainfo though. See attached.

    But aspect ratio(aspectRatio) is quite often undefined. In MPExt. I get the true movie aspect ratio. Not sure if this is looked up or taken from file but I would guess that it's looked up.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    But aspect ratio(aspectRatio) is quite often undefined. In MPExt. I get the true movie aspect ratio. Not sure if this is looked up or taken from file but I would guess that it's looked up.
    It is looked up in the DB. I can't tell you if there is something missing in your DB or not. Are you using DisplayAspectRatio or DisplayAspectRatioString?
    Because I just found out that DisplayAspectRatioString wasn't working that well. I hope I fixed the converting function now :whistle:
    My Testapp gives me some proper values now:
    Ratio: 1,846 String: 21:9
    Ratio: 1,32 String: 4:3
    Ratio: 1,846 String: 21:9
    Ratio: 1,778 String: 16:9
    Ratio: 2,4 String: 2.4:1
    Ratio: 2,368 String: 21:9
    Ratio: 1,818 String: 21:9
    Ratio: 1,778 String: 16:9
    Ratio: 2,368 String: 21:9
    Ratio: 2,353 String: 21:9
    Ratio: 2,4 String: 2.4:1
    Ratio: 2,353 String: 21:9
    Ratio: 1,778 String: 16:9
    Ratio: 1,778 String: 16:9
    Ratio: 2,368 String: 21:9
    Ratio: 2,444 String: 2.4:1
    Ratio: 2,444 String: 2.4:1
    Ratio: 1,8 String: 21:9
    Ratio: 2,368 String: 21:9
    Ratio: 2,353 String: 21:9
    Before this I had undef almost everywhere. But I also added some logging now:
    ServiceRegistration.Get<ILogger>().Info("AspectRatio undef! - '{0}' - round: '{1}'", aspectRatio, aspectRationRound);
     

    Attachments

    • MP2Extended.rar
      1.3 MB

    pünktchen

    Portal Pro
    October 26, 2010
    537
    201
    Home Country
    Germany Germany
    Where do i have to put tv station logos if i don't have installed the MP2 client?
    Nowhere. They just get downloaded/created dynamically.
    Not for me, otherwise i wouldn't have asked.

    Apart from that, there's something i miss for recordings that is really really important to me: "FileName" - It's the full path to the recording.
    I hope you can implement it somehow?!

    Btw. what's the reason for you to go with the MP2 database instead of the TV database for recordings?
    It doesn't make sense to me. Especially if someone like me don't use the MP2 client at all.
    For example there's no way to refresh the server mediasource for recordings without the client. :cautious:
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    Thanks for the feedback! I will take a look into it this evening :)

    As mentioned before: MP2 already does most of the work for me. Furthermore it will be already compatible in case someone implements support for a divverent tv engine.
    TVE3 and TVE3.5 are different, so I would need to redo the work which morpheus already did.
    Another reason is: if you would like to connect TVE directly you can do this already with MPExt :)

    I hope this answers your question :)
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,580
    3,971
    Lehmden
    Home Country
    Germany Germany
    Hi.
    don't use the MP2 client at all.
    Without the Client you can not set up the server. So you need to install a client somewhere in your network (hasn't to be on the same machine as the server) at least for the primary setup. Maybe call it "Configuration tool" if you don't like it as "client". ;)

    what's the reason for you to go with the MP2 database instead of the TV database for recordings
    Because the DB handling is done by the server itself and a plugin has to use the functions the server is offering. Direct DB access is not fitting to the MP2 concept as all database actions have to be done by the MP2 server. And it is dangerous as we are using SQLite. SQLite is faster a lot compared to MySQL and it's way less complicated to set up and run. But SQLite did not like multiple accesses at the same time.

    For example there's no way to refresh the server mediasource for recordings without the client.
    The recordings are refreshed automatically. As soon as a new recording is started it will be added to the ML instantly.

    Where do i have to put tv station logos if i don't have installed the MP2 client?
    c:\ProgramData\Team MediaPortal\MP2-Server\Logos\Tv-Modern-StreamedMP 16x9-max\
    There are the logos stored by the logo manager plugin at least on my system.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Regarding the TV logos: when you use the fanart service URL, the service should download and process them automatically. This is not depending on the MP2 Client.

    Another note: the cache folder quoted above depends on the logo theme. We currently use only one, but they can be extended.
     

    Users who are viewing this thread

    Top Bottom