Project

General

Profile

Bug #3996

Mkvs generated by Tvheadend contain duplicated subtitles

Added by Karl Leuchowius about 8 years ago. Updated about 6 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

History

#1

Updated by Anonymous about 6 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 about 6 years ago

Retest with v4.2.6-64-gd319ccc18.

#3

Updated by Anonymous about 6 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 about 6 years ago

v4.2.6-65-g2e8d7e302

#5

Updated by Anonymous about 6 years ago

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

#6

Updated by Jaroslav Kysela about 6 years ago

  • Status changed from New to Fixed

Also available in: Atom PDF