Closed jagheterfredrik closed 4 months ago
@jagheterfredrik I can't reproduce your issue. Please dump the rawvideo as file and check with the YUView tool.
ffmpeg -hwaccel rkmpp -hwaccel_output_format drm_prime -i INPUT -an -sn \
-vf scale_rkrga=format=yuv420p:w=1280:h=720,hwmap=mode=read,format=yuv420p \
-f rawvideo -vframes 500 -y /tmp/out.yuv
Thanks a bunch for the pointer to YUView! It's being displayed in the wrong resolution (1920x1080) and therefore not showing correctly. At the right size it shows fine after scaling. Thank you again for your work on ffmpeg+rockchip 👍
Hello, thank you for your effort on this 👍 I'm trying to do hardware scaling
-vf realtime,scale_rkrga=w=1280:h=720:format=yuv420p,hwmap=mode=read,format=yuv420p -r 5 -f rawvideo
but my image turns all weird. Without the w/h (-vf realtime,scale_rkrga=format=yuv420p,hwmap=mode=read,format=yuv420p -r 5 -f rawvideo
) the video looks fine.Full ffmpeg is
Input format is
Any pointers are highly appreciated 🙏