All Projects → ShiftMediaProject → Ffvs Project Generator

ShiftMediaProject / Ffvs Project Generator

Licence: lgpl-2.1
A program that can scan existing FFmpeg/LibAV source files and dynamically generate a Visual Studio project file.

Projects that are alternatives of or similar to Ffvs Project Generator

Framework
Machine learning, computer vision, statistics and general scientific computing for .NET
Stars: ✭ 4,177 (+4440.22%)
Mutual labels:  visual-studio, ffmpeg
FFmpeg
Unofficial FFmpeg with added custom native Visual Studio project build tools. FFmpeg: A complete, cross-platform solution to record, convert and stream audio and video.
Stars: ✭ 479 (+420.65%)
Mutual labels:  visual-studio, ffmpeg
Imageio Ffmpeg
FFMPEG wrapper for Python
Stars: ✭ 81 (-11.96%)
Mutual labels:  ffmpeg
Namava Downloader
Download movies from `namava.ir` website. | لینک جایگزین جهت احتیاط: https://gitlab.com/NabiKAZ/namava-downloader
Stars: ✭ 89 (-3.26%)
Mutual labels:  ffmpeg
Blog
Android 面试宝典、数据结构和算法、音视频 (FFmpeg、AAC、x264、MediaCodec)、 C/C++ 、OpenCV、跨平台等学习记录。【0基础音视频进阶学习路线】
Stars: ✭ 1,263 (+1272.83%)
Mutual labels:  ffmpeg
Mediasoup3 Record Demo
Simple Record Demo using Mediasoup 3 and GStreamer
Stars: ✭ 84 (-8.7%)
Mutual labels:  ffmpeg
Capslockindicator
A small utility that indicates the state of the Num lock, Caps lock and Scroll lock key.
Stars: ✭ 87 (-5.43%)
Mutual labels:  visual-studio
Xf wx
微信小程序+ 讯飞语音 实现个人语音助手
Stars: ✭ 79 (-14.13%)
Mutual labels:  ffmpeg
Soundpusher
Virtual audio device, real-time encoder and SPDIF forwarder for macOS
Stars: ✭ 91 (-1.09%)
Mutual labels:  ffmpeg
Live Dl
Download live streams from YouTube
Stars: ✭ 82 (-10.87%)
Mutual labels:  ffmpeg
Ffpyplayer
A cython implementation of an ffmpeg based player.
Stars: ✭ 89 (-3.26%)
Mutual labels:  ffmpeg
Learnffmpeg
Android FFmpeg 音视频开发极简教程
Stars: ✭ 74 (-19.57%)
Mutual labels:  ffmpeg
Llvm Vs2017 Integration
MSBuild 15.0 Toolset integration for multiple LLVM (From v5 to v8)
Stars: ✭ 84 (-8.7%)
Mutual labels:  visual-studio
Ffmpegandroidlibrary
One line integration for FFMPEG Library in Android
Stars: ✭ 88 (-4.35%)
Mutual labels:  ffmpeg
Vscode Angular Typescript Snippets
Visual Studio Code TypeScript snippets (TypeScript, Html, Angular Material, Flex Layout, ngRx, RxJS & Testing) for Angular 5
Stars: ✭ 82 (-10.87%)
Mutual labels:  visual-studio
Xvideo
一个能自动进行压缩的小视频录制库
Stars: ✭ 90 (-2.17%)
Mutual labels:  ffmpeg
Google Cloud Visualstudio
Google Cloud Tools for Visual Studio
Stars: ✭ 80 (-13.04%)
Mutual labels:  visual-studio
Aurio
Audio Fingerprinting & Retrieval for .NET
Stars: ✭ 84 (-8.7%)
Mutual labels:  ffmpeg
Ksplayer
iOS/macOS/tvOS video player
Stars: ✭ 86 (-6.52%)
Mutual labels:  ffmpeg
Ffmpegcmdsdk
ffmpeg and ffprobe android command line tools
Stars: ✭ 92 (+0%)
Mutual labels:  ffmpeg

FFVS-Project-Generator

Build status Github All Releases GitHub release GitHub issues license donate

About

The FFmpeg VS Project Generator is a standalone program that can be used to create a custom Visual Studio project within a FFmpeg source code distribution. This program allows for the created Visual Studio project to be customised using virtually any of the options supported by FFmpegs default configure script. This allows for selecting which dependency libraries and codec/format support should be built into the created project file. With the output project FFmpeg libraries and programs can be built and debugged directly within Visual Studio.

FFmpeg

FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata. https://ffmpeg.org

Downloads

Pre-built executables are available from the releases page in a single archive containing both 32bit and 64bit versions.

Generating Custom Project Files

This project comes with the ffmpeg_generator program which can be used to build custom project files. This program accepts many of the configuration parameters that are supported by FFmpegs standard configure script (see FFmpegs documentation for more details). These options can be used to disable/enable specific options that define how FFmpeg is built. Using ffmpeg_generator a new project can be built using these options.

To generate a custom project using different configuration options simply build ffmpeg_generator and then run it by passing in the desired config options. In order for the generator to run it must have access to the ffmpeg source files that should be built into the new generated project. The generator will search for the source configure file in order to find what options are avilable for the current sources. This file must be accessible for the program to run, if the generator cannot find the configure files location then the input command option --rootdir= can be used to specify its location.

For example to build FFmpeg without any additional dependencies:

ffmpeg_generator.exe --enable-gpl --enable-version3 --disable-bzlib --disable-iconv --disable-zlib --disable-lzma --disable-sdl --toolchain=msvc

As well as enabling/disabling dependency libraries, specific config options can also be enabled/disabled. For instance a project that does not require yasm can be built by passing --disable-yasm. Specific FFmpeg programs can also be disabled such as --disable-ffprobe which will prevent a project file being generated for the FFmpeg program ffprobe.

The generator is designed to automatically resolve dependencies so if a configure option is disabled all options that depend on it will also be disabled accordingly.

For a complete list of available commands the --help option can be passed to the generator. This will give the complete list of accepted options based on the current sources.

By default the generator will build a project using the latest available toolchain detected on the host computer. This can be changed by hand in the generated projects properties Project Configuration->General->Platform Toolset if an older toolset is desired. The generator also supports use of the Intel compiler. The --toolchain= option can be used to change between standard Microsoft compiler (msvc) and the Intel compiler (icl).

Note: FFmpeg requires C99 support in order to compile. Only Visual Studio 2013 or newer supports required C99 functionality and so any older version is not supported. Visual Studio 2013 or newer is required. If using an older unsupported version of Visual Studio the Intel compiler can be used to add in the required C99 capability.

The project generator will also check the availability of dependencies. Any enabled options must have the appropriate headers installed in *OutputDir otherwise an error will be generated.

Sevaral automated batch files are supplied with the project that can be used to generate FFmpeg projects based on dependencies provided by ShiftMediaProject (smp_project_generate_gpl etc.). These batch files can be used to build projects based on various configurations and they can also optionally download all the appropriate dependency libraries that are supplied by ShiftMediaProject.

  • OutputDir is the Output Directory specified in the project properties.
    Note: There is a different OutputDir for 32/64bit configurations. Lib's and DLL's should be placed in the correct directory.
    Any header files will need to be placed in the Output directories include folder OutputDir\include.
    By default the 32bit lib OutputDir is OutputDir/lib/x86 and 64bit is OutputDir/lib/x64. DLLs follow a similar scheme except using OutputDir/bin/x86 and for 64bit OutputDir/bin/x64.
    The default value of OutputDir is ....\msvc relative to the FFmpeg source directory. An example of the expetced directory structure is:
    • msvc (OutputDir)
    • source >
      • FFmpeg
      • ..Any other libraries source code..

Using the Supplied Dependency Projects

Many of the possible FFmpeg dependencies (and their dependencies) are provided by the ShiftMediaProject repositories.

Many of the possible FFmpeg dependencies (and there dependencies) are available in the ShiftMediaProject repositories. However the following is a list of extra dependency options that require external downloads if used:

  1. opengl (requires glext)
    1. Download glext.h and wglext.h from opengl.org.
    2. Save the header files into OutputDir/include/gl/*.
  2. opencl (requires latest Intel/AMD OpenCL or NVIDIA CUDA SDK)
    1. Download either the "Intel OpenCL SDK", "AMD OpenCL SDK" or the "NVIDIA CUDA SDK" from their respective suppliers.
    2. Install the downloaded SDK wherever desired.
  3. ffnvcodec/nvdec/nvenc (requires nv-codec-headers)
    1. Download the nv-codec-headers repository from https://github.com/FFmpeg/nv-codec-headers
    2. Save the contents of the nv-codec-headers repositories "include" folder into "OutputDir/include/*".
  4. cuda-sdk (requires latest NVIDIA CUDA SDK)
    1. Download the NVIDIA CUDA SDK from the NVIDIA website
    2. Install the downloaded SDK wherever desired.
  5. amf (requires Advanced Media Framework (AMF) SDK headers)
    1. Download the AMF repository from https://github.com/GPUOpen-LibrariesAndSDKs/AMF
    2. Save the contents of the AMF repositories "amf/public/include" into "OutputDir/include/AMF/*".
  6. decklink (requires Blackmagic DeckLink SDK)
    1. Download the "Blackmagic DeckLink SDK" from the Blackmagic website.
    2. Extract the downloaded SDK wherever desired.
    3. Run the following command from a Visual Studio developer command prompt in the "Win/include" folder: midl /win32 /h DeckLinkAPI.h DeckLinkAPI.idl
    4. Copy the newly created "DeckLinkAPI.h" and "DeckLinkAPI_i.c" files to OutputDir/include/*.

Any dependencies supplied by ShiftMediaProject should be downloaded next to the FFmpeg folder as they will use the same OutputDir location. Projects to build each dependency can be found in the respective repository ./SMP directories.

Only dependencies built from supplied ShiftMediaProject repositories are tested and supported. Using compiled dependencies from other sources may result in version or other issues. Although these external sources generally work fine any problems associated with them are not covered by ShiftMediaProject and so they should be used with discretion.

Building with ASM

If the enable-nasm option is used to generate a project then in order to use the output project file using msvc you must first download and install NASM. NASM is required to compile all used assembly files.

  1. Visual Studio NASM integration can be downloaded from https://github.com/ShiftMediaProject/VSNASM/releases/latest
  2. Once downloaded simply follow the install instructions included in the download.

Note: Older source versions of FFmpeg used YASM for assembly compilation instead of NASM if using an older source release then YASM integration will be needed instead. The installation of YASM is identical to that of NASM https://github.com/ShiftMediaProject/VSYASM/releases/latest

License

FFVS-Project-Generator itself is released under LGPLv2. The generated output project(s) and source can be used with existing FFmpeg source code such that any resultant binaries created by the generated projects will still conform to the license of the FFmpeg source code itself. This means the output binaries are licensed based on the command line specified when generating the projects (i.e. --enable-gpl etc.).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].