mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2024-12-22 19:11:27 +00:00
334a87aed1
* Rename FFMPEG.TXT to FFMPEG.md * Update FFMPEG.md update file to use markdown.
1.8 KiB
1.8 KiB
Overview
FFmpeg Integration was done to support multiple encapsulations.
Dependencies
FFmpeg libraries
Download and Install FFmpeg on your Linux pc:
Download latest source code from following link https://ffmpeg.org/download.html
Then following command to install ffmpeg:
./configure && make && make install
Note:If you installed ffmpeg on non-standard location, please change/update your
environment variable $PATH
and $LD_LIBRARY_PATH
Download and Install FFmpeg on your Windows pc:
Download prebuilt library from following link: http://ffmpeg.zeranoe.com/builds/
You need to download Shared Versions to run the program and Dev Versions to compile.
How to compile ccextractor
On Linux:
make ENABLE_FFMPEG=yes
On Windows:
Put the path of libs/include of ffmpeg library in library paths.
- In visual studio 2013 right click and select property.
- Select Configuration properties in left panel(column) of property.
- Select VC++ Directory.
- In the right pane, in the right-hand column of the VC++ Directory property, open the drop-down menu and choose Edit.
- Add path of Directory where you have kept uncompressed library of FFmpeg.
Set preprocessor flag ENABLE_FFMPEG=1
- In visual studio 2013 right click and select property.
- In the left panel, select Configuration Properties, C/C++, Preprocessor.
- In the right panel, in the right-hand column of the Preprocessor Definitions property, open the drop-down menu and choose Edit.
- In the Preprocessor Definitions dialog box, add
ENABLE_FFMPEG=1
. Choose OK to save your changes.
Add library in linker
- Open property of project
- Select Configuration properties
- Select Linker in left panel(column)
- Select Input
- Select Additional dependencies in right panel
- Add all FFmpeg's lib in new line