Video Generation Failed!
Video Generation Failed!
Why when i try generate video i have this error:
Video Generation Failed!
Ubuntu 6.10 whith zm 1.2.23.
Can you help me please.
Thanks.
Video Generation Failed!
Ubuntu 6.10 whith zm 1.2.23.
Can you help me please.
Thanks.
I change path in /usr/bin/ffmpeg but there is again error.
This is mi zmvideo.log:
01/26/07 23:07:18.412696 zmvideo[6612].INF [/usr/bin/ffmpeg -y -r 24.51 -i %03d-capture.jpg -s 320x240 -r 25 'Event-564-r1-s1.avi' >& ffmpeg.log]
01/26/07 23:07:18.415573 zmvideo[6612].ERR [Unable to generate video, check /var/www/zm//events/15/564/ffmpeg.log for details].
/var/www/zm/events/15/564/ffmpeg.log don't exist.
ffmpeg -version:
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-gpl --enable-pp --enable-pthreads --enable-vorbis --enable-libogg --enable-a52 --enable-dts --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
libavutil version: 0d.49.0.0
libavcodec version: 0d.51.11.0
libavformat version: 0d.50.5.0
built on Sep 20 2006 00:26:15, gcc: 4.1.2 20060906 (prerelease) (Ubuntu 4.1.1-13ubuntu2)
ffmpeg SVN-rUNKNOWN
libavutil 3211264
libavcodec 3345152
libavformat 3278080
Any ideas? Thanks.
Sorry for my english.
This is mi zmvideo.log:
01/26/07 23:07:18.412696 zmvideo[6612].INF [/usr/bin/ffmpeg -y -r 24.51 -i %03d-capture.jpg -s 320x240 -r 25 'Event-564-r1-s1.avi' >& ffmpeg.log]
01/26/07 23:07:18.415573 zmvideo[6612].ERR [Unable to generate video, check /var/www/zm//events/15/564/ffmpeg.log for details].
/var/www/zm/events/15/564/ffmpeg.log don't exist.
ffmpeg -version:
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-gpl --enable-pp --enable-pthreads --enable-vorbis --enable-libogg --enable-a52 --enable-dts --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
libavutil version: 0d.49.0.0
libavcodec version: 0d.51.11.0
libavformat version: 0d.50.5.0
built on Sep 20 2006 00:26:15, gcc: 4.1.2 20060906 (prerelease) (Ubuntu 4.1.1-13ubuntu2)
ffmpeg SVN-rUNKNOWN
libavutil 3211264
libavcodec 3345152
libavformat 3278080
Any ideas? Thanks.
Sorry for my english.
Sure - it wasn't if ffmpeg was installed but rather where that I was wondering.cordel wrote:He has it installed as per my request above to display the version.
I asked because the default ZM path location is for it to be in /usr/local/bin/ffmpeg whereas on Ubuntu it's actually installed at /usr/bin/ffmpeg.
Mathew
You might need to tail all your logs (messages/syslog, zmpkg.log, zmdc.log, zmvideo.log) as I don't remember where the error would turn up (messages/syslog I think) but this will tell if there is a permissions problem or a path problem or maybe both. The problem will be logged somewhere though and with out it we're just guessing and you will continue to pull your hair out.
Take a look at this post:
http://www.zoneminder.com/forums/viewto ... ht=zmvideo
I had same problem (on UBUNTU 6.10 and ZM 1.22.3) and removing "&" from line 323 of zmvideo.pl solved the problem.
http://www.zoneminder.com/forums/viewto ... ht=zmvideo
I had same problem (on UBUNTU 6.10 and ZM 1.22.3) and removing "&" from line 323 of zmvideo.pl solved the problem.
-
- Posts: 48
- Joined: Tue Mar 21, 2006 1:37 pm
Re: Video Generation Failed!
Most likely, this error raise when the location for the log file produced along with the video (ffmpeg.log) is not writable.
This expecially if you can't fint a ffmpeg.log
Check in zmvideo.pl and change ">& ffmpeg.log" to "&> /tmp/ffmpeg.log"
and see what happens
Roberto
This expecially if you can't fint a ffmpeg.log
Check in zmvideo.pl and change ">& ffmpeg.log" to "&> /tmp/ffmpeg.log"
and see what happens
Roberto
Re: Video Generation Failed!
This suggestion also fixed my problems with video generation using ZM 1.22.3-10 on Ubuntu 7.10.occhiostanco wrote:Most likely, this error raise when the location for the log file produced along with the video (ffmpeg.log) is not writable.
This expecially if you can't fint a ffmpeg.log
Check in zmvideo.pl and change ">& ffmpeg.log" to "&> /tmp/ffmpeg.log"
and see what happens
Roberto
THANKS!
.