mount
Filesystem mounting options:
- NFS is more normal in UNIX/Linux world
- SMB is more normal in the Windows world.
It isn't clear which context you are in. There isn't anything specific to ffmpeg
about either of those.
ssh
Another option if you are in UNIX/Linux world or simulating Linux under Windows is to stream over ssh
. Most commands will send their output to STDOUT if you specify -
as the output file. So you could do something like:
ffmpeg <your options> - | ssh user@remote 'cat > /tmp/ffmpeg.out'
(I use that technique with tar
as the input pretty often.) The ffmpeg docs say that the last arguement is the output file, so as weird as it may be you should put the -
(dash) with spaces around it as the last argument to ffmpeg
, after all of your other options are specified.
performance
Writing your output to a remote system can cause the processing on the original system to slow down because the buffers fill up faster due to the slower IO. If all of the buffers fill up the ffmpeg
process will have to wait until it can process more. If you can run more processes in parallel it might help, but sooner or later you'll probably saturate the network connection and more processes/CPU's won't help.