just install pure-ftpd and ffmpeg when convert *.avi to *.mp4 without reencoding in normal shell, the command is # ffmpeg -i inputname.avi -strict -2 -vcodec copy inputname.mp4
now with pure-uploadscript , need Automatically run ffmpeg after a successful *.avi upload , converting to *.mp4 the ouput file name should be the same as input file name except extension name. so how to wright this script ? ###not finish Example!!! #! /bin/sh /usr/local/bin/ffmpeg -i $1 -strict -2 -vcodec copy ????? ###not finish Example!!!