other than vaapi. Encode is already working for nvenc; nvidia driver
396 has to be installed for nvenc to work. On nVidia card turn
accelerated decode off in Preferences->Performance for now
acceleration has to have the card number set or the opening of the
device will fail.
TODO check multiple formats. Right now only the first is checked
which is vaapi.
environment variable HW_EN_DEVICE_SET for enncoding and
HW_DE_DEVICE_SET for decoding. The first card is 0, the second 1
and so on. For now only running on Linux.
the constraints of the GPU is now inside a #if . One can enable it
by setting the constant in line 33 of FFmpegReader.cpp to 1.
Do not enable that part unless you want to fid a way that works as
it also needs the package libva-dev (Ubuntu) to be installed.
* FFmpeg4 support. Compile warnings fixes. Credit goes to many people, including ferdnyc, peterM, and other awesome folks!
* Adding environment checking to enable/disable omp taskwait after each video/audio frame is processed. This is experimental for some users with crashes.
* Moving `omp taskwait` to after the ProcessVideoPacket() method, since that is the only place it is useful.
* Fixing crashes on missing Clip source file, and changing FFmpeg scaling algorthm from SWS_BILINEAR to SWS_LANCZOS (for higher quality scaling)
* Update FindFFmpeg.cmake module, and updating build script. Also enabling debug builds.
* Updating experimental travis build script
* Fixed unit test for newer version of FFmpeg (audio resampling)
* Experimental travis multiple jobs
* Adding OMP schedule hint (thanks PeterM), which prevents crashes in some circumstances.