ccextractor --version CCExtractor 0.94, Carlos Fernandez Sanz, Volker Quetschke.
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
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.
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.
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?