mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-15 05:26:07 +00:00
[BUG] CCExtractor incompatible with ffmpeg 5.0 #686
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @canihavesomecoffee on GitHub (Mar 1, 2022).
CCExtractor version: 0.94 / master
Necessary information
Additional information
When building the AUR package for CCExtractor, building fails when the installed ffmpeg version on the system is 5.0.
FFmpeg released 5.0 January 17th, 2022 and seems to have quite some breaking changes.
@cfsmp3 commented on GitHub (Mar 1, 2022):
This should probably be a short GSoC project.
Indeed FFmpeg changed their API a lot (to the better, I must say), so this is not going to be something we can fix in one evening.
@PriamX commented on GitHub (Mar 3, 2022):
Just ran into that issue. Came here.
The
av_register_all()function has been listed as deprecated since ffmpeg 4.0 in the official changelog,avcodec_decode_video2()seems to as well, later on.@rhertzog commented on GitHub (Jul 5, 2022):
Hi, is there any plan to address this? Most distributions are busy to organize the switch to ffmpeg 5 and if ccextractor doesn't keep up, the package will end up removed. :-(
Thank you for your work on maintaining ccextractor!
@cfsmp3 commented on GitHub (Jul 5, 2022):
I think it's happening or will happen as part of the hardsubx rewrite effort by @PunitLodha and @shashwat1002.
I've seen references to FFmpeg 5 there.
@PunitLodha commented on GitHub (Jul 7, 2022):
Yes, this will be a part of the HardsubX rewrite. While we are working on it, a short term solution would be to compile CCExtractor without HardsubX support.
@rhertzog commented on GitHub (Jul 7, 2022):
Thanks @PunitLodha for the tip! Any idea / rough guess of when the HardsubX rewrite will be ready?
@PunitLodha commented on GitHub (Jul 7, 2022):
It should be ready before October
@utkarsh2102 commented on GitHub (Oct 4, 2022):
Hi @PunitLodha,
No rush or anything. Just a friendly ping asking about the ETA. :)
@PunitLodha commented on GitHub (Oct 4, 2022):
@utkarsh2102
Progress has been made on this. But the GSoC project was extended recently. So this will take a bit more time.
Do you build from the master branch, or will you have to wait for a new release?
@Booloki commented on GitHub (Oct 6, 2022):
Hello @PunitLodha,
Concerning Arch Linux, the AUR package is build from release versions.
@utkarsh2102 commented on GitHub (Oct 6, 2022):
Hi @PunitLodha,
Concerning Debian, the Debian package is built (and which is what we generally want to stick to) from a new release.
@gibmat commented on GitHub (Jan 3, 2023):
Any progress on ffmpeg5 compatibility? Debian's bookworm freezes are starting soon, and if ccextractor isn't in testing by early February it won't be part of bookworm.
@PriamX commented on GitHub (Feb 4, 2023):
Any update on the hardsub/ffmpeg5 front?
@cfsmp3 commented on GitHub (Feb 4, 2023):
@PriamX @gibmat We have it as a qualification task for GSoC 2023, let's see what happens.
@prateekmedia commented on GitHub (Feb 14, 2023):
Looking at this issue now. Will update soon.
@prateekmedia commented on GitHub (Feb 15, 2023):
Created a PR with a fix for this: #1479
@Geremia commented on GitHub (Oct 11, 2024):
@prateekmedia Is FFMPEG 7.0 compatible? I get the implicit function declaration issue when trying to build against it.
@prateekmedia commented on GitHub (Oct 11, 2024):
I think we are only supporting till ffmpeg 6.
@rboy1 commented on GitHub (Aug 12, 2025):
When trying to build ccextractor with
ENABLE_FFMPEGit gives this error:@prateekmedia it appears that these files weren't updated to ffmpeg 5. Was it intentional? Also would disabling
ENABLE_FFMPEGlimit any features in ccextractor? I want to use OCR and HardSubX.@cfsmp3 commented on GitHub (Dec 14, 2025):
We are past ffmpeg 5
@rboy1 commented on GitHub (Dec 14, 2025):
I believe these changes also apply to ffmpeg 6 and 7 (starting with 5)
@cfsmp3 commented on GitHub (Dec 14, 2025):
Is anything not working at the moment? We do build with ffmpeg