The current solution is a mess of soft or hard links and Samba file sharing, which has some security implications and isn't supported in all scenarios. A better solution would be to pipe the contents of a file over the network (SSH), or find some other way to allow the remote server to read the file. This would require the script to parse the ffmpeg command and find files to forward, then somehow pipe the contents over the SSH connection (perhaps running additional SSH commands?). Is there a way to make the files seekable in the process, since this is a major limitation of piping that breaks many scenarios with ffmpeg?
The current solution is a mess of soft or hard links and Samba file sharing, which has some security implications and isn't supported in all scenarios. A better solution would be to pipe the contents of a file over the network (SSH), or find some other way to allow the remote server to read the file. This would require the script to parse the ffmpeg command and find files to forward, then somehow pipe the contents over the SSH connection (perhaps running additional SSH commands?). Is there a way to make the files seekable in the process, since this is a major limitation of piping that breaks many scenarios with ffmpeg?