Hardware-accelerated ffmpeg/ffplay with framebuffer (HDMI) output


I successfully installed (and recompiled, to get ffplay’s binary) ffmpeg following the instructions here: https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide%2Fmultimedia.html%23wwpID0E0JB0HA .

Is there a way to output a video directly to the framebuffer/drm/kms (eg, no X) ?


There’s no sample for the case. The hardware acceleration of ffmpeg is implemented based on jetson_multimedia_api. In the implementation, we have NvDrmVideoRenderer for direct frame rendering. Leveraging it may be a solution.

Other users may also share experience.