Compiling for Rockchip RK-3328-CC with hardware encoding

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Compiling for Rockchip RK-3328-CC with hardware encoding

Guru Prasad
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@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?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Compiling for Rockchip RK-3328-CC with hardware encoding

Moritz Barsnick
On Sun, Jul 08, 2018 at 16:29:36 -0400, Guru Prasad wrote:
> I'm trying to compile ffmpeg from source for the Libre Renegade RK-3328-CC
> SBC.
[...]
>  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?

ffmpeg doesn't support encoding with Rockchip, except perhaps through
vaapi.

Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Compiling for Rockchip RK-3328-CC with hardware encoding

Guru Prasad
Thanks for the quick response. I appreciate it.
Is there any documentation on how to get started with vaapi on this
platform? I found http://rockchip.wikidot.com/rockchip-va-driver, but it
claims to be deprecated in favor of MPP which doesn't seem to support
encoding.


On Sun, Jul 8, 2018 at 6:42 PM, Moritz Barsnick <[hidden email]> wrote:

> On Sun, Jul 08, 2018 at 16:29:36 -0400, Guru Prasad wrote:
> > I'm trying to compile ffmpeg from source for the Libre Renegade
> RK-3328-CC
> > SBC.
> [...]
> >  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?
>
> ffmpeg doesn't support encoding with Rockchip, except perhaps through
> vaapi.
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".