Page 1 of 1

video generation failure

Posted: Thu Mar 16, 2006 3:27 am
by coolcheeze
first of all i want to thank you guys for a wonderful application!
i have zm setup on a debian box with 2 4 port cards and 5 cams. everything seems to function wonderfully except the video generation portion. the following is the version of ffmpeg i am using along with an excerpt from the zmvideo.log file with the issue i am having.

Code: Select all

fIWRKZzm:/var/log/zm# ffmpeg --version
ffmpeg version CVS, build 3277056, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr --libdir=${prefix}/lib --enable-shared --enable-mp3lame --enable-gpl --enable-faad --mandir=${prefix}/share/man --enable-vorbis --enable-pthreads --enable-faac --enable-xvid --enable-dts --enable-amr_nb --enable-amr_wb --enable-pp --enable-shared-pp --enable-libogg --enable-a52 --enable-a52bin --enable-x264 --enable-theora
  built on Dec 30 2005 15:07:33, gcc: 3.3.5 (Debian 1:3.3.5-13)
ffmpeg: missing argument for option '--version'
IWRKZzm:/var/log/zm# tail -f zmvideo.log
  Duration: 00:14:45.2, start: 0.000000, bitrate: N/A
  Stream #0.0,  5.00 fps: Video: mjpeg, yuvj420p, 320x480
Output #0, mpeg, to 'Event-921.mpg':
  Stream #0.0,   nan fps: Video: mpeg1video, yuv420p, 320x480, q=2-31, 200 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
[mpeg1video @ 0xb7ea0110]MPEG1/2 does not support 5/1 fps
Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height

Error: 1 at /usr/bin/zmvideo.pl line 277.

:D :D

Posted: Thu Mar 16, 2006 9:55 am
by zoneminder
It's hard to be sure without seeing the actual ffmpeg command line but you may be abl;e to get around this by adding ffmpeg output parameters to set the output frame rate to a supported value, e.g -r 25