IceTV Forum

IceTV IceBox => General => Topic started by: Ian_AW on May 23, 2023, 08:51:24 PM

Title: Showing subtitles when playing a recording
Post by: Ian_AW on May 23, 2023, 08:51:24 PM
G'day,

Has anyone managed to get subtitles when playing a recording?

I have all the settings I can find set, but nothing.

Some of the searches say that OSDs are skin dependent. Could there be something in tvheadend that needs to be set that is stopping them from being saved in the first place?
Title: Re: Showing subtitles when playing a recording
Post by: DeltaMikeCharlie on May 24, 2023, 05:47:00 AM
I did a little bit of research into this a few weeks ago.

The data for captions is recorded by tvheadend.  I read on a Kodi forum somewhere as part of my research that they are aware of the situation of captions on playback and that it is caused by an outdated captions handling module.

In my research, I took a recording from the IceBox and played it with VLC on my PC and the captions showed.  When I copied it to my Topfield PVR, the captions did not show.  Whilst in VLC, the metadata showed that captions are contained on teletext page 801.

On the IceBox, I activated teletext page 801 and the captions appeared, however, the synchronisation was woeful.

The standard remote control unit supplied with the IceBox does not contain a number pad.  I can't remember if I plugged in a USB keyboard or used an after-market RCU with a number pad to type in the page number.

Only once, did I managed to get captions on playback with the IceBox remote.  A list of teletext channels showed on the bottom of the screen and I was able to select a page.  However, I have never been able to recreate the key sequence again.
Title: Re: Showing subtitles when playing a recording
Post by: IanL-S on May 24, 2023, 09:12:26 AM
If you change the TVHeadend default configuration for IceTV changing the "Stream profile" to "matroska" then subtitles/closed captions are more likely to work. This works with LibreELEC 10 used by IceTV, but does not work with LibreELEC 11.
Title: Re: Showing subtitles when playing a recording
Post by: raymondjpg on June 17, 2023, 11:47:29 AM
Quote from: IanL-S on May 24, 2023, 09:12:26 AMIf you change the TVHeadend default configuration for IceTV changing the "Stream profile" to "matroska" then subtitles/closed captions are more likely to work. This works with LibreELEC 10 used by IceTV, but does not work with LibreELEC 11.
I'm not sure if subtitles are working with live TV either in LibreELEC 11. Do you see any?
Title: Re: Showing subtitles when playing a recording
Post by: IanL-S on June 17, 2023, 12:02:34 PM
When doing beta testing for the LibreELEC IceBox build I was unable to get closed captions (cc)/subtitles to work. If I recall correctly, on some programs on 9GemHD and 9HD I was able to get them as Teletext.

It is very odd; Kodi automatically recognizes the existence of the cc/subtitles but refuses to display them. In LibreELEC 10 if frequently did not automatically recognize them.

Title: Re: Showing subtitles when playing a recording
Post by: raymondjpg on June 17, 2023, 12:37:05 PM
Quote from: IanL-S on June 17, 2023, 12:02:34 PMWhen doing beta testing for the LibreELEC IceBox build I was unable to get closed captions (cc)/subtitles to work. If I recall correctly, on some programs on 9GemHD and 9HD I was able to get them as Teletext.

It is very odd; Kodi automatically recognizes the existence of the cc/subtitles but refuses to display them. In LibreELEC 10 if frequently did not automatically recognize them.
I just checked that subtitles are working with live TV in IceBox BYO v1 (LibreELEC 10). I can't find any way to make them work in the IceBox BYO v2 (LibreELEC 11).

The only clue I could find as to why this might be is from https://betanews.com/2023/03/06/libreelec-11-linux-kodi-20-nexus/ viz "Two months ago, the Kodi Foundation released Kodi 20.0 'Nexus', the latest incarnation of its hugely popular home theater software. The new release comes with a wealth of changes, fixes and new features, including support for multiple instances of binary add-ons, AV1 Video support, and a massive rework of the subtitle system."

What this means for LibreELEC I don't know. I also do not see any subtitles on live TV in Kodi Nexus in Windows 11 running MediaPortal or Enigma2 back ends, but there might be other reasons for that.
Title: Re: Showing subtitles when playing a recording
Post by: IanL-S on June 20, 2023, 04:00:55 PM
Somewhere there is a statement that LibreELEC no longer supports DVB, and TVHeadend uses DVB. Not sure if that is the explanation. The problems with playback are not limited to those using TVHeadend.
Title: Re: Showing subtitles when playing a recording
Post by: raymondjpg on June 20, 2023, 04:35:08 PM
Quote from: IanL-S on June 20, 2023, 04:00:55 PMSomewhere there is a statement that LibreELEC no longer supports DVB, and TVHeadend uses DVB. Not sure if that is the explanation. The problems with playback are not limited to those using TVHeadend.
Maybe this https://forum.libreelec.tv/thread/27216-tvheadend-not-compatible-with-libreelec-v11-0/? But it's a furfy.
Title: Re: Showing subtitles when playing a recording
Post by: IanL-S on June 20, 2023, 05:36:34 PM
No, it was not that. Clearly it is incorrect statement or somehow the IceTV development team overcame the problem.
Title: Re: Showing subtitles when playing a recording
Post by: raymondjpg on June 21, 2023, 10:06:50 AM
Quote from: IanL-S on June 20, 2023, 05:36:34 PMNo, it was not that. Clearly it is incorrect statement or somehow the IceTV development team overcame the problem.
Then maybe this https://libreelec.tv/2023/03/06/libreelec-nexus-11-0-0/ viz "DVB Add-Ons are currently deactivated. Digital Devices and TBS have currently no support for recent kernels so we are out of options. If you require support for those devices please stay at LE10."

What "DVB Add-Ons" and "Digital Devices" means I don't know, not being in any way a linux, LibreELEC or Tvheadend expert, but I did have Tvheadend working in a vanilla installation of LibreELEC generic 11.0.1 (official) with the Hauppauge WinTV-dualHD Dual TV Tuner as used by IceBox.
Title: Re: Showing subtitles when playing a recording
Post by: TimC on July 29, 2023, 10:28:13 PM
Looking at this thread, I take it that subtitles can't work at present.

Does anyone have an idea of any timeline for getting it working?
Title: Re: Showing subtitles when playing a recording
Post by: MD on July 30, 2023, 08:47:38 AM
It's impossible to put exact time on the subtitles fix as we have to overcome the SSD failures problem first followed by some failing timer issues and then properly integrating the setup procedures so there is no weird 30 seconds wait and it all appears within the IceTV UI/UX.  Once that is all done then subtitles would be next.  As to how long? Impossible to say right now.
Title: Re: Showing subtitles when playing a recording
Post by: DeltaMikeCharlie on November 23, 2023, 05:18:14 PM
In Kodi, On playback, I went into Teletext and then called up page 801.  The Teletext was way ahead of the audio, but it was there.

screenshot00032-small.jpg

VLC

vlcsnap-2023-11-23-17h06m08s705.jpg
Title: Re: Showing subtitles when playing a recording
Post by: raymondjpg on November 23, 2023, 06:25:59 PM
Quote from: DeltaMikeCharlie on November 23, 2023, 05:18:14 PMIn Kodi, On playback, I went into Teletext and then called up page 801.  The Teletext was way ahead of the audio, but it was there.
It's always been there, a pity that there is no easy way to get Kodi to display it and get it in sync!

The teletext stream is definitely there in the transport stream for live TV, as using the IceBox as a back end for live TV in Emby Theater, teletext can be selected to display as formatted srt subtitles with MPC-BE configured as an external (live TV) player using its internal mpegts splitter.
Title: Re: Showing subtitles when playing a recording
Post by: DeltaMikeCharlie on November 23, 2023, 06:32:33 PM
I am currently playing with Kodi v21 (Omega).  I will have a look to see if there has been any improvement.

UPDATE: In my quick test, it was still the same in Kodi v21.
Title: Re: Showing subtitles when playing a recording
Post by: IanL-S on November 25, 2023, 07:35:10 AM
Quote from: DeltaMikeCharlie on November 23, 2023, 06:32:33 PM....

UPDATE: In my quick test, it was still the name in Kodi v21.

Typo? "same" rather than "name"?
Title: Re: Showing subtitles when playing a recording
Post by: DeltaMikeCharlie on November 25, 2023, 07:52:37 AM
Quote from: IanL-S on November 25, 2023, 07:35:10 AMTypo? "same" rather than "name"?
PEBCAK!
Title: Re: Showing subtitles when playing a recording
Post by: Hati on December 06, 2023, 11:15:30 PM
Right, so what exactly are you guys looking at? I just did the 1.11.3 update and subtitles now work beautifully.

I press the ok button (between the arrows), from the menu that comes up at the bottom of the screen, select the second rightmost icon, turn on subtitles in the window that pops up and PRESTO. Lovely subtitles on display.

Not all channels have subtitles. I tested on 7 HD.

WEKK DONE TEAM, fantastic effort.
Title: Re: Showing subtitles when playing a recording
Post by: robertdowdell on December 07, 2023, 06:19:45 AM
This topic is referring to showing subtitles when playing a recording. I think it has always been possible to show subtitles when watching live TV.
Title: Re: Showing subtitles when playing a recording
Post by: IanL-S on December 07, 2023, 07:39:35 AM
My recollection is that as of the first LibreELEC 11 build there was not support for closed caption (CC) for live TV; some programs support TELTEXT as well as CC.

Not had the chance to check with latest build.
Title: Re: Showing subtitles when playing a recording
Post by: raymondjpg on December 07, 2023, 05:38:48 PM
Quote from: IanL-S on December 07, 2023, 07:39:35 AMMy recollection is that as of the first LibreELEC 11 build there was not support for closed caption (CC) for live TV; some programs support TELTEXT as well as CC.

Not had the chance to check with latest build.
They look to be working now on live TV.

It would be useful to know if this has recently been fixed in LibreELEC, as so far there appears to be no resolution to the issue in Windows implementations of Kodi 20 or 21.