You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The audit team looks like this: ffmpeg -hwaccel rkmpp -hwaccel_output_format drm_prime -afbc rga -i h264_1080p_30fps_1.mp4 -c:v h264_rkmpp -c:a copy output.h264_1080p_30fps_1.mp4
Moreover, it is important not only to indicate only the h264_rkmpp codec, but also "-hwaccel rkmpp -hwaccel_output_format drm_prime -afbc rga". The test of two commands shows this.
ffmpeg -hwaccel rkmpp -i h264_1080p_30fps_1.mp4 -c:v h264_rkmpp -c:a copy output.h264_1080p_30fps_1.mp4 CPU governor settings: performance
speed=1.59x
cpu=11-13%
real 0m50,478s
user 0m11,311s
sys 0m11,394s
ffmpeg -hwaccel rkmpp -hwaccel_output_format drm_prime -afbc rga -i h264_1080p_30fps_1.mp4 -c:v h264_rkmpp -c:a copy output.h264_1080p_30fps_1.mp4
CPU governor settings: performance
speed=2.38x
cpu=4-7%
real 0m33,651s
user 0m3,311s
sys 0m2,894s
It turns out that I need to specify 3 parameters for FFMPEG for correct hardware acceleration somewhere: ffmpeg -hwaccel rkmpp -hwaccel_output_format drm_prime -afbc rga
The question arose: how to correctly configure Motion to apply the Rockchip Rkmpp hardware acceleration?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
Radxa Rock 3a (RK3568).
I build FFMPEG with RKMPP support according to the instructions https://github.com/nyanmisaka/ffMpeg-rockchip/wiki/compilation.
I tested FFMPEG on H264 Decode + Encode. Everything works successfully.
The audit team looks like this:
ffmpeg -hwaccel rkmpp -hwaccel_output_format drm_prime -afbc rga -i h264_1080p_30fps_1.mp4 -c:v h264_rkmpp -c:a copy output.h264_1080p_30fps_1.mp4
Moreover, it is important not only to indicate only the h264_rkmpp codec, but also "-hwaccel rkmpp -hwaccel_output_format drm_prime -afbc rga". The test of two commands shows this.
ffmpeg -hwaccel rkmpp -i h264_1080p_30fps_1.mp4 -c:v h264_rkmpp -c:a copy output.h264_1080p_30fps_1.mp4 CPU governor settings: performance
speed=1.59x
cpu=11-13%
real 0m50,478s
user 0m11,311s
sys 0m11,394s
ffmpeg -hwaccel rkmpp -hwaccel_output_format drm_prime -afbc rga -i h264_1080p_30fps_1.mp4 -c:v h264_rkmpp -c:a copy output.h264_1080p_30fps_1.mp4
CPU governor settings: performance
speed=2.38x
cpu=4-7%
real 0m33,651s
user 0m3,311s
sys 0m2,894s
My available codecs for RKMPP:
It turns out that I need to specify 3 parameters for FFMPEG for correct hardware acceleration somewhere:
ffmpeg -hwaccel rkmpp -hwaccel_output_format drm_prime -afbc rga
The question arose: how to correctly configure Motion to apply the Rockchip Rkmpp hardware acceleration?
Beta Was this translation helpful? Give feedback.
All reactions