Unable to generate video in ZM 1.25

Forum for questions and support relating to the 1.25.x releases only.
Locked
elbek
Posts: 11
Joined: Tue Dec 06, 2011 5:33 pm

Unable to generate video in ZM 1.25

Post 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.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Re: Unable to generate video in ZM 1.25

Post by jameswilson »

Whats the contents of the ffmpeg.log?
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
elbek
Posts: 11
Joined: Tue Dec 06, 2011 5:33 pm

Re: Unable to generate video in ZM 1.25

Post 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
Attachments
zm.png
zm.png (83.21 KiB) Viewed 2567 times
pwiseman
Posts: 3
Joined: Sat Feb 23, 2013 3:04 am

Re: Unable to generate video in ZM 1.25

Post 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
Locked