EddyG wrote: ↑Monday 23 November 2020 9:07
It's clear that your version of ffmpeg needs the output format as a parameter, so just add that one.
Evaluate the next possible error and add possible next parameter.
In Linux the sudo command has to be:
So your are on a Synology, missed that. You don't need sudo if you are admin user.
Try doing everything in your local dir e.g. /volume1/homes/admin (if you logged in with admin) and all the paths point to that dir even the video file.
So the video file get create in your home dir.
EddyG wrote: ↑Monday 23 November 2020 20:08
So your are on a Synology, missed that. You don't need sudo if you are admin user.
Try doing everything in your local dir e.g. /volume1/homes/admin (if you logged in with admin) and all the paths point to that dir even the video file.
So the video file get create in your home dir.
Not good. I think the problem not the right.
OK. I find the problem, but can not understand. The ffmpeg create the file name camera1.mp4^M (In dir command camera1.mp4? file name). If I rename camera1.mp4 everything works, but I runing the script again ffmpeg create error camera1.mp4^M file
EddyG wrote: ↑Tuesday 24 November 2020 10:31
The ^M comes probably from CR a leftover from the Windows editor?
So edit your script carefully again or retype it in Synology with a nano editor.