CCExtractor - Official version maintained by the core team
Go to file
Colin Cogle b08c5faa74
Some checks failed
Build CCExtractor on Linux / build_shell (push) Has been cancelled
Build CCExtractor on Linux / build_autoconf (push) Has been cancelled
Build CCExtractor on Linux / cmake (push) Has been cancelled
Build CCExtractor on Linux / cmake_ocr_hardsubx (push) Has been cancelled
Build CCExtractor on Linux / build_rust (push) Has been cancelled
Build CCExtractor on Mac / build_shell (push) Has been cancelled
Build CCExtractor on Mac / build_autoconf (push) Has been cancelled
Build CCExtractor on Mac / cmake (push) Has been cancelled
Build CCExtractor on Mac / build_rust (push) Has been cancelled
Build CCExtractor on Windows / build_release (push) Has been cancelled
Build CCExtractor on Windows / build_debug (push) Has been cancelled
Fix compile-time issue involving implicit declaration of mapclut_paletee() (#1648)
* Fix implicit declaration error on some systems.

This commit fixes a compile-time error regarding an implicit declaration
of mapclut_paletee() on some compilers and compiler versions.  Notably,
Arch Linux and Ubuntu 24.10 seem to be affected.

The error resolved is:

```
../src/lib_ccx/ocr.c: In function 'ocr_rect':
../src/lib_ccx/ocr.c:922:9: error: implicit declaration of function 'mapclut_paletee' [-Wimplicit-function-declaration]
  922 |         mapclut_paletee(palette, alpha, (uint32_t *)rect->data1, rect->nb_colors);
      |         ^~~~~~~~~~~~~~~
```

This was resolved by `#include`-ing "ccx_encoders_spupng.h" in the file
src/lib_ccx/ocr.c.  Thanks to GitHub user @steel-bucket for sharing the
fix in this issue's comments.

Fixes: #1646

* Update CHANGES.TXT.

Mention the fix for #1646.

Fixes: #1646
2024-11-27 11:47:41 -08:00
.github chore(deps): bump actions/cache from 3 to 4 (#1633) 2024-08-12 23:42:44 +05:30
Dictionary Move show specific dictionaries to separate repo. (#891) 2018-01-09 12:14:18 -08:00
docker [FEATURE]: Create Docker image for CCExtractor (#1611) 2024-07-16 20:17:57 -07:00
docs Fix compile-time issue involving implicit declaration of mapclut_paletee() (#1648) 2024-11-27 11:47:41 -08:00
fonts Add GUI for CCExtractor (GSoC 2017) (#794) 2017-10-11 14:11:39 -07:00
icon Add GUI for CCExtractor (GSoC 2017) (#794) 2017-10-11 14:11:39 -07:00
linux [FEATURE] Create linux AppImage for building CCExtractor (#1592) 2024-03-03 14:59:44 -08:00
mac [rust] add parser (#1619) 2024-08-10 12:55:21 +02:00
OpenBSD Bump version 0.93 -> 0.94 2021-12-14 09:46:01 -08:00
package_creators Update debian.sh 2021-12-23 19:41:44 +00:00
src Fix compile-time issue involving implicit declaration of mapclut_paletee() (#1648) 2024-11-27 11:47:41 -08:00
tests [FEAT] Use system gpac library instead of vendoring gpacmp4 (#1535) 2023-08-17 20:03:03 +00:00
tools Cleanup vs configs (#1539) 2023-05-29 18:34:15 +00:00
windows [rust] add parser (#1619) 2024-08-10 12:55:21 +02:00
.clang-format [IMPROVEMENT] Clang format (#1222) 2020-01-30 09:00:00 -08:00
.gitignore [rust] add parser (#1619) 2024-08-10 12:55:21 +02:00
.travis.yml [FIX] Travis build for macOS. Also add cmake build test. (#1063) 2019-03-23 15:24:42 -07:00
LICENSE.txt [IMPROVEMENT] Add LICENSE File (#959) 2018-03-12 11:19:47 -07:00
README.md Update README.md (#1373) 2021-08-10 14:13:09 +02:00
Vagrantfile Added Vagrantfile 2016-12-13 14:32:35 +03:00
WORKSPACE Build with Bazel (#1316) 2021-04-04 16:07:12 -07:00

logo

CCExtractor

Build Status Sample-Platform Build Status Windows Sample-Platform Build Status Linux SourceForge GitHub All Releases

CCExtractor is a tool used to produce subtitles for TV recordings from almost anywhere in the world. We intend to keep up with all sources and formats.

Subtitles are important for many people. If you're learning a new language, subtitles are a great way to learn it from movies or TV shows. If you are hard of hearing, subtitles can help you better understand what's happening on the screen. We aim to make it easy to generate subtitles by using the command line tool or Windows GUI.

The official repository is (CCExtractor/ccextractor) and master being the most stable branch.

Features

  • Extract subtitles in real-time
  • Translate subtitles
  • Extract closed captions from DVDs
  • Convert closed captions to subtitles

Programming Languages & Technologies

The core functionality is written in C. Other languages used include C++ and Python.

Installation and Usage

Downloads for precompiled binaries and source code can be found on our website.

Extracting subtitles is relatively simple. Just run the following command:

ccextractor <input>

This will extract the subtitles.

More usage information can be found on our website:

You can also find the list of parameters and their brief description by running ccextractor without any arguments.

You can find sample files on our website to test the software.

Compiling CCExtractor

To learn more about how to compile and build CCExtractor for your platform check the compilation guide.

Support

By far the best way to get support is by opening an issue at our issue tracker.

When you create a new issue, please fill in the needed details in the provided template. That makes it easier for us to help you more efficiently.

If you have a question or a problem you can also contact us by email or chat with the team in Slack.

If you want to contribute to CCExtractor but can't submit some code patches or issues or video samples, you can also donate to us

Contributing

You can contribute to the project by reporting issues, forking it, modifying the code and making a pull request to the repository. We have some rules, outlined in the contributor's guide.

News & Other Information

News about releases and modifications to the code can be found in the CHANGES.TXT file.

For more information visit the CCExtractor website: https://www.ccextractor.org

License

GNU General Public License version 2.0 (GPL-2.0)