UPnP / DLNA Media Server for MediaPortal 2 (2 Viewers)

henso

Development Group
  • Team MediaPortal
  • February 16, 2012
    2,341
    832
    Home Country
    Denmark Denmark
    Now I have the file but it is missing in the project.
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,341
    832
    Home Country
    Denmark Denmark
    I also had a thought about movflags implementation in the profile. Could it not just be added automatically when targeting the mp4 container for transcoding?
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    Could it not just be added automatically when targeting the mp4 container for transcoding?
    Yes, I had it like that in the beginning, but there are different movflags. Normally the one to use should be "faststart", but the mp4 file was still unusable until the conversion was finished.
    I found another combination "frag_keyframe+empty_moov". Now I was able to open and play the file with VLC while transcoding was still in progress. But Streaming still didn't work with mp4 and the settings I used (see below). So I decided to implement it in that way in case somebody wants to spend more than one day on this problem or knows what he is doing^^

    <VideoTarget container="MP4" movflags="frag_keyframe+empty_moov" videoCodec="H264" audioCodec="Aac" forceTranscoding="true">
    This was one of your test targets. It makes huuuuuge video files. 2GB -> 12GB. So the settings probably not ideal. But as I said, I never worked much with transcoding. So I would probably need several days to figure something nice out :)
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    Maybe I should be more clear: I was hoping a user would spend some time figuring this out in case he needs it and it would be easier to change the xml file than compiling the plugin :whistle:
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,566
    3,947
    Lehmden
    Home Country
    Germany Germany
    Hi.
    Finally I've found the time to test the latest binaries...
    For the first time ever I was able to play a video (a TV Recording) delivered from the MP2 server via UPnP to my Tablet. Fantastic.:D:D:D(y)
    For this I needed to re-import the media source.

    But I've done a mistake, I imported my music source... This is on a NAS that needs User/Password... This import was eating all my CPU and lasts until eternity due to the enormous amount of those:
    [2015-09-08 21:41:33,905] [562602 ] [153 ] [INFO ] - DlnaMediaServer: Exception reading resource '{03dd2da6-4da8-4d3e-9e55-80e3165729a3}:////UHURA/Daten/Musik/Pop/A/Abba/1980 - Super Trouper/01 - Super Trouper.mp3' (Text: 'Der Zugriff auf den Pfad "\\UHURA\Daten\Musik\Pop\A\Abba\1980 - Super Trouper\01 - Super Trouper.mp3" wurde verweigert.')
    The credentials stored in the MP2 config are not used now, I think... That's why I have to remove the MediaServer Plugin again as this is blocking the regular usage of MP2.

    But you are on a good way.
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,341
    832
    Home Country
    Denmark Denmark
    I see, I am no transcoding expert either, so let somebody else play with it. (y)
     

    Users who are viewing this thread

    Top Bottom