CCExtractor - Official version maintained by the core team
Go to file
Matej Plavevski a40c9e2ca1 Create .travis.yml
Update .travis.yml

Update .travis.yml
2017-12-03 21:36:14 +01:00
.github Add contributors guide, update readme 2017-03-06 21:29:21 +01:00
api [FIX] Move files into appropriate directories & fix build scripts. (#781) 2017-10-02 12:16:04 -07:00
Dictionary Update dict_mr_robot.txt (#804) 2017-11-02 21:15:08 -07:00
docs More Google Code In Participants (#801) 2017-11-01 15:48:51 -07:00
fonts Add GUI for CCExtractor (GSoC 2017) (#794) 2017-10-11 14:11:39 -07:00
gsoc/skrill Python bindings with extraction of CE608 grid and writing to a SRT output. (#768) 2017-08-20 08:54:35 -07:00
icon Add GUI for CCExtractor (GSoC 2017) (#794) 2017-10-11 14:11:39 -07:00
linux [IMPROVEMENT]Modify Autoconf scripts to generate mac compatible tarball (#798) 2017-10-18 17:33:58 -07:00
mac [IMPROVEMENT]Modify Autoconf scripts to generate mac compatible tarball (#798) 2017-10-18 17:33:58 -07:00
OpenBSD Version 0.77 2015-06-20 17:00:19 +05:30
package_creators [IMPROVEMENT] Modify rpm.sh package script to preserve the source rpm (#788) 2017-10-06 16:35:35 -07:00
src Upgrade win_iconv (#815) 2017-12-02 20:52:29 -08:00
tests Remove SBS stuff from decoder_init 2017-01-15 23:55:41 +05:00
windows Added missing function prototype. 2017-10-18 12:55:46 -07:00
.gitignore [IMPROVEMENT]Modify Autoconf scripts to generate mac compatible tarball (#798) 2017-10-18 17:33:58 -07:00
.travis.yml Create .travis.yml 2017-12-03 21:36:14 +01:00
raspberrypi.md Fix Makefile compatibility issues with Raspberry pi 2016-12-02 21:14:25 -05:00
README.md Add GUI for CCExtractor (GSoC 2017) (#794) 2017-10-11 14:11:39 -07:00
Vagrantfile Added Vagrantfile 2016-12-13 14:32:35 +03:00

logo

CCExtractor

CCExtractor is a tool that produces subtitles from TV use. Global accessibility (all users, all content, all countries) is the goal. With so many different formats, this is a constantly moving target, but we intend to keep up with all sources and formats.

Carlos' version (mainstream) is the most stable branch.

Google Summer of Code 2017

CCExtractor has been invited to Summer of Code 2017! Another summer of coding fun.

If you are a student currently enrolled in university most likely you are eligible to participate. Read more at:

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.

Compiling CCExtractor (without GUI)

You may compile CCExtractor across all major platforms using CMakeLists.txt stored under ccextractor/src/ directory. Simply,

  1. Create and navigate to directory where you want to store built files
cd ccextractor/
mkdir build
cd build
  1. Generate makefile using cmake and then compile
cmake ../src/
make

You may also generate .sln files for Visual Studio and build using build tools, or open .sln files using Visual Studio.

cmake ../src/ -G "Visual Studio 14 2015"
cmake --build . --config Release --ccextractor

CCExtractor can also be compiled without cmake. System specific instructions are listed below :

Clone the latest repository from Github

git clone https://github.com/CCExtractor/ccextractor.git

Debian/Ubuntu

  1. Make sure all the dependencies are met.
sudo apt-get install -y gcc
sudo apt-get install -y libcurl4-gnutls-dev
sudo apt-get install -y tesseract-ocr
sudo apt-get install -y tesseract-ocr-dev
sudo apt-get install -y libleptonica-dev

# Note: On Ubuntu Version 14.04 (Trusty) and earlier, you should build leptonica and tesseract from source 
  1. Compiling

Using build script :

#Navigate to linux directory and call the build script

cd ccextractor/linux
./build

# test your build
./ccextractor

Standard linux compilation through Autoconf scripts :

sudo apt-get install autoconf      #Dependency to generate configuration script
cd ccextractor/linux
./autogen.sh
./configure
make

# test your build
./ccextractor

Fedora

  1. Make sure all the dependencies are met.
sudo yum install -y gcc
sudo yum install -y tesseract-devel # leptonica will be installed automatically
  1. Compiling

Using build script :

#Navigate to linux directory and call the build script

cd ccextractor/linux
./build

# test your build
./ccextractor

Standard linux compilation through Autoconf scripts :

sudo dnf install autoconf automake      #Dependency to generate configuration script
cd ccextractor/linux
./autogen.sh
./configure
make

# test your build
./ccextractor

MacOS

  1. Make sure all the dependencies are met. They can be installed via Homebrew as
brew install pkg-config
brew install autoconf automake libtool
brew install tesseract
brew install leptonica 

Make sure tesseract and leptonica are detected by pkg-config, e.g.

pkg-config --exists --print-errors tesseract
pkg-config --exists --print-errors lept
  1. Compiling

Using build.command script :

cd ccextractor/mac
./build.command OCR

If you don't want the OCR capabilities, then you don't need to configure the tesseract and leptonica packages, and build it with just

cd ccextractor/mac
./build.command 

Standard compilation through Autoconf scripts :

cd ccextractor/mac
./autogen.sh
./configure
make

Windows

Open the windows/ccextractor.sln file with Visual Studio (2015 at least), and build it. Configurations "(Debug|Release)-Full" includes dependent libraries which are used for OCR.

Compiling CCExtractor (with GUI)

Linux

  1. Make sure all the dependencies are met.
  • Build GLEW from source, instructions here
  • Build GLFW from source, instructions here
  1. Compiling
cd ccextractor/linux
./autogen.sh
./configure --with-gui
make

# test your build
./ccextractorGUI

MacOS

  1. Make sure all the dependencies are met. They can be installed via Homebrew as
brew install glfw
brew install glew
  1. Compiling
cd ccextractor/mac
./autogen.sh
./configure --with-gui
make

Windows

Open the windows/ccextractor.sln file with Visual Studio (2015 at least), and build it. Configurations "(Debug|Release)-Full" includes dependent libraries which are used for OCR.

Building Installation Packages

Arch Linux

building installation package (.pkg.tar.xz) or installing directly

cd ccextractor/package_creators
./arch.sh

Redhat Package Manager (rpm) based Linux Distributions

building installation package (.rpm)

cd ccextractor/package_creators
./rpm.sh

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.

You can also contact us by email or chat with the team in Slack.

Contributing

You can contribute to the project by 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