ffmpeg / melt via remote machine

Lars lars-kdenlive at peamx.de
Sun Oct 8 08:28:47 UTC 2017


Hi,


I'm using kdenlive on my laptop using linux.


On a second machine with I've got more powerful hardware.

I use it for the complete rendering of the project via script at the end.

The second machine has the same nfs-Shares and same kdenlive related 
software installed as the laptop.


Last night I had an idea processing the proxy clips on the remote machine.

This morning I've written two short scripts to do so:


remote_melt.sh
---
#!/bin/bash
# CURRENTTMP is accessible on both machines via nfs
REMOTE=videoprocessor
CURRENTTMP=`grep currenttmpfolder ~/.config/kdenliverc | cut -d"=" -f2 | 
sed "s#/tmp\\\$##"`
TMP_MLT=$CURRENTTMP$1
cp $1 $TMP_MLT
shift
ssh $REMOTE "/usr/bin/melt $TMP_MLT $@"####
---


remote_ffmpeg.sh
---
#!/bin/bash
ssh -t videoprocessor "/usr/bin/ffmpeg $@"
---


In kdenlive I switched the settings for "FFmpeg" and "Melt path" to the 
new scripts.

This is working BUT it shows an error after generating the proxy clips.

This means the proxy clips are generated and the scripts are exiting 
with returncode 0.

If I schedule to generate proxy clips again they are directly found.


Anyone who can guide me to prevent the error?


Kind regards,

Lars

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdenlive/attachments/20171008/b9ef7dae/attachment.html>


More information about the kdenlive mailing list