Example of using ffmpeg for encode video file
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
ffmpeg
ffmpegEncoder
.gitattributes
.gitignore
README.md
ffmpegEncoder.sln

README.md

FFMpeg-encode-example

Example how to use ffmpeg to decode video file. Link to article about encode with FFMpeg. Russian Article

Program creates video with sound. Here is example settings:

// Frame size.
#define W_VIDEO 320
#define H_VIDEO 240
// Output file name.
#define FILE_NAME          "c:\\temp\\1.avi"
// Cound of frames in output file.
#define FRAME_COUNT        150
// Container.
#define CONTAINER          "auto"

CONTAINER - which container will we use. "auto" - use file extention. Another value is: "avi", "mp4", "mpeg", "wmv", "mov".