[FFmpeg-user] Compiling for Rockchip RK-3328-CC with hardware encoding

Guru Prasad gurupras at buffalo.edu
Sun Jul 8 23:29:36 EEST 2018


I'm trying to compile ffmpeg from source for the Libre Renegade RK-3328-CC
SBC.

I've installed the rockchip-mpp library with the following commands:
cmake -DRKPLATFORM=ON -DHAVE_DRM=ON
make -j4
sudo make install

While configuring ffmpeg, I provided the following options:
./configure --enable-version3 --enable-gpl --enable-libdrm --enable-rkmpp
--enable-nonfree

However, after building successfully, I see that the only available h264
codecs are:

guru at renegade:~/research/repo/ffmpeg$ ffmpeg -codecs | grep h264

ffmpeg version N-91434-gcced03dd66 Copyright (c) 2000-2018 the FFmpeg
developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --enable-version3 --enable-gpl --enable-libdrm
--enable-rkmpp --enable-nonfree
  libavutil      56. 18.102 / 56. 18.102
  libavcodec     58. 21.104 / 58. 21.104
  libavformat    58. 17.101 / 58. 17.101
  libavdevice    58.  4.101 / 58.  4.101
  libavfilter     7. 25.100 /  7. 25.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
 DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
(decoders: h264 h264_v4l2m2m h264_rkmpp ) (encoders: h264_v4l2m2m )

How can I enable support for hardware encoding?


More information about the ffmpeg-user mailing list