INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: DVB Subtitle support in 24.0.56 for Windows  (Read 4112 times)

bigmuscles

  • Junior Woodchuck
  • **
  • Posts: 92
DVB Subtitle support in 24.0.56 for Windows
« on: October 10, 2018, 03:28:10 am »

"NEW: DVB Subtitle support for live TV.  Untested, please test and report how it works."

been looking forward to this feature for ages, but i can't find anyway to switch the subtitles on for over air dvb T signal
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #1 on: October 10, 2018, 06:30:22 am »

"NEW: DVB Subtitle support for live TV.  Untested, please test and report how it works."

been looking forward to this feature for ages, but i can't find anyway to switch the subtitles on for over air dvb T signal

Right-click in video window.  Look for "Subtitiles".

This support is for DVB Subtitles only.  It does not work with Teletext subtitles.  So if you live in some countries such as Australia, you will not see it.
Logged
Yaobing Deng, JRiver Media Center

bigmuscles

  • Junior Woodchuck
  • **
  • Posts: 92
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #2 on: October 10, 2018, 07:45:21 am »

Right-click in video window.  Look for "Subtitiles".

only via mouse why not a remote key when most are viewing via theater mode?
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #3 on: October 10, 2018, 09:55:56 am »

Right-click in video window.  Look for "Subtitiles".

This support is for DVB Subtitles only.  It does not work with Teletext subtitles.  So if you live in some countries such as Australia, you will not see it.
I only see option "Off" under subtitles. DVB-C, Finland
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #4 on: October 10, 2018, 10:31:31 am »

Right-click in video window.  Look for "Subtitiles".

only via mouse why not a remote key when most are viewing via theater mode?

It will come later.

I only see option "Off" under subtitles. DVB-C, Finland

Please email me a log.  yaobing at jriver dot
Logged
Yaobing Deng, JRiver Media Center

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #5 on: October 10, 2018, 11:00:02 am »

Please email me a log.  yaobing at jriver dot
Sent. Thanks for looking into this
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #6 on: October 11, 2018, 02:01:48 pm »

Please try downloading these DLLs.

Unzip, copy JRTelevision.dll into MC24 installation folder and copy MJTSFileWriter.ax into the "TV" subfolder.

This is for 64-bit version.  If you need 32-bit version, let me know.
Logged
Yaobing Deng, JRiver Media Center

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #7 on: October 11, 2018, 02:28:14 pm »

New logs sent. "Off" is still only choice but there seems to be dvb subs filter now in the graphs.

I can also take graph and logs when playing recorded file (recorded with dvbviewer) which has the subtitles in the ts container
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Logged
Yaobing Deng, JRiver Media Center

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #10 on: October 17, 2018, 08:17:15 am »

Would it be possible for you to provide me with a short TS recording of a TV program containing subtitles?  You will need to use a file storage service such as DropBox.  Thanks.
Logged
Yaobing Deng, JRiver Media Center

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #11 on: October 22, 2018, 10:22:05 am »

Please try these files.

The files with .dll extension go into MC installation folder.  The two files with extension .ax go into the TV subfolder.

Logged
Yaobing Deng, JRiver Media Center

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #12 on: October 23, 2018, 12:22:46 am »

Please try these files.

The files with .dll extension go into MC installation folder.  The two files with extension .ax go into the TV subfolder.
There are now some pid numbers under subtitles but can't seem to select any of them.  At least there is no visual to confirm that one can be selected. Also no subtitles appear in the video if I try to select some of the streams.
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #13 on: October 23, 2018, 07:40:41 am »

There are now some pid numbers under subtitles but can't seem to select any of them.  At least there is no visual to confirm that one can be selected. Also no subtitles appear in the video if I try to select some of the streams.

Thanks for testing.  Could you recording a short piece in JTV format and share with me?  Thanks.
Logged
Yaobing Deng, JRiver Media Center

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #14 on: October 25, 2018, 09:19:49 am »

Please try these DLLs again.  (please see my next post below).

The files with .dll extension go into MC installation folder.  The two files with extension .ax go into the TV subfolder.

Also, I would appreciate someone sharing a short recording in JTV format (10 seconds of recording should be long enough) on a channel that is known to have DVB Subtitles using the latest DLLs posted here.  Thanks.
Logged
Yaobing Deng, JRiver Media Center

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #15 on: October 25, 2018, 10:50:22 am »

Sorry, I have to make another update.  If you already downloaded from my last post, please download again.
Logged
Yaobing Deng, JRiver Media Center

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #16 on: October 25, 2018, 04:47:53 pm »

Sorry, I have to make another update.  If you already downloaded from my last post, please download again.
send you a link to .ts file. Subtitles are now shown!
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #17 on: October 25, 2018, 05:57:11 pm »

send you a link to .ts file. Subtitles are now shown!

Are you saying the subtitles appear in live TV playback?  If so that is great to hear.  If it is just the recorded TS file that shows the titles, then we still have a way to go.
Logged
Yaobing Deng, JRiver Media Center

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #18 on: October 26, 2018, 01:16:05 am »

Are you saying the subtitles appear in live TV playback?  If so that is great to hear.  If it is just the recorded TS file that shows the titles, then we still have a way to go.
DVB-subtitles in ts file have been working already (not sure if MC recorerded ts though). With your new filters they also appear in live stream. Can't turn them off though it seems.
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #19 on: October 29, 2018, 01:52:30 pm »

Currently when doing time-shifting, we are only able to write one subtitle stream into the time-shifting buffer.  That means, the subtitle choice is applied to samples currently written to the buffer.  If you are playing with a large time-shift, you will not see the subtitle change until the newly written samples are actually played.  Likewise, if you rewind, the subtitle you see might be the old choice.  I do not know if this is a factor in any of your tests, but I wanted to throw this out here so you know.
Logged
Yaobing Deng, JRiver Media Center

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #20 on: November 01, 2018, 01:45:57 pm »

There seems to be some confusion, and it is my fault.  Currently closed captioning or DVB Subtitling in live TV and TV recordings are controllable only via right-click context menu, not via OSD.

If you can confirm the you can turn subtitle on and off using the mouse, I will move on to implement the OSD portion.
Logged
Yaobing Deng, JRiver Media Center

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #21 on: November 03, 2018, 08:48:08 am »

There seems to be some confusion, and it is my fault.  Currently closed captioning or DVB Subtitling in live TV and TV recordings are controllable only via right-click context menu, not via OSD.

If you can confirm the you can turn subtitle on and off using the mouse, I will move on to implement the OSD portion.
Tested DVB-C with stock 24.0.60 and subtitle streams are correctly named (fin, swe) and UI allows me to switch selection (off, fin, swe) but subtitles are not shown in the screen. If I record same stream and watch it later offline the subs are shown and both languages work, so they are at least saved into .ts
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #22 on: November 03, 2018, 11:36:17 am »

Thanks for reporting back.  If you could, please record a short piece in JTV format (not .TS) so I can diagnose what is going on.  Zip up the entire folder of files that contains the JTV file.
Logged
Yaobing Deng, JRiver Media Center

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #23 on: November 03, 2018, 05:40:37 pm »

Finnish subs (they are first sub stream i guess) were working with your test dlls earlier but then I couldn't select anything else. Will test with .jtv tomorrow when there is some programs with subs on.
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #24 on: November 03, 2018, 06:12:55 pm »

When you collect the recording to share with me, also include the log files so I will get a more complete picture.  Thanks.
Logged
Yaobing Deng, JRiver Media Center

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #25 on: November 05, 2018, 01:27:13 pm »

Thanks for sending the log and JTV recordings.

I have found and fixed a couple of bugs:

Fixed: DVB Subtitle stream was not connected if one switches from non-time-shifting mode to time-shifting mode (or recording mode),
Fixed: DVB Subtitle switch was not working with OSD menu.

Please try the new DLLs linked here.

Due to the bugs, the recording clip in JTV format that you send me did not contain any subtitle packets.  Could you please make another attempt using the DLLs linked here?  Thanks for all your troubles.
Logged
Yaobing Deng, JRiver Media Center

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #26 on: November 07, 2018, 08:06:54 am »

Thanks for the JTV Recording.  It did reveal something.  During the short time period in which it was recorded, the TV engine did not write the DVB Subtitle metadata info to file.  That resulted in menu not showing anything to choose from for subtitles.  After faking subtitle metadata in the debugger, I was actually able to get the subtitle on the screen albeit only one line in the last couple of seconds of the video.  Probably the subtitle packets came in a little late.  If the video were a little shorter, we would have missed the packets.

So, we are making progress.

Here is another set of DLLs for you to try.

From your log files, I see that you are using non-time-shifting mode for live TV.  Please make sure you test both time-shifting mode and non-time-shifting mode as the two are handled separately and we need to make both work.
Logged
Yaobing Deng, JRiver Media Center

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #27 on: November 12, 2018, 05:17:53 pm »

Logged
Yaobing Deng, JRiver Media Center

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #28 on: November 13, 2018, 11:41:15 am »

Please try these DLLs.
Okay! Now we've got something.

Timeshift not enabled:
Got subs instantly when changed channel to one with DVB subs and it seems that every subitle is also displayed now. I can switch them on and off from OSD or with mouse.

Bugs: If I change channel, subitles from previous channel keep coming. This can be fixed by setting subs off and then on again and after that correct subs are shown (channels are inside same mux so driver is able to keep showing subtitles of the previous channel) If next channel is in different mux nothing is shown before I switch subtitles off and on

E: Tested briefly with timeshifting on and subs seems to appear. Took about 30s though before first ones was displayed
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #29 on: November 13, 2018, 11:50:58 am »

Also subs could be maybe a tad higher. Other screenshot taken from dvbviewer
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: DVB Subtitle support in 24.0.56 for Windows
« Reply #30 on: November 14, 2018, 05:41:45 pm »

Bugs: If I change channel, subitles from previous channel keep coming. This can be fixed by setting subs off and then on again and after that correct subs are shown (channels are inside same mux so driver is able to keep showing subtitles of the previous channel) If next channel is in different mux nothing is shown before I switch subtitles off and on

Your last log does not seem to capture this sequence of events.  Please provide a log again, by going through the following

1. Restart MC.
2. Play in non-time-shifting mode.
3. Turn on a subtitle stream.
4. After see the subtitles, switch to a different channel.
5. Wait for a half a minute or more, and verify that subtitles for the new channel are not showing.
6. Turn subtitle off and then on and verify the subtitles are showing.  Save the log file.
Logged
Yaobing Deng, JRiver Media Center
Pages: [1]   Go Up