DVB subtitles from TNT (France) #47

Closed
opened 2026-01-29 16:33:54 +00:00 by claunia · 1 comment
Owner

Originally created by @cfsmp3 on GitHub (Apr 8, 2015).

I have tried to extract dvb subtitles in text or picture format of of a
dvb-t record from TNT in France without any success.
Are there any limitation in dvb subtitles support with current version of
cc extractor ?

Here is the extract of the record I tried to
http://dl.free.fr/gn7ofWDq0

[Carlos' note: Uploaded to /Franck/m6record.ts in developer's repository]

Vlc can display the subtitles without any problem
I tried buy a build version of 0.76 of ccextractor
It look like there is a problem in pts parsing as min and max pts are indentical

Here is the result:
Opening file: /home/franck/sub/videos/m6record.ts
File seems to be a transport stream, enabling TS mode
Analyzing data in general mode

Number of NAL_type_7: 0
Number of VCL_HRD: 0
Number of NAL HRD: 0
Number of jump-in-frames: 0
Number of num_unexpected_sei_length: 0

Total frames time: 00:00:00:000 (0 frames at 29.97fps)

Min PTS: 13:33:58:190
Max PTS: 13:33:58:190
Length: 00:00:00:000

Originally created by @cfsmp3 on GitHub (Apr 8, 2015). I have tried to extract dvb subtitles in text or picture format of of a dvb-t record from TNT in France without any success. Are there any limitation in dvb subtitles support with current version of cc extractor ? Here is the extract of the record I tried to http://dl.free.fr/gn7ofWDq0 [Carlos' note: Uploaded to /Franck/m6record.ts in developer's repository] Vlc can display the subtitles without any problem I tried buy a build version of 0.76 of ccextractor It look like there is a problem in pts parsing as min and max pts are indentical # Here is the result: Opening file: /home/franck/sub/videos/m6record.ts File seems to be a transport stream, enabling TS mode Analyzing data in general mode Number of NAL_type_7: 0 Number of VCL_HRD: 0 Number of NAL HRD: 0 Number of jump-in-frames: 0 Number of num_unexpected_sei_length: 0 Total frames time: 00:00:00:000 (0 frames at 29.97fps) Min PTS: 13:33:58:190 Max PTS: 13:33:58:190 Length: 00:00:00:000
Author
Owner

@okisseloff commented on GitHub (Apr 16, 2015):

There were "empty" PES packets (00 00 01 BE 00 01 FF) in the dvb-subtitle stream. Since minimum size for video PES is 9 bytes, but we were parsing non video PES, parsing had to be terminated. I tested fix using couple TS and PS files and everything worked fine, so it seems fix https://github.com/CCExtractor/ccextractor/pull/154 doesn't affect other stream and file types.

@okisseloff commented on GitHub (Apr 16, 2015): There were "empty" PES packets (00 00 01 BE 00 01 FF) in the dvb-subtitle stream. Since minimum size for video PES is 9 bytes, but we were parsing non video PES, parsing had to be terminated. I tested fix using couple TS and PS files and everything worked fine, so it seems fix https://github.com/CCExtractor/ccextractor/pull/154 doesn't affect other stream and file types.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#47