Project

General

Profile

Bug #3996

Mkvs generated by Tvheadend contain duplicated subtitles

Added by Karl Leuchowius over 5 years ago. Updated over 3 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2016-09-25
Due date:
% Done:

0%

Estimated time:
Found in version:
4.1.2190 (2016-08-21T19:56:49+0200)
Affected Versions:

Description

Hi,

I'm using Tvheadend (4.1.2190) on a Synology NAS (ds215j) and I'm having issues with TV recordings. I'm using the Matroska stream profile for recordings as it seems to be the only way of enabling subtitles in Kodi. All is fine for live streaming; however, for many recordings most subtitles are duplicated. The recorded subtitles are of the type "TEXTSUB".

I've included a sample recording and the extracted subtitles.
The subtitles play fine in VLC, but in Kodi they appear duplicated.

Cheers,
Karl


Files

NCIS_ Los Angeles-TEN Digital2016-08-24.mkv (3.42 MB) NCIS_ Los Angeles-TEN Digital2016-08-24.mkv sample recording Karl Leuchowius, 2016-09-25 01:29
ncis.srt (497 Bytes) ncis.srt extracted subtitles Karl Leuchowius, 2016-09-25 01:29
3996 sub issue.mkv (7.43 MB) 3996 sub issue.mkv MKV sample Anonymous, 2018-10-04 17:23
3996 sub issue.ts (8.35 MB) 3996 sub issue.ts Pass-thru sample Anonymous, 2018-10-04 17:24
3996 subtitles from mkv.srt (1.02 KB) 3996 subtitles from mkv.srt MKV subtitles Anonymous, 2018-10-04 17:25
3996 subtitles from ts.srt (445 Bytes) 3996 subtitles from ts.srt Pass-thru subtitles Anonymous, 2018-10-04 17:25

Associated revisions

Revision 43ffe8b6 (diff)
Added by Jaroslav Kysela over 3 years ago

parser teletext: try to avoid duplicate subtitles, fixes #3996

Revision d319ccc1 (diff)
Added by Jaroslav Kysela over 3 years ago

parser teletext: try to avoid duplicate subtitles, fixes #3996

Revision 2e8d7e30 (diff)
Added by Jaroslav Kysela over 3 years ago

parser teletext: a little more fix for duplicate subtitles, fixes #3996

Revision cb2aeb36 (diff)
Added by Jaroslav Kysela over 3 years ago

parser teletext: a little more fix for duplicate subtitles, fixes #3996

History

#1

Updated by Anonymous over 3 years ago

I'm also having this issue in recordings with Textsub subtitles (using Tvheadend 4.2.6-42~g406ba887c).

There seems to be a (possibly related?) issue with duration too - duration is always 0 and the correct end timestamp is instead being set as start timestamp for a following empty subtitle instead.

If any more recording samples are needed, I'd be happy to help!

#2

Updated by Jaroslav Kysela over 3 years ago

Retest with v4.2.6-64-gd319ccc18.

#3

Updated by Anonymous over 3 years ago

Just tested with 4.2.6-64~gd319ccc, but doesn't seem to help sadly (maybe partially, seems some are not duplicated and some are).

I've attached a 30 second sample of the same show recorded in both pass-thru and MKV profiles, and the subtitles extracted from each (for MKV, extracted using MKVToolNix mkvextract tool; for TS, remuxed with mkvmerge then extracted with mkvextract).

#4

Updated by Jaroslav Kysela over 3 years ago

v4.2.6-65-g2e8d7e302

#5

Updated by Anonymous over 3 years ago

4.2.6-65-g2e8d7e3 appears to have fixed the duplicates. Many thanks!

#6

Updated by Jaroslav Kysela over 3 years ago

  • Status changed from New to Fixed

Also available in: Atom PDF