UPnP / DLNA Media Server for MediaPortal 2 | Page 41

Discussion in 'UPnP / DLNA Media Server' started by McGoober, January 1, 2012.

  1. henso
    • Team MediaPortal

    henso Development Group

    Joined:
    February 16, 2012
    Messages:
    1,936
    Likes Received:
    459
    Gender:
    Male
    Ratings:
    +698 / 0
    Home Country:
    Denmark Denmark
    According to your log the following metadata is found for the video:
    Code (Text):
    1. TranscodeItemVideo: Container=Matroska, Stream=0, Codec=H264, PixelFmt=Yuv420, PixelAspectRatio=1, H264Profile=High, H264HeadLevel=3,1, H264RefLevel=2,2, Timestamp=None
    This shows the container to be Matroska.
    The DLNA profile resolver should then resolve it using the following line:
    Code (Text):
    1. else if (container == VideoContainer.Matroska)
    2.       {
    3.         valuesProfiles.Add("MATROSKA");
    4.       }
    That then means that the MIME should be found by using what is mapped to MATROSKA.
    In the profile xml file the following line is present for the DLNADefault profile:
    Code (Text):
    1. <MediaFormat mime="video/x-matroska">MATROSKA</MediaFormat>
    So from all this the MIME should be video/x-matroska. And this MIME has nothing to do with the one stored in the database.
    That all looks good to me. Try to debug the parameters in the call to ResolveVideoProfile.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. FreakyJ
    • Team MediaPortal

    FreakyJ Development Group

    Joined:
    July 25, 2010
    Messages:
    4,021
    Likes Received:
    839
    Gender:
    Male
    Ratings:
    +1,424 / 1
    Home Country:
    Germany Germany
    I just did:
    This is from AssignDlnaMetadata() the info variable. Which is calling ResolveVideoProfile().
    The parameters for ResolveVideo:
    Following further this is what I get from the MediaItem itself (I marked the important parts that it isn't a complete mess):
    This is what TranscodingParameter in line 250 looks like (DlnaMediaItem.cs) The If in line 155 was true "if (TranscodingParameter == null)"

    I'm a bit confused. Would it help if I upload the video file for you?!
     
    • Agree Agree x 1
  4. henso
    • Team MediaPortal

    henso Development Group

    Joined:
    February 16, 2012
    Messages:
    1,936
    Likes Received:
    459
    Gender:
    Male
    Ratings:
    +698 / 0
    Home Country:
    Denmark Denmark
    The TranscodingParameter should be null because the DLNADefault profile does not specify any transcoding. So it serves as a "Direct" profile.
    Can I download it from you? Then I will take a look tomorrow.
     
  5. FreakyJ
    • Team MediaPortal

    FreakyJ Development Group

    Joined:
    July 25, 2010
    Messages:
    4,021
    Likes Received:
    839
    Gender:
    Male
    Ratings:
    +1,424 / 1
    Home Country:
    Germany Germany
    That would be great (y)

    I will send you a pm with the link once it is uploaded to my DropBox. 3GB, so I hope you don't have a Limit on your Internet connection :whistle:
     
  6. henso
    • Team MediaPortal

    henso Development Group

    Joined:
    February 16, 2012
    Messages:
    1,936
    Likes Received:
    459
    Gender:
    Male
    Ratings:
    +698 / 0
    Home Country:
    Denmark Denmark
    @FreakyJ
    I fixed the MediaServer and it should now work again. You probably have to re-import all your media, I know I had to.
     
  7. Lehmden
    • Premium Supporter

    Lehmden Retired Team Member

    Joined:
    December 17, 2010
    Messages:
    11,850
    Likes Received:
    2,146
    Gender:
    Male
    Location:
    Lehmden
    Ratings:
    +3,618 / 28
    Home Country:
    Germany Germany
    Show System Specs
    Hi.
    Great. Any chance to get a working binary soon? Can't wait to test it.
     
  8. FreakyJ
    • Team MediaPortal

    FreakyJ Development Group

    Joined:
    July 25, 2010
    Messages:
    4,021
    Likes Received:
    839
    Gender:
    Male
    Ratings:
    +1,424 / 1
    Home Country:
    Germany Germany
    I think the MP Client is partly is broken due to the MIA rework, so I fear you won't be happy with the binary :)
     
  9. FreakyJ
    • Team MediaPortal

    FreakyJ Development Group

    Joined:
    July 25, 2010
    Messages:
    4,021
    Likes Received:
    839
    Gender:
    Male
    Ratings:
    +1,424 / 1
    Home Country:
    Germany Germany
    After struggling with the MP2 Client I could test it a little bit.
    Here is the Result:
    MP2Ext works great with AmpDroid, at least the TvSeries part (y) Really smooth with skipping etc. Really nice!
    Live Tv still doesn't work for me so. I have next week another exam so I hadn't enough time on one peace to attach a debugger to it and take a close look. It could be the end of next week until I get to it.

    The DLNA Server works nicely with BubbleUPnP but not with Windows Media Player. I saw in the logs that it uses the default profile. I guess we miss a profile for that one. So I couldn't get it to work with the Computer at all. Unformtunately VLC doesn't show anything if I go to the UPnP Tab in the Playlist, so I couldn't test this...
     
  10. henso
    • Team MediaPortal

    henso Development Group

    Joined:
    February 16, 2012
    Messages:
    1,936
    Likes Received:
    459
    Gender:
    Male
    Ratings:
    +698 / 0
    Home Country:
    Denmark Denmark
    IIRC Serviio has problems with WMP also because they don't conform with standard fully. I think some people had luck with the XBOX profile.
    I tested it only with RTSP because testing with timeshift files is not possible for me.
     
    • Like Like x 1
  11. bartmanson
    • Premium Supporter

    bartmanson MP Donator

    Joined:
    December 28, 2004
    Messages:
    127
    Likes Received:
    23
    Location:
    Nuremberg
    Ratings:
    +45 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Is there any update on the UPnP server? I would switch to MP2 and help testing if the UPnP server were available...
     
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!