Discussion: Find and Download Subtitles (1 Viewer)

aspik

Development Group
  • Team MediaPortal
  • April 14, 2008
    1,386
    556
    Here are my test results:
    - if I play a video with multiple external subs, its not possible to switch between this files (languages).
    - if I play a video which has embedded subs and external subs, then its possible to switch (in the CC Menu) from the default loaded (in my test it was the external one) to the embedded subs.
    - once you do the switch it is not possible to do it backwards (from embedded to external)
    - attached a screenshot when playing a video with embedded and external subs. If I play a video with only embedded subs, in the menu are only two positions: "Show Subtitles" and "Hide Subtitles"

    Do you think you can list in the menu all available external and embedded subs?
    May I suggest an another request? :) In MP1 its possible to adjust the playing delay of the subs. Do you think this is possible with this filter? Of course for this its necessary to add some GUI, like a slide..
     

    Attachments

    • external_subs.png
      external_subs.png
      40.4 KB · Views: 94

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,982
    3,703
    Stuttgart
    Home Country
    Germany Germany
    Country flag
    • Thread starter
    • Moderator
    • #82
    Hi, I've been reading up on this thread.

    I did check the problem a bit more already:
    • Our DotNetStreamSource correctly sets the local path, so IFileSource gets the correct value
    I think you all are forgetting about one important use case:
    MP2 Server and Client may run on a different machine!

    If you test with Server and Client on one PC - it is obvious that it should work, because in that case the MP2 client does have a local file path!
    I guess this is the scenario you all tested - can you confirm?

    When MP2 Server is on a different machine in the network - we don't have a local file path! And then the subtitle filter cannot find any external subtitle files - MP2 has to find and provide them itself. This is where the DotNetStreamSource is actually required in order to NOT use dokan mounting.
     

    aspik

    Development Group
  • Team MediaPortal
  • April 14, 2008
    1,386
    556
    I guess this is the scenario you all tested - can you confirm?
    Yes, your right, I've tested this running server and client on the same PC. I don't have a multiseat environment... maybe someone could test it running server on a different PC. But, I guess your right and it won't work...
    Do you have an idea how this could be fixed?
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,752
    7,115
    Home Country
    Germany Germany
    Country flag
    I think you all are forgetting about one important use case:
    MP2 Server and Client may run on a different machine!
    No I have not forgotten about this ;)

    But the step we have taken now improves the situation for local stored and files from network paths. So it might solve maybe 80% of common use cases. For the rest we still need to find a solution though.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,752
    7,115
    Home Country
    Germany Germany
    Country flag
    I made some tests now, with current code (SR'15 U1) and the modified version by @henso.

    The results were different, which surprised me.

    Current version:
    • VSFilter is added to and properly connected in the graph
    • DXVA is not enabled
    01_normal_vsfilter.PNG
    Autoload filter:
    • VSFilter is in graph, but not connected
    • DXVA is enabled
    02_autoload_noDXVA.PNG
    My test file was the same.

    General
    Unique ID : 302744177024252588100021192685653688982 (0xE3C268589A9780C27E6A43D1DAC98296)
    Complete name : M:\Serien\Almost Human\Almost Human - S01E01 - 2048.mkv
    Format : Matroska
    Format version : Version 2
    File size : 480 MiB
    Duration : 42mn 51s
    Overall bit rate : 1 567 Kbps
    Writing application : HandBrake 6391svn 2014090501
    Writing library : Lavf55.12.0

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 4 frames
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 42mn 51s
    Width : 720 pixels
    Height : 576 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 25.000 fps
    Standard : PAL
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Writing library : x264 core 142 r2479 dd79a61
    Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
    Default : Yes
    Forced : No
    Color primaries : BT.601 PAL
    Transfer characteristics : BT.709
    Matrix coefficients : BT.601
    Color range : Limited

    Audio
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : A_AAC
    Duration : 42mn 51s
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 KHz
    Compression mode : Lossy
    Title : Stereo
    Default : Yes
    Forced : No

    So the question is if the used xy-VSFilter is the way to go, if it breaks DXVA? Can someone confirm this? IIRC I saw @Sebastiii talking about the MPC-HC sub engine which is used in MP1 and that VSFilter breaks DXVA.
     

    mrj

    Portal Pro
    January 27, 2012
    252
    100
    Country flag
    So the question is if the used xy-VSFilter is the way to go, if it breaks DXVA? Can someone confirm this? IIRC I saw @Sebastiii talking about the MPC-HC sub engine which is used in MP1 and that VSFilter breaks DXVA.



    I got subtitles shown by simply adding xy-subfilter to the graph :) So no need to render them manually.

    The filter sits between the video decoder and our evr presenter. This has the potential for breaking dxva, but I didn't notice and slow playback (but I don't have slow hardware). I am unsure how to exactly test if dxva is still used during playback.

    If we have the dxva problem, I think we can use the newer version of the filter which has extra interfaces/methods to get the rendered subtitle so we can present it outself.But that needs changes to our presenter if I'm not mistaken.



    About that :
    Could be nice to implement a good way of subtitle support. Video render needs to support it so DXVA can be used, it seems xy-VSFilter has an interface for that
    MPC-HC has already code for the subtitle consumer part, so it wont be too dificult for MP2 EVR renderer to be modified (Hopping :) )
     
    Last edited:

    Users who are viewing this thread

    Similar threads

    This is not possible if it is a self made series, like personal travel videos etc.
    This is not possible if it is a self made series, like personal travel videos etc.
    Hi! I have videos that I want to show in TV-Series, such as personal TV series and educational series. As some examples I have...
    Replies
    8
    Views
    424
    It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me over the edge for sure.;)
    It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me...
    We are proud to present MediaPortal 2.3 MediaPortal 2.3 is a full-blown media center software that addresses the most common user...
    Replies
    4
    Views
    2K
    Hello @aspik, thanks for that screenshot! Now I finally understand where to enable 'ATSC Closed Captions' -- not in the right-click Player configuration menu > Subtitle but in Settings > Players > Video player > Subtitles. And yes by enabling the option there, ATSC subtitles are indeed being shown in my local OTA streams. Player...
    Hello @aspik, thanks for that screenshot! Now I finally understand where to enable 'ATSC Closed Captions' -- not in the...
    MediaPortal 2 Version: 2.2.2 Description From a previous bug report for MP 2.2.1 here: [fixed] - [MP2-611] Having problems with...
    Replies
    2
    Views
    446
    We are proud to present MediaPortal 2.3.1 MediaPortal 2.3.1 is a full-blown media center software that addresses the most common user requirements out of the box. Aside from its support for Live TV and Radio, it offers a complete media server for music, movies, and TV shows. Info is automatically downloaded from various sources to...
    We are proud to present MediaPortal 2.3.1 MediaPortal 2.3.1 is a full-blown media center software that addresses the most common...
    We are proud to present MediaPortal 2.3.1 MediaPortal 2.3.1 is a full-blown media center software that addresses the most common...
    Replies
    0
    Views
    766
    Hi Lehmden Please forgive me for not making things clear, and ny the way, it's not you, your English is absolutely perfect. Europe ALWAYS puts us to shame when it comes to language because in UK "Education" we spend so long learning how wonderful the UK and its monarchy is we don't have time to learn the more important and useful...
    Hi Lehmden Please forgive me for not making things clear, and ny the way, it's not you, your English is absolutely perfect. Europe...
    Hi I am trying MP2 and getting on very well, finding the system more logical and very smooth now. The setup and configuration all...
    Replies
    10
    Views
    900
    Top Bottom