@spitsyn.andrey:

Thanks for the script file.  Give me some time to ask GG if there is a way to add this to the shell commands to let you do this inside of Cinelerra.  The limitation of passing the filename is the problem.  When gg added {cinelerra_path}/doc/RenderMux.sh he saved the variable name used from the Render menu, but in this case that is not available obviously.  Maybe he can save the last loaded filename and use that.  I will see what he thinks.   Phyllis

Here the script file:

#!/bin/bash

filename="$1"
fileout="${filename%.*}"
proxy="6"
# Hardware encode AMD
ffmpeg -threads 2 -hwaccel vaapi  -vaapi_device /dev/dri/renderD128  -i  "$1" -c:v h264_vaapi -vf "format=nv12,hwupload,scale_vaapi=iw/'$proxy':ih/'$proxy'" -vcodec h264_vaapi  -preset fast -c:a copy -bf 0 -profile:v 66 "$fileout".proxy"$proxy"-mp4.mp4