[FFmpeg-user] AMD GPU + Vaapi encoding problem
Ted Park
kumowoon1025 at gmail.com
Wed Apr 8 21:03:08 EEST 2020
Hello,
> Okay, i've used latest static build from git of amd64 arch, it can't find
> option -vaapi_device,
> and this is the output (ran from the extracted archive path):
> $ ./ffmpeg -vaapi_device /dev/dri/renderD128 -f x11grab -video_size
> 1920x1080 -i :0 -vf 'format=nv12,hwupload' -c:v h264_vaapi -b:v 7M
> -profile:v main -bf 0 output.mp4
> ffmpeg version N-52056-ge5d25d1147-static https://johnvansickle.com/ffmpeg/
> Copyright (c) 2000-2020 the FFmpeg developers
> built with gcc 8 (Debian 8.3.0-6)
> configuration: --enable-gpl --enable-version3 --enable-static
> --disable-debug --disable-ffplay --disable-indev=sndio
> --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r
> --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom
> --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype
> --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libopenjpeg --enable-librubberband --enable-libsoxr
> --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus
> --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc
> --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265
> --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi
> --enable-libzimg
> libavutil 56. 42.101 / 56. 42.101
> libavcodec 58. 76.100 / 58. 76.100
> libavformat 58. 42.100 / 58. 42.100
> libavdevice 58. 9.103 / 58. 9.103
> libavfilter 7. 77.100 / 7. 77.100
> libswscale 5. 6.101 / 5. 6.101
> libswresample 3. 6.100 / 3. 6.100
> libpostproc 55. 6.100 / 55. 6.100
> Unrecognized option 'vaapi_device'.
> Error splitting the argument list: Option not found
The option might not be there any more, try using -init_hw_device instead, and use -hwaccels to list additional hardware support?
Also confirm this is the same machine (or at least with similar hardware) that ran the earlier command?
Regards,
Ted Park
More information about the ffmpeg-user
mailing list