
- #Configure ffmpeg for windows install
- #Configure ffmpeg for windows full
- #Configure ffmpeg for windows windows
Sdl2-config -> the absolute path of sdl2-config, e.g.
#Configure ffmpeg for windows install
Install SDL2 tar -xf SDL2-devel-2.0.Ĭp -r SDL2-2.0.16/x86_64-w64-mingw32 /opt/local/Ĭross Compile FFmpeg export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/local/x86_64-w64-mingw32/lib/pkgconfig disable-win32thread -disable-asm -enable-picĬp make-x86_64-w64-mingw32-Makefiles.sh my-make-x86_64-w64-mingw32-Makefiles.sh configure -prefix=/usr/local -host=mingw32 -cross-prefix=x86_64-w64-mingw32-enable-shared \ fdk-aac (install mingw64-x86_64-fdk-aac with cygwin-x86_64 setup)Ĭross Compile x264.
#Configure ffmpeg for windows windows
These will include ffmpeg.exe, ffplay.exe, and Compile FFmpeg for Windows Host Environment At the end of it's compiling (mine didn't throw any errors), you should have your binaries under ~/opt/ffmpeg-cross-compile/sandbox/x86/ffmpeg_git_with_aac. It automatically compiles in NVENC support, as well as most other encoders/decoders (including the ever loved AAC!). The script will go get the latest version of ffmpeg and dependencies and compile everything for you. I think mine took about 45 minutes to complete on my laptop.
#Configure ffmpeg for windows full
What follows are my steps for cross compiling ffmpeg with basically full support for NVENC and most other options baked in.įirst off, I followed this article ( ). Plus, I <3 Linux so I'm used to compiling my own stuff. While I do have a Visual Studio install, I thought cross compiling would be easier. Further, default compile options do not include NVENC (NVidia's current hardware accelerated encoding offering) by default so it's unclear if Zeranoe's version would have that support. There is a site called Zeranoe that has builds that they've compiled if you're willing to trust them. Really cool stuff.Īnyway, ffmpeg doesn't have Windows binaries for download. If you haven't looked at it, I'd highly recommend reading their docs.

One of the most well known and respected tools in this area is ffmpeg. However, I wanted more control over what was happening, and also just get a bad vibe from that tool (and don't want it running on my primary system). I was previously using HandBrake, which is a neat application. I wanted to not only get my much stronger desktop involved, but also utilize the graphics card. Either way, performance for encoding was not great. While I was able to encode videos using Linux, the machine running Linux was either a Virtual Machine or a laptop. Getting more to the point, my primary system is a Windows desktop with NVidia graphics card. This is purely selfish as I have a collection of videos that are taking up too much space and I want to make them smaller, but also keep as much detail as possible.

I've been looking into the many different flavors of encoding there are, and attempting to determine the best way forward. As a side interest, I've become curious about video and audio encoding.
