Showing posts with label ffmpeg. Show all posts
Showing posts with label ffmpeg. Show all posts

Friday, 26 November 2021

Fedora 35 on a Dell XPS13 9305

The Dell XPS 93xx (2020/2021) line with its Intel Iris XE integrated graphics has a native Debian developer edition available directly and its interesting to see how this works.

Thursday, 31 December 2020

Fixing ffmpeg and failing hardware NVenc/dec following software upgrade

If you find that ffmpeg is no longer able to use your NVidia's card for hardware decode/encode after an OS or software upgrade, ensure your running X11/NV driver and the CUDA libraries are compatible otherwise you will get cryptic error messages:
$ ffmpeg -y -hwaccel cuda -hwaccel_output_format cuda \ -c:v h264_cuvid -i 201231-163836.mkv \ -c:a copy \ -vf scale_npp=-1:720 \ -rc vbr_hq -c:v h264_nvenc \ -b:v 3M -minrate 500k -maxrate 12M \ output.mp4 ... failed call to cuInit: CUDA_ERROR_UNKNOWN: unknown error Unable to create device No device available for decoder: device type cuda needed for codec h264

Saturday, 29 September 2018

Fedora 28: fixing mpv and libOpenCl.so.1: no version info and hardware acceleration

One of the great benefits of Linux is that it can run on a whole host of legacy components and still perform well. Re-purposing an old Dell E520 with a 32bit Intel Core2 Duo cpu, a PCI via vt6321a based IDE raid card, for Fedora 28 install was straight forward until we started to look at hardware accelerated mpv for watching movies files: libOpenCL.so.1: no version information available (required by /lib/libavfilter.so...

Sunday, 8 April 2018

ffmpeg and Nvidia GTX hardware encoding

ffmpeg video processing on an old linux/machine, like a i7 860, running Fedora26 can be painful if you only rely on the CPU. With a recent Nvidia card supporting NVENC (GeForce 6/7/8/10.x) ffmpeg can be compiled directly to support these cards.