mk3d extension support? (1 Viewer)

Lehmden

Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Hi.
    Lately I stumbled upon a matroska video that has the extension ".mk3d". This is something "official" from the matroska developers and is meant for MKV videos containing 3D material. In fact it is nothing else than mkv, only with a different extension. But not a single program supports this extension. I have to rename it to .mkv to get things working. Not even mediainfo recognises this as a media file.

    Is there a way to support this in MP2? I'm sure this extension will become more popular in time as it is an easy way to separate 2D from 3D videos. You simply need to rename your 3D files to .mk3d and you're good to go. If we want to support this we need to "fool" mediainfo by sending it as .mkv to the plugin, I fear...
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Hi.
    It did no work. The mk3d file was imported into the ML without issues but when I try to play it I get an "Es ist kein Player registriert..." error message.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    The cause is, that video's mimetype is detected as "video/unknown".

    You can add:
    XML:
        <!-- Try to play all unknown video types by default video player -->
        <VideoPlayerMimeTypeMapping Id="unknown" ClassName="MediaPortal.UI.Players.Video.VideoPlayer" MimeType="video/unknown"/>

    To this tag in VideoPlayer's plugin.xml: https://github.com/MediaPortal/Medi...rce/UI/Players/VideoPlayer/plugin.xml#L27-L31

    I'll add it to next weekly.
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Hi.
    This helps, now it's working.:D(y)
    So we have (at least for matroska videos) a nice way to detect if a video is 2D or 3D as a simple rename of .mkv to .mk3d will do the trick. Users are able to add the right property (sbs, tab,...) by hand with mkvtoolnix but also easily can change the file extension (with a multi- renamer tool) so clearly separate the 2D from 3D videos.
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    H:
    Yes, I know, but most (99%) of the 3D MKV out there did not have this tag set properly. And for now there is no easy way to set it right. You need to remux all mkv with MKVMergeGUi or fiddle with a shell and MKVPropedit to set this tag. So you can expect most of the 3D files not properly tagged. A rename is much easier to do and mk3D is (should be) never used for 2D videos at all. MK3D automatically should be treated as a 3D Video inside MP2, no matter if the Matroska Tags are set properly. The other way, a mkv with set 3D tag should be treated as 3D too also the extension mk3d better is used then....
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    MK3D automatically should be treated as a 3D Video inside MP2
    How should "mk3d" be treated differently?
    We don't have a MediaLibrary attribute for "3d" yet (altought it's already planned!). So a filtering is not yet possible.

    The 3D render pipelines are not switched automatically, and you would need to know if the video is SBS ot TAB, or MVC (which is AFAIK not supported by DirectShow filters, maybe with StereoPlayer).
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Hi.
    altought it's already planned!
    Exactly this I have in mind. MK3D files should then! automatically be added as 3D Videos, no matter if they are tagged properly or not...

    MVC (which is AFAIK not supported by DirectShow filters
    LAVF is working on this atm. But I don't know how far they are.

    you would need to know if the video is SBS ot TAB
    For this (as always) proper tagging is very important. I don't know if it is technically possible at all to detect if a Video is 2D, SBS or TAB excerpt for proper tagging...

    I think I need to find a way to add those tagging to MKV Buddy as well...
     

    Users who are viewing this thread

    Top Bottom