Skip to content
Permalink
Browse files

[IMPROVEMENT] Update FFMpeg guide to use markdown. (#1130)

* Rename FFMPEG.TXT to FFMPEG.md

* Update FFMPEG.md

update file to use markdown.
  • Loading branch information
grave-panda authored and cfsmp3 committed Dec 3, 2019
1 parent ee3418c commit 334a87aed1e38419e25f287481c68beee30e726b
Showing with 50 additions and 58 deletions.
  1. +0 −58 docs/FFMPEG.TXT
  2. +50 −0 docs/FFMPEG.md

This file was deleted.

@@ -0,0 +1,50 @@
# 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.
1. In visual studio 2013 right click <Project> and select property.
2. Select Configuration properties in left panel(column) of property.
3. Select VC++ Directory.
4. In the right pane, in the right-hand column of the VC++ Directory property, open the drop-down menu and choose Edit.
5. Add path of Directory where you have kept uncompressed library of FFmpeg.


#### Set preprocessor flag `ENABLE_FFMPEG=1`
1. In visual studio 2013 right click <Project> and select property.
2. In the left panel, select Configuration Properties, C/C++, Preprocessor.
3. In the right panel, in the right-hand column of the Preprocessor Definitions property, open the drop-down menu and choose Edit.
4. In the Preprocessor Definitions dialog box, add `ENABLE_FFMPEG=1`. Choose OK to save your changes.

#### Add library in linker
1. Open property of project
2. Select Configuration properties
3. Select Linker in left panel(column)
4. Select Input
5. Select Additional dependencies in right panel
6. Add all FFmpeg's lib in new line

0 comments on commit 334a87a

Please sign in to comment.
You can’t perform that action at this time.