ccextractor/README.md

149 lines
5.2 KiB
Markdown
Raw Normal View History

2016-11-29 19:57:25 +00:00
![logo](https://avatars3.githubusercontent.com/u/7253637?v=3&s=100)
# CCExtractor
2016-12-01 01:16:10 +00:00
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.
2014-04-12 11:17:14 +00:00
2016-12-05 20:44:57 +00:00
Carlos' version (mainstream) is the most stable branch.
2014-04-12 11:17:14 +00:00
2017-02-07 23:06:49 +00:00
## Google Summer of Code 2017
2017-03-02 23:05:36 +00:00
CCExtractor has been invited to Summer of Code 2017! Another summer of coding fun.
2017-02-07 23:06:49 +00:00
2017-02-07 23:09:01 +00:00
If you are a student currently enrolled in university most likely you are eligible to participate. Read more at:
- [Google Summer of Code official website ](https://summerofcode.withgoogle.com/)
2017-03-06 20:29:21 +00:00
- [CCExtractor's main GSoC page](https://www.ccextractor.org?id=public:gsoc:ideas_page_for_summer_of_code_2017)
2017-02-07 23:06:49 +00:00
2016-12-01 01:16:10 +00:00
## Installation and Usage
2014-08-12 15:15:39 +00:00
2017-03-06 20:29:21 +00:00
Downloads for precompiled binaries and source code can be found [on our website](https://www.ccextractor.org?id=public:general:downloads).
2016-11-29 19:57:25 +00:00
2016-12-01 01:16:10 +00:00
Extracting subtitles is relatively simple. Just run the following command:
2016-11-29 19:57:25 +00:00
2016-12-01 01:16:10 +00:00
```ccextractor <input>```
2016-11-29 19:57:25 +00:00
2016-12-01 01:16:10 +00:00
This will extract the subtitles.
2016-11-29 19:57:25 +00:00
2016-12-01 01:16:10 +00:00
More usage information can be found on our website:
2016-11-29 19:57:25 +00:00
2017-03-06 20:29:21 +00:00
- [Using the command line tool](https://www.ccextractor.org/doku.php?id=public:general:command_line_usage)
- [Using the Windows GUI](https://www.ccextractor.org/doku.php?id=public:general:win_gui_usage)
2016-11-29 19:57:25 +00:00
2016-11-29 19:57:25 +00:00
## Compiling
### Debian/Ubuntu
# make sure you have CCExtractor repository forked
# clone repository
sudo apt-get install -y git
git clone https://github.com/%USERNAME%/ccextractor.git # paste your github username
# installing dependencies
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
# compiling (Choose any one of 2 methods)
2017-03-13 06:10:11 +00:00
METHOD 1: If you don't want to obtain object files
cd ccextractor/linux
./build
METHOD 2: Standard linux compilation through Autoconf scripts
2017-03-13 06:10:11 +00:00
sudo apt-get install autoconf #Dependency to generate configuration script
cd ccextractor/linux
2017-03-13 06:10:11 +00:00
./autogen.sh
./configure
make
# test your build
./ccextractor
### Fedora
# make sure you have CCExtractor repository forked
# clone repository
sudo yum install -y git
git clone https://github.com/%USERNAME%/ccextractor.git # paste your github username
# installing dependencies
sudo yum install -y gcc
sudo yum install -y tesseract-devel # leptonica will be installed automatically
2017-03-13 06:10:11 +00:00
# compiling (Choose any one of the 3 methods)
METHOD 1: If you don't want to obtain object files
cd ccextractor/linux
./build
METHOD 2: Standard linux compilation through Autoconf scripts
2017-03-13 06:10:11 +00:00
sudo dnf install autoconf automake #Dependency to generate configuration script
cd ccextractor/linux
2017-03-13 06:10:11 +00:00
./autogen.sh
./configure
make
# test your build
./ccextractor
2017-04-10 12:17:54 +00:00
### Arch Linux
# make sure you have CCExtractor repository forked
# clone repository
sudo pacman -S git
git clone https://github.com/%USERNAME%/ccextractor.git # paste your github username
# building installation package (.pkg.tar.xz) or installing directly
cd ccextractor/package_creators
./arch.sh
2017-04-15 17:19:13 +00:00
### Redhat Package Manager (rpm) based Linux Distributions
# make sure you have CCExtractor repository forked
# clone repository
# install git via source
git clone https://github.com/%USERNAME%/ccextractor.git # paste your github username
# building installation package (.rpm)
cd ccextractor/package_creators
./rpm.sh
2017-04-10 12:17:54 +00:00
### OSX
#PRE-REQUISITES:
#Installing required packages via Homebrew
brew install pkg-config
brew install autoconf automake libtool
brew install tesseract
brew install leptonica
#After installing Make sure tesseract and leptonica are detected by pkg-config
METHOD 1: Using build.command script
cd ccextractor/mac
./build.command
METHOD 2: Using 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.
2016-11-29 19:57:25 +00:00
2016-12-01 01:16:10 +00:00
## Support
2017-03-06 20:29:21 +00:00
By far the best way to get support is by opening an issue at our [issue tracker](https://github.com/CCExtractor/ccextractor/issues).
2016-12-01 01:16:10 +00:00
2017-03-06 20:29:21 +00:00
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.
2016-12-01 01:16:10 +00:00
2017-03-06 20:29:21 +00:00
You can also [contact us by email or chat with the team in Slack](https://www.ccextractor.org/doku.php?id=public:general:support).
2016-12-01 01:16:10 +00:00
2016-11-29 19:57:25 +00:00
## Contributing
2017-03-06 20:29:21 +00:00
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](https://github.com/CCExtractor/ccextractor/blob/master/.github/CONTRIBUTING.md).
2016-11-29 19:57:25 +00:00
2016-12-01 01:16:10 +00:00
## News & Other Information
2016-11-29 19:57:25 +00:00
2016-12-01 01:16:10 +00:00
News about releases and modifications to the code can be found in the `CHANGES.TXT` file.
2014-08-18 17:52:43 +00:00
2017-03-06 20:29:21 +00:00
For more information visit the CCExtractor website: [https://www.ccextractor.org](https://www.ccextractor.org)