<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Ok... found it.</p>
<p><br>
</p>
<p>Problem was that nfs has not propagated the change.</p>
<p>So I changed the ffmpeg script to:</p>
<p>---<br>
</p>
<p>#!/bin/bash<br>
ssh videoprocessor "/usr/bin/ffmpeg $@"<br>
RC=$?<br>
ls -al `dirname ${@:$#}` >/dev/null<br>
exit $RC</p>
<p>---<br>
</p>
The "ls -la" will reread the directory (nfs) where the output file
will be found and then kdenlive finds the output.<br>
<br>
Lars<br>
<br>
<br>
<div class="moz-cite-prefix">On 08.10.2017 10:28, Lars wrote:<br>
</div>
<blockquote type="cite"
cite="mid:4386cbb0-9a90-ec3e-44dc-b935d8da880a@peamx.de">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<p>Hi,</p>
<p><br>
</p>
<p>I'm using kdenlive on my laptop using linux.</p>
<p><br>
</p>
<p>On a second machine with I've got more powerful hardware.</p>
<p>I use it for the complete rendering of the project via script
at the end.</p>
<p>The second machine has the same nfs-Shares and same kdenlive
related software installed as the laptop.</p>
<p><br>
</p>
<p>Last night I had an idea processing the proxy clips on the
remote machine.</p>
<p>This morning I've written two short scripts to do so:</p>
<p><br>
</p>
<font face="Courier New, Courier, monospace">remote_melt.sh</font><br>
<font face="Courier New, Courier, monospace">---</font><br>
<font face="Courier New, Courier, monospace">#!/bin/bash</font><br>
<font face="Courier New, Courier, monospace"># CURRENTTMP is
accessible on both machines via nfs</font><br>
<font face="Courier New, Courier, monospace">REMOTE=videoprocessor</font><br>
<font face="Courier New, Courier, monospace">CURRENTTMP=`grep
currenttmpfolder ~/.config/kdenliverc | cut -d"=" -f2 | sed
"s#/tmp\\\$##"`</font><br>
<font face="Courier New, Courier, monospace">TMP_MLT=$CURRENTTMP$1</font><br>
<font face="Courier New, Courier, monospace">cp $1 $TMP_MLT</font><br>
<font face="Courier New, Courier, monospace">shift</font><br>
<font face="Courier New, Courier, monospace">ssh $REMOTE
"/usr/bin/melt $TMP_MLT $@"####</font><br>
<font face="Courier New, Courier, monospace"> ---</font>
<p><br>
</p>
<font face="Courier New, Courier, monospace">remote_ffmpeg.sh</font><br>
<font face="Courier New, Courier, monospace">---</font><br>
<font face="Courier New, Courier, monospace">#!/bin/bash<br>
ssh -t videoprocessor "/usr/bin/ffmpeg $@"</font><br>
<font face="Courier New, Courier, monospace">---</font><br>
<p><br>
</p>
<p>In kdenlive I switched the settings for "FFmpeg" and "Melt
path" to the new scripts.<br>
</p>
<p>This is working BUT it shows an error after generating the
proxy clips.</p>
<p>This means the proxy clips are generated and the scripts are
exiting with returncode 0.</p>
<p>If I schedule to generate proxy clips again they are directly
found.</p>
<p><br>
</p>
<p>Anyone who can guide me to prevent the error?</p>
<p><br>
</p>
<p>Kind regards,</p>
<p>Lars<br>
</p>
</blockquote>
<br>
</body>
</html>