Proxy for Dji Mini 5 Pro Files

Hi there,

since the Dji Mini 5 Pro is no longer producing those .LRF Files which could be used as external proxies i have to create my own.

The input files are h265 encoded 10 bit DLOG-M files

It is working perfectly fine with the following ffmpeg command :

ffmpeg
-y 
-vsync 0 
-hwaccel cuda 
-hwaccel_output_format cuda 
-i DJI_20250920072925_0006_D.MP4 
-c:v h264_nvenc 
-preset p1 
-tune ll 
-bf 0 
-g 4 
-no-scenecut 1 
-vf "scale_cuda=1920:1080,scale_cuda=format=yuv420p" 
-cq 20 
-maxrate 20000k 
-bufsize 40000k 
-color_range 1
-c:a copy proxytest.mp4

could be optimized, but works really fine for me.

However.. when trying this with a custom kdenlive proxy profile, with the output parameters of my ffmpeg command like

-c:v h264_nvenc -preset p1 -tune ll -bf 0 -g 4 -no-scenecut 1 -vf scale_cuda=1920:1080,scale_cuda=format=yuv420p -cq 20 -maxrate 20000k -bufsize 40000k -color_range 1

i get the following error :

Stream map '' matches no streams.
To ignore this, add a trailing '?' to the map.
Failed to set value '0:a' for option 'map': Invalid argument
Error parsing options for output file /mnt/ssd1/VideoEdit/Linux/KdenLive/ProxyTest/proxy/7d4ad355d940ba8caae81debfda3c3ab.mp4.
Error opening output files: Invalid argument

Kdenlive adds some parameters according to console output :

/// FULL PROXY PARAMS:
 QList("-hide_banner", "-y", "-stats", "-v", "error", "-noautorotate", "-i", "/mnt/ssd1/VideoEdit/Scratch/DjiMini5/20251004 Brana/DJI_20251004090947_0001_D.MP4", "-c:v", "h264_nvenc", "-preset", "p1", "-tune", "ll", "-bf", "0", "-g", "4", "-no-scenecut", "1", "-vf", "scale_cuda=1920:1080,scale_cuda=format=yuv420p", "-cq", "20", "-maxrate", "20000k", "-bufsize", "40000k", "-color_range", "1", "-sn", "-dn", "-map", "0:V", "-map", "0:a", "-ignore_unknown", "/mnt/ssd1/VideoEdit/Linux/KdenLive/ProxyTest/proxy/7d4ad355d940ba8caae81debfda3c3ab.mp4")

In fact none of the other proxy profiles are working on those drone Files..

Could it be that the input parameters of kdenlive proxy profiles are incompatible with those h265 10 bit files ?

Thanks in advance