<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">@spitsyn.andrey:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">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 <b>passing the filename is the problem</b>. 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<br></div></div><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Here the script file:<br>
<br>
#!/bin/bash<br>
<br>
filename="$1"<br>
fileout="${filename%.*}"<br>
proxy="6"<br>
# Hardware encode AMD<br>
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<br>
<br>
<br>
</blockquote></div></div>