[FFmpeg-user] AMD GPU + Vaapi encoding problem

Ostap Batug ostik0bleat at gmail.com
Wed Apr 8 22:08:29 EEST 2020


Hello,
Yes this is the same machine
i havent figured out a command to run with -init_hw_device , but -hwaccels
reports:
Hardware acceleration methods:
vdpau
so seems that i don't have vaapi? although i am not certain, yes my gpu is
primarily supporting vdpau, but i have a sort of vaapi emulation with
vdpau, or something?
Regards,
Repu

On Wed, 8 Apr 2020 at 21:03, Ted Park <kumowoon1025 at gmail.com> wrote:

> 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
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list