Question about ffmpeg

Hello, I am interested in compiling a newer version of mpv since we are still stuck on the old 0.32 version. I’ve successfully compiled the newer build of mpv using without any options in ffmpeg_options but obviously I need to pass some options especially if I need some hardware acceleration decoding. My question is, since we already have an ffmpeg optimized software package as part of the dietpi-software, what ffmpeg_options are used for that which I can use for compiling my own version? This will be statically linked of course. Any help to point me in the right direction is appreciated, thanks.

I guess this might not answer your question but we don’t compile owe version of FFmpeg. We simply install FFmpeg from global Debian apt package repository.