[SOLVED] zoneminder "video generation failed" due to strange sh error
Posted: Mon Jul 16, 2018 5:13 pm
Dug around in the logs and found the following in the apache and video logs when trying to generate the video:
So, whatever is trying to launch sh appears to have a bad option, or zmvideo is sending something bad, or I have a bad config option. That ffmpeg.log file does not exist.
Any thoughts?
Code: Select all
==> zoneminder/zmvideo.log <==
07/16/18 13:10:14.787423 zmvideo[1182].INF [Creating video file Event-3937-r1-s1.avi for event 3937]
==> httpd/error_log <==
sh: -y: invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--rpm-requires
--restricted
--verbose
--version
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
....
07/16/18 13:18:36.410832 zmvideo[588].INF [Creating video file Event-3937-r1-s1.avi for event 3937]
07/16/18 13:18:36.558057 zmvideo[588].ERR [Unable to generate video, check /usr/share/zoneminder/www/events/1/18/07/15/02/50/00/ffmpeg.log for details]
Any thoughts?