Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

GitHub Issue #1542

19 views
Skip to first unread message

CCExtractor.org CI Platform

unread,
Jun 6, 2023, 11:19:34 PM6/6/23
to ccextra...@googlegroups.com
QUESTION: Can't get MCC output to work with known good input - PyCoder040
Link to Issue: https://www.github.com/CCExtractor/ccextractor/issues/1542
PyCoder040

ccextractor --version CCExtractor 0.94, Carlos Fernandez Sanz, Volker Quetschke.

Teletext portions taken from Petr Kutalek's telxcc

CCExtractor detailed version info Version: 0.94 Git commit: 5b7666965fa92735eba8953d8acda7ba4f7ef220 Compilation date: 2023-06-07 CEA-708 decoder: Rust File SHA256: Could not open file

Libraries used by CCExtractor Tesseract Version: 5.2.0 Leptonica Version: leptonica-1.82.0 libGPAC Version: 1.0.1 zlib: 1.2.11 utf8proc Version: 2.4.0 protobuf-c Version: 1.3.1 libpng Version: 1.6.37 FreeType libhash nuklear libzvbi

In raising this issue, I confirm the following:

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.
  • I have used the latest available version of CCExtractor to verify this issue exists.
  • I have ticked all the boxes in this section and to prove it I'm deleting the section completely to remove boilerplate text.

Necessary information

  • Is this a regression (i.e. did it work before)? {notsure}
  • What platform did you use? {Linux}
  • What were the used arguments? ccextractor -debug -in=raw -out=mcc 3.bin -o 4.mcc

So testing my input I get valid captions ``` [user@p5810r hyperdeck]# ccextractor -debug -in=raw 3.bin -stdout

CCExtractor 0.94, Carlos Fernandez Sanz, Volker Quetschke.

Teletext portions taken from Petr Kutalek's telxcc

Input: Files (1): 3.bin [Extract: 1] [Stream mode: McPoodle's raw] [Program : Auto ] [Hauppage mode: No] [Use MythTV code: Auto] [CEA-708: 63 decoders active] [CEA-708: using charset "none" for all services] [Timing mode: Auto] [Debug: Yes] [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][Filter profanity: 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] [Quantisation-mode: CCExtractor's internal function]


Opening file: 3.bin Analyzing data in McPoodle raw mode Sending captions to stdout. 1 00:00:03,404 --> 00:00:06,171 In this lesson, we're going to be talking about finance. And

2 00:00:06,173 --> 00:00:10,009 one of the most important
aspects
of finance is interest.

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

Min PTS: 00:00:00:001 Max PTS: 00:00:10:111 Length: 00:00:10:110 Done, processing time = 0 seconds Issues? Open a ticket here https://github.com/CCExtractor/ccextractor/issues ```

But when I try to switch the output format to MCC, I get a fatal error message:

``` [user@p5810r hyperdeck]# ccextractor -debug -in=raw -out=mcc 3.bin -o 4.mcc CCExtractor 0.94, Carlos Fernandez Sanz, Volker Quetschke.

Teletext portions taken from Petr Kutalek's telxcc

Input: Files (1): 3.bin [Extract: 1] [Stream mode: McPoodle's raw] [Program : Auto ] [Hauppage mode: No] [Use MythTV code: Auto] [CEA-708: 63 decoders active] [CEA-708: using charset "none" for all services] [Timing mode: Auto] [Debug: Yes] [Buffer input: No] [Use pic_order_cnt_lsb for H.264: No] [Print CC decoder traces: No] [Target format: .mcc] [Encoding: UTF-8] [Delay: 0] [Trim lines: No] [Add font color data: Yes] [Add font typesetting: Yes] [Convert case: No][Filter profanity: 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] [Quantisation-mode: CCExtractor's internal function]


Opening file: 3.bin Analyzing data in McPoodle raw mode Output format not supported Output format not supported

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

Min PTS: 00:00:00:001 Max PTS: 00:00:10:111 Length: 00:00:10:110 Done, processing time = 0 seconds Issues? Open a ticket here https://github.com/CCExtractor/ccextractor/issues

```

After reviewing the code (ccx_encoders_common.c), I see that this error is generated when a 608 caption is to be stored in a MCC format. This leads me to believe that I can output MCC files as long as the input is not considered to be 608. I don't see where I can declare my payload to be non-608. So I think I'm just doing this wrong.

Is it possible for someone to post a working example of MCC output?

Reply all
Reply to author
Forward
0 new messages