Workaround for Select Folder button that is not work in
Nextcloud 28.0.2 (docker) + Automated media conversion 1.9.3
cp -R custom_apps/workflow_media_converter apps/workflow_media_converter chown www-data:www-data -R apps/workflow_media_converter
Example set of iPhone h.265/HDR batch files convert to h.264/sdr
software
Nextcloud → Personal Settings → Media Conversion
Additional ffmpeg flags
-movflags use_metadata_tags -map_metadata 0 -vf zscale=t=linear:npl=550,format=gbrpf32le,tonemap=tonemap=mobius:desat=0,zscale=p=bt709:t=bt709:m=bt709:r=tv,format=yuv420p -vcodec libx264 -preset VerySlow -strict -2
ffmpeg -threads 8 -i {input} -movflags use_metadata_tags -map_metadata 0 -vf zscale=t=linear:npl=550,format=gbrpf32le,tonemap=tonemap=mobius:desat=0,zscale=p=bt709:t=bt709:m=bt709:r=tv,format=yuv420p -vcodec libx264 -preset VerySlow -strict -2 {output}
queue will start execution after next cron run (in about 5 minutes)
HW with intel QSV
for this HW acceleration need to be enabled first see video encoding HW acceleration for nextcloud in docker
DRAFT
ffmpeg -threads 8 -y -init_hw_device qsv -i {input} -movflags +faststart -movflags use_metadata_tags -map_metadata 0 -c:a copy -c:v h264_qsv -profile:v high -global_quality 24 -level 41 -sn -filter_complex 'format=nv12' {output}