Project

General

Profile

Bug #2788

teletext subtitle decoding does not work, sample included.

Added by danny skjodt over 9 years ago. Updated over 9 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
Parsers
Target version:
-
Start date:
2015-04-06
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Found in version:
git from yesterday
Affected Versions:

Description

Hey ive got a sample here from a tv channel where subs only works if you take it out from tvheadend as pass, using matroska leaves empty subs.


Files

sample.ts (73 MB) sample.ts danny skjodt, 2015-04-18 22:16
sample2.mkv (14 MB) sample2.mkv danny skjodt, 2015-04-23 15:44

Subtasks

Bug #2757: text-tv subtitle not handled like subtitlesRejected

Actions

History

#1

Updated by Jaroslav Kysela over 9 years ago

What does mkvinfo say about the recorded file ? Note that tvheadend stores subtitles ASIS with type S_DVBSUB . ffmpeg can handle them, but most players can't.

#2

Updated by danny skjodt over 9 years ago

Jaroslav Kysela wrote:

What does mkvinfo say about the recorded file ? Note that tvheadend stores subtitles ASIS with type S_DVBSUB . ffmpeg can handle them, but most players can't.

My player is XBMC, its pretty simple to reproduce, hook up the ts file as a channel, and try with vlc first to get it out as pass, then matroska, the last one will have empty subs.

#3

Updated by Jaroslav Kysela over 9 years ago

I believe that the S_DVBSUB track is in the matroska stream, but the player does not handle it correctly. Just look to the matroska file using mkvinfo.

#4

Updated by danny skjodt over 9 years ago

Jaroslav Kysela wrote:

I believe that the S_DVBSUB track is in the matroska stream, but the player does not handle it correctly. Just look to the matroska file using mkvinfo.

Yes the subtitle tracks is in the stream, but they are empty, nothing shows up when you select em, tvheadends matroska muxer fails to mux then in a way that players like vlc and xbmc that else have no problems with matroska subs shows no subs.

I think its pretty clear that tvheadends matroska muxer fails to mux these subs properly as mux pass works, and mux matroska leaves empty subtitles, you can select subtitle yes but no subtitles shows up.

#5

Updated by danny skjodt over 9 years ago

Here is a sample recorded in mkv from that channel, vlc would normaly play those text subs fine but they are empty ? :)

#6

Updated by danny skjodt over 9 years ago

Codec ID : S_TEXT/UTF8

#7

Updated by Jaroslav Kysela over 9 years ago

OK, so these subtitles are from teletext. Any teletext related errors in the log ?

#8

Updated by danny skjodt over 9 years ago

Jaroslav Kysela wrote:

OK, so these subtitles are from teletext. Any teletext related errors in the log ?

Nope no errors and sample.ts play fine and shows the subs using various players :/

#9

Updated by danny skjodt over 9 years ago

danny skjodt wrote:

Jaroslav Kysela wrote:

OK, so these subtitles are from teletext. Any teletext related errors in the log ?

Nope no errors and sample.ts play fine and shows the subs using various players :/

It gets even more strange, found out that in xbmc you can activate text tv, then find the right page and teletext works, but the ones tvheadend demuxes from the telx pid you can choose with L key or Subtitle button is still empty.

#10

Updated by Jaroslav Kysela over 9 years ago

Just a little note: The MPEG-TS teletext packets in the provided .ts sample are not parsed by current tvheadend at all (another packing system), so the subtitles are not decoded from teletext. I need to find what's packing scheme is used.

#11

Updated by Jaroslav Kysela over 9 years ago

  • Subject changed from subtitle muxing dont work, sample included. to teletext subtitle decoding does not work, sample included.
#12

Updated by Jaroslav Kysela over 9 years ago

  • Status changed from New to Fixed

Applied in changeset commit:tvheadend|200ba1f28c3567c8eff2a02d4026932faf276012.

#13

Updated by Jaroslav Kysela over 9 years ago

Fixed in v4.1-209-g200ba1f .

#14

Updated by danny skjodt over 9 years ago

Jaroslav Kysela wrote:

Fixed in v4.1-209-g200ba1f .

Tested and works, manny thanks :)

Also available in: Atom PDF