Package Details: ccextractor 0.94-3

Git Clone URL: (read-only, click to copy)
Package Base: ccextractor
Description: A closed captions and teletext subtitles extractor for video streams.
Upstream URL:
Licenses: GPL
Submitter: Booloki
Maintainer: Booloki
Last Packager: Booloki
Votes: 11
Popularity: 0.000236
First Submitted: 2015-12-17 14:44 (UTC)
Last Updated: 2022-08-09 07:00 (UTC)

Latest Comments

1 2 Next › Last »

OctopusET commented on 2023-03-09 07:40 (UTC) ffmpeg 5 compatibility bug is fixed. I will be included in next release. So ffmpeg dependency should be changed on next release.

Booloki commented on 2022-08-09 07:04 (UTC)

@OctopusET Package is now builded with ffpmeg4.4, until ffpmeg 5 compatibility.

OctopusET commented on 2022-07-18 15:48 (UTC) (edited on 2022-07-18 15:50 (UTC) by OctopusET)

What about building with ffpmeg4.4 package before ffpmeg5 compatible patch is merged?

Booloki commented on 2022-03-02 09:22 (UTC) (edited on 2022-03-02 09:23 (UTC) by Booloki)

@cihcsf Thank you for reporting upstream (

As the compatibility with the new ffpmeg 5 will take time, and unless a workaround patch, I will probably change the build to disable hardsub extraction which does no depends from ffmpeg. This simply means switching from ./build_hardsubx to ./build

For information, here are my CI pipelines: .

cihscf commented on 2022-03-01 12:50 (UTC) (edited on 2022-03-01 12:57 (UTC) by cihscf)

@binhex Do you have some information on which version of ffmpeg you have on your system? Might be best to report this upstream on the GitHub repo so it can be looked at, and possibly put restrictions on it if needed.

Edit: On my system, with ffmpeg 5.0 it's not compiling either, the same error as binhex. IIRC CCExctractor was still working with 4.4. I'll open an issue upstream.

binhex commented on 2022-03-01 10:59 (UTC)

im getting an error building this package:-

Building ccextractor
../src/lib_ccx/hardsubx.c: In function 'hardsubx_process_data':
../src/lib_ccx/hardsubx.c:16:9: warning: implicit declaration of function 'av_register_all' [-Wimplicit-function-declaration]
   16 |         av_register_all();
      |         ^~~~~~~~~~~~~~~
../src/lib_ccx/hardsubx.c:35:48: error: 'AVStream' has no member named 'codec'
   35 |                 if (ctx->format_ctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO)
      |                                                ^~
../src/lib_ccx/hardsubx.c:46:72: error: 'AVStream' has no member named 'codec'
   46 |         ctx->codec_ctx = ctx->format_ctx->streams[ctx->video_stream_id]->codec;
      |                                                                        ^~
../src/lib_ccx/hardsubx.c:47:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   47 |         ctx->codec = avcodec_find_decoder(ctx->codec_ctx->codec_id);
      |                    ^
../src/lib_ccx/hardsubx.c: In function '_init_hardsubx':
../src/lib_ccx/hardsubx.c:224:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  224 |         char *lang = options->ocrlang;
      |                      ^~~~~~~
../src/lib_ccx/hardsubx_decoder.c: In function 'hardsubx_process_frames_tickertext':
../src/lib_ccx/hardsubx_decoder.c:385:25: warning: implicit declaration of function 'avcodec_decode_video2'; did you mean 'avcodec_decode_subtitle2'? [-Wimplicit-function-declaration]
  385 |                         avcodec_decode_video2(ctx->codec_ctx, ctx->frame, &got_frame, &ctx->packet);
      |                         ^~~~~~~~~~~~~~~~~~~~~
      |                         avcodec_decode_subtitle2
Compiled with errors
==> ERROR: A failure occurred in build().
error making: ccextractor

It looks like the available ffmpeg is “too new” and they (deprecated and) removed the 'codec' member from AVStream recently, in favor of codecpar, is this the cause of the error perhaps?.

Booloki commented on 2021-12-24 09:41 (UTC)

@Taijian Rust and clang are indeed new build dependencies. I updated the PKGBUILD to move them in makedepends. I confirm upstream PKGBUILD is outdated: only version bumps are done since years.

cihscf commented on 2021-12-23 14:36 (UTC)

@Taijian The upstream PKGBUILD is outdated in that case; CCExtractor started using Rust as of this summer for the CEA-708 implementation. The flag is conditional, but enabled by default IIRC.

Taijian commented on 2021-12-23 14:32 (UTC)

Sorry, but why does this package pull in rust and clang? The PKGBUILD provided by upstream only has gcc-libs and tesseract in depends, why so much more here? Are these maybe makedepends?

Booloki commented on 2021-10-01 09:33 (UTC) (edited on 2021-10-01 09:42 (UTC) by Booloki)

I added 2 AUR packages for the CCExtractor flutter GUI : one for prebuilt binary (ccextractor-gui-bin) and one for the full building (ccextractor-gui), at your choice.