Page 1 of 1

Unable to generate video in ZM 1.25

Posted: Thu Feb 21, 2013 9:25 pm
by elbek
Hi People

Im using zoneminder 1.25 on Debian Squeeze about 1 years ago. Everything was working great but suddenly when I try to create video like .avi o .mpeg from events shows me this and there is no video generated.

zmvideo 4053 INF Creating video file Event-51349-r1-s1.avi for event 51349 zmvideo.pl
web_php 30705 ERR Video Generation Failed includes/functions.php 2322
zmvideo 4050 ERR Unable to generate video, check /var/www/zm/events/13/13/02/06/00/00/00/ffmpeg.log for details zmvideo.pl
zmvideo 4050 INF Creating video file Event-51349-r1-s1.avi for event 51349 zmvideo.pl
web_php 30705 ERR Video Generation Failed includes/functions.php 2322
zmvideo 4047 ERR Unable to generate video, check /var/www/zm/events/13/13/02/06/00/00/00/ffmpeg.log for details zmvideo.pl

I searched on this forum but no reference about this issue in ZM 1.25

The ffmpeg.log is never created.

Help me please.

Re: Unable to generate video in ZM 1.25

Posted: Mon Feb 25, 2013 12:06 pm
by jameswilson
Whats the contents of the ffmpeg.log?

Re: Unable to generate video in ZM 1.25

Posted: Mon Feb 25, 2013 6:22 pm
by elbek
jameswilson wrote:Whats the contents of the ffmpeg.log?
Hi. Thanks for your answer.

for some reason this ffmpeg.log is never created.

The ZM log shows me same data but apache log shows me this:

[Mon Feb 25 09:03:31 2013] [error] [client 192.168.1.20] ERR [Video Generation Failed], referer: http://www.website:8080/index.php?view= ... enerated=0
sh: Syntax error: "(" unexpected
[Mon Feb 25 09:03:32 2013] [error] [client 192.168.1.20] ERR [Video Generation Failed], referer: http://www.website:8080/index.php?view= ... enerated=0
sh: Syntax error: "(" unexpected
[Mon Feb 25 09:03:33 2013] [error] [client 192.168.1.20] ERR [Video Generation Failed], referer: http://website:8080/index.php?view=vide ... enerated=0
[Mon Feb 25 09:03:49 2013] [error] [client 192.168.1.20] PHP Notice: Undefined index: HTTP_HOST in /var/www/zm/index.php on line 57
[Mon Feb 25 09:03:58 2013] [error] [client 192.168.1.20] PHP Notice: Undefined index: HTTP_HOST in /var/www/zm/index.php on line 57
sh: Syntax error: "(" unexpected
[Mon Feb 25 09:04:32 2013] [error] [client 192.168.1.20] ERR [Video Generation Failed], referer: http://website:8080/index.php?view=video&eid=51350
sh: Syntax error: "(" unexpected
[Mon Feb 25 09:14:48 2013] [error] [client 192.168.1.20] ERR [Video Generation Failed], referer: http://website:8080/index.php?view=video&eid=51347

Re: Unable to generate video in ZM 1.25

Posted: Mon Feb 25, 2013 11:48 pm
by pwiseman
That the log file is not created suggests a permissions problem, which could also explain why the video file is not being recorded. Just a thought.

Patrick