Giter Site home page Giter Site logo

csaken / ffmpeg-nvenc-windows-build-with-mxe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brainiarc7/ffmpeg-nvenc-windows-build-with-mxe

0.0 0.0 0.0 10.51 MB

This is a Windows-only build of FFMpeg that you can cross-compile on Linux with mxe toolkit. This build supports NVIDIA NVENC hardware encoder on Kepler and Maxwell GPUs.

License: Other

Makefile 1.30% C 84.66% Objective-C 6.86% C++ 0.78% Shell 0.12% Assembly 6.24% Verilog 0.01% Roff 0.01% HTML 0.01% Perl 0.03% Python 0.01%

ffmpeg-nvenc-windows-build-with-mxe's Introduction

FFmpeg README

FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata. Libraries

libavcodec provides implementation of a wider range of codecs.
libavformat implements streaming protocols, container formats and basic I/O access.
libavutil includes hashers, decompressors and miscellaneous utility functions.
libavfilter provides a mean to alter decoded Audio and Video through chain of filters.
libavdevice provides an abstraction to access capture and playback devices.
libswresample implements audio mixing and resampling routines.
libswscale implements color conversion and scaling routines.

Tools

ffmpeg is a command line toolbox to manipulate, convert and stream multimedia content.
ffplay is a minimalistic multimedia player.
ffprobe is a simple analisys tool to inspect multimedia content.
Additional small tools such as aviocat, ismindex and qt-faststart.

Documentation

The offline documentation is available in the doc/ directory.

The online documentation is available in the main website and in the wiki. Examples

Conding examples are available in the doc/example directory. License

FFmpeg codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.

Notes on Building on Linux:

1.Download and install the NVIDIA NVENC SDK for Windows (Yes, that is correct). Extract the SDK's content, navigate to nvenc-xx.0/samples/nvEncoder/inc and copy the header files therein to /usr/include.

2.Ensure that the NVIDIA CUDA SDK is installed, and copy cuda.h to /usr/include.

  1. Download and copy the file D3D9.h to /usr/include

  2. Install and configure the MXE cross-compiler from https://github.com/mxe/mxe

You can then run ./configure with your customization options as is deemed necessary.

In my case, I built it with NVENC enabled with the following configuration options on Ubuntu 14.04 LTS:

Option 1: (Builds a 64-bit binary)

./configure --enable-memalign-hack --arch=x86_64 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pkg-config --enable-nonfree --enable-gpl --enable-version3 --enable-libmp3lame --enable-libopus --enable-libtheora --cpu=native --enable-libnvenc

Option 2: (Builds a 32-bit binary)

./configure --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pkg-config --enable-nonfree --enable-gpl --enable-version3 --enable-libmp3lame --enable-libopus --enable-libtheora --cpu=native --enable-libnvenc

Happy building.

Notes on this build:

  1. No libx264 as fallback. Uses libnvenc exclusively. You've been warned ;-)
  2. NVENC is for Kepler and Maxwell GPUs ONLY.
  3. Note the cross-compile option highlighted in the configure script above. It must NO be omitted.

ffmpeg-nvenc-windows-build-with-mxe's People

Contributors

brainiarc7 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.