aboutsummaryrefslogtreecommitdiffstats
path: root/worker_examples/remote_transcode.sh
blob: f4087316510d9df98d16f45ea7320bae3931ea95 (plain)
1
2
3
4
5
6
#!/bin/sh
filename="$(cat)"
echo "Downloading file..."
scp remote:"$filename" .
ffmpeg $(basename $filename) -o out/$(basename $filename)
scp out/$(basename $filename) remote:out/