Giter Site home page Giter Site logo

Comments (3)

ziriax avatar ziriax commented on May 28, 2024

Okay, I found out that I needed to do the following to enable nvenc:

  • git clone https://github.com/FFmpeg/nv-codec-headers
  • copy the include folder from this cloned repo to the msvc folder
  • add the option --enable-ffnvcodec to the PGOPTIONS environment variable in the batch file.
  • run the batch file to generate the project

Closing this then.

from ffvs-project-generator.

Sibras avatar Sibras commented on May 28, 2024

FFVS emulates the behavior specified in the ffmpeg source configure script which currently autodetects nvenc/nvdec so all you need is the headers in the include folder.

Although I have update the bat files so that the explicitly force enable the options anyway.

from ffvs-project-generator.

ziriax avatar ziriax commented on May 28, 2024

Nice!

I am not sure you need the CUDA SDK, nvenc and nvdec themselves do not need CUDA I believe, but other parts might need it, not sure. It does compile without the CUDA SDK, and nvenc is listed as encoder after the build completes.

I succeeded in making a build, but it is now stuck in an infinite loop in ffmpeg (we are feeding rendered raw images through a Windows pipe). This used to work with an older FFMPEG that we build using the windows build helpers under Ubuntu. So back to drawing board ;-)

from ffvs-project-generator.

Related Issues (20)

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.