[BUG] Not able to process subtitles from DR (Danish) #354

Open
opened 2026-01-29 16:41:47 +00:00 by claunia · 0 comments
Owner

Originally created by @peterhaldbaek on GitHub (Jan 2, 2018).

CCExtractor version (using the --version parameter preferably) : 0.85

Necessary information

  • Is this a regression (did it work before)? [X] NO | [ ] YES - please specify the last known working version
  • What platform did you use? [ ] Windows - [ ] Linux - [X] Mac
  • What where the used arguments? ccextractor dr1_narrow_margin.mpg -codec dvbsub -dvblang dan -ocrlang dan -pn 101 -parsePAT

Video links
http://www.filedropper.com/dr1narrowmargin

Additional information

I am trying to extract subtitles from recordings of Danish DR I have done using an Elgato EyeTV Diversity USB tuner on a Mac. The recordings are TS streams, subtitles are available if I use VLC but I keep getting an error when I try to extract the subtitles and end up with an empty SRT file. This is the result I get when I run ccextractor from master (commit 84a9ea5572 from Dec 28) with OCR on a Mac running macOS 10.12.6

[peter@wolverine Narrow Margin] ccextractor dr1_narrow_margin.mpg -codec dvbsub -dvblang dan -ocrlang dan -pn 101 -parsePAT
CCExtractor 0.85, Carlos Fernandez Sanz, Volker Quetschke.
Teletext portions taken from Petr Kutalek's telxcc
--------------------------------------------------------------------------
Input: dr1_narrow_margin.mpg
[Extract: 1] [Stream mode: Autodetect]
[Program : 101 ] [Hauppage mode: No] [Use MythTV code: Auto]
[Timing mode: Auto] [Debug: No] [Buffer input: No]
[Use pic_order_cnt_lsb for H.264: No] [Print CC decoder traces: No]
[Target format: .srt] [Encoding: UTF-8] [Delay: 0] [Trim lines: No]
[Add font color data: Yes] [Add font typesetting: Yes]
[Convert case: No] [Video-edit join: No]
[Extraction start time: not set (from start)]
[Extraction end time: not set (to end)]
[Live stream: No] [Clock frequency: 90000]
[Teletext page: Autodetect]
[Start credits text: None]

-----------------------------------------------------------------
Opening file: dr1_narrow_margin.mpg
Detected MP4 box with name: meta
File seems to be a transport stream, enabling TS mode
Analyzing data in general mode
Read PAT packet (id: 0) ts-id: 0x03e9
  section length: 37  number: 0  last: 0
  version_number: 8  current_next_indicator: 1

Program association section (PAT)
  Program number: 0  -> PMTPID: 16
  Program number: 81  -> PMTPID: 81
  Program number: 101  -> PMTPID: 101
  Program number: 102  -> PMTPID: 102
  Program number: 111  -> PMTPID: 104
  Program number: 417  -> PMTPID: 401
  Program number: 1217  -> PMTPID: 2101

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

Min PTS:				06:58:45:629
Max PTS:				06:58:45:629
Length:				 00:00:00:000




ATTENTION!!!!!!
In switch_to_next_file(): Processing of dr1_narrow_margin.mpg 0 ended prematurely 819492 < 11946460, please send bug report.

Done, processing time = 0 seconds

No captions were found in input.
Issues? Open a ticket here
https://github.com/CCExtractor/ccextractor/issues

Not sure whether I am holding this thing wrong or if it is an actual error.

Update Jan 21st 2018

A new file has been uploaded at http://www.filedropper.com/dr3clip1.

Originally created by @peterhaldbaek on GitHub (Jan 2, 2018). CCExtractor version (using the --version parameter preferably) : 0.85 **Necessary information** - Is this a regression (did it work before)? [X] NO | [ ] YES - *please specify the last known working version* - What platform did you use? [ ] Windows - [ ] Linux - [X] Mac - What where the used arguments? `ccextractor dr1_narrow_margin.mpg -codec dvbsub -dvblang dan -ocrlang dan -pn 101 -parsePAT` **Video links** http://www.filedropper.com/dr1narrowmargin **Additional information** I am trying to extract subtitles from recordings of Danish DR I have done using an Elgato EyeTV Diversity USB tuner on a Mac. The recordings are TS streams, subtitles are available if I use VLC but I keep getting an error when I try to extract the subtitles and end up with an empty SRT file. This is the result I get when I run ccextractor from master (commit 84a9ea5572da4728fc4ad01b88978808c925ad9f from Dec 28) with OCR on a Mac running macOS 10.12.6 ``` [peter@wolverine Narrow Margin] ccextractor dr1_narrow_margin.mpg -codec dvbsub -dvblang dan -ocrlang dan -pn 101 -parsePAT CCExtractor 0.85, Carlos Fernandez Sanz, Volker Quetschke. Teletext portions taken from Petr Kutalek's telxcc -------------------------------------------------------------------------- Input: dr1_narrow_margin.mpg [Extract: 1] [Stream mode: Autodetect] [Program : 101 ] [Hauppage mode: No] [Use MythTV code: Auto] [Timing mode: Auto] [Debug: No] [Buffer input: No] [Use pic_order_cnt_lsb for H.264: No] [Print CC decoder traces: No] [Target format: .srt] [Encoding: UTF-8] [Delay: 0] [Trim lines: No] [Add font color data: Yes] [Add font typesetting: Yes] [Convert case: No] [Video-edit join: No] [Extraction start time: not set (from start)] [Extraction end time: not set (to end)] [Live stream: No] [Clock frequency: 90000] [Teletext page: Autodetect] [Start credits text: None] ----------------------------------------------------------------- Opening file: dr1_narrow_margin.mpg Detected MP4 box with name: meta File seems to be a transport stream, enabling TS mode Analyzing data in general mode Read PAT packet (id: 0) ts-id: 0x03e9 section length: 37 number: 0 last: 0 version_number: 8 current_next_indicator: 1 Program association section (PAT) Program number: 0 -> PMTPID: 16 Program number: 81 -> PMTPID: 81 Program number: 101 -> PMTPID: 101 Program number: 102 -> PMTPID: 102 Program number: 111 -> PMTPID: 104 Program number: 417 -> PMTPID: 401 Program number: 1217 -> PMTPID: 2101 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 Min PTS: 06:58:45:629 Max PTS: 06:58:45:629 Length: 00:00:00:000 ATTENTION!!!!!! In switch_to_next_file(): Processing of dr1_narrow_margin.mpg 0 ended prematurely 819492 < 11946460, please send bug report. Done, processing time = 0 seconds No captions were found in input. Issues? Open a ticket here https://github.com/CCExtractor/ccextractor/issues ``` Not sure whether I am holding this thing wrong or if it is an actual error. ## Update Jan 21st 2018 A new file has been uploaded at http://www.filedropper.com/dr3clip1.
claunia added the needs-confirmation-of-being-brokendifficulty: easyHacktoberfest labels 2026-01-29 16:41:47 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#354