Page 1 of 2

unable to generate Video files

Posted: Tue Oct 10, 2006 1:05 am
by cvsvs
I am running Zone Minder 1.21.4 and am unable to generate Videos. log (zmvideo.log) says:

Creating video file Event-1731-r1-s1.mpg for event 1731
/usr/bin/ffmpeg -y -r 4.14 -i %04d-capture.jpg -s 320x240 -r 25 Event-1731-r1-
Input #0, image, from '%04d-capture.jpg':
Duration: 00:10:02.8, bitrate: N/A
Stream #0.0: Video: rawvideo, yuvj444p, 320x240, 4.14 fps
Output #0, mpeg, to 'Event-1731-r1-s1.mpg':
Stream #0.0: Video: mpeg1video, 320x240, 25.00 fps, q=2-31, 200 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
sh: line 1: 29424 Segmentation fault /usr/bin/ffmpeg -y -r 4.14 -i %04d-cap
>ffmpeg.log

Any thoughts please!

Rgds
cvsvs

Posted: Tue Oct 10, 2006 6:21 am
by Flash_
ffmpeg seems to be broken.

Can you uninstall, purge, and re-install ffmpeg?

Posted: Tue Oct 10, 2006 10:03 am
by jameswilson
i second that that looks like an ffmpeg prob not a zm prob

re-install ffmpeg

Posted: Wed Oct 11, 2006 4:08 am
by cvsvs
could you please give me the re-install procedure?

Posted: Wed Oct 11, 2006 5:44 am
by Flash_
For which distro?

Posted: Wed Oct 11, 2006 10:12 am
by jameswilson
I strongly recommend you use either ross's or coreys distros as these just work. Plus it will be asier to assist you

Posted: Thu Oct 12, 2006 3:46 am
by cvsvs
James,
Can I directly upgrade from 1.21.4 to 1.22.2 by RPM? I downloaded the RPM from the site you gave in your Aug 25 posting , which is http://www.jpwilson.eu/zm-1.22.2-9_20060mdk.i586.rpm
(I am not a Linux expert; but can manage basic commands; would appreciate if you can give me any tips)

Posted: Thu Oct 12, 2006 9:25 am
by jameswilson
if your running ross's 2006 distro then yes

Unable to generate Video files.. ffmpeg corruption..

Posted: Fri Oct 13, 2006 7:10 am
by cvsvs
Ran the rpm ( from Ross's distro) and endedup with the following errors:

error: Failed dependencies:
perl-MIME-Lite is needed by zm-1.22.2-9_20060mdk.i586
apache2 is needed by zm-1.22.2-9_20060mdk.i586
libpcre is needed by zm-1.22.2-9_20060mdk.i586
liblame is needed by zm-1.22.2-9_20060mdk.i586
perl-X10 is needed by zm-1.22.2-9_20060mdk.i586
perl(X10::ActiveHome) is needed by zm-1.22.2-9_20060mdk.i586
perl-base >= 5.8.7 is needed by zm-1.22.2-9_20060mdk.i586
perl-base is needed by zm-1.22.2-9_20060mdk.i586
libavcodec.so.0 is needed by zm-1.22.2-9_20060mdk.i586
libavformat.so.0 is needed by zm-1.22.2-9_20060mdk.i586
libcrypto.so.0.9.7 is needed by zm-1.22.2-9_20060mdk.i586
libmysqlclient.so.14 is needed by zm-1.22.2-9_20060mdk.i586

Posted: Fri Oct 13, 2006 5:33 pm
by cordel
Then you must not be using Ross's Distro. What Linux Distro did you load???

Posted: Mon Oct 16, 2006 1:03 am
by cvsvs
The distrobution is CTU3-zm1.21.3-3.

I wonder if "yum update" is all that I need to do to upgrade!!

Posted: Mon Oct 16, 2006 1:58 am
by cvsvs
Oooops! It appears that the yum update wont work past 1.24.1

I am back to square one.

Can any one assist me in fixing my ffmpeg issue? Basically I need the re-install procedure please!

Posted: Mon Oct 16, 2006 9:05 am
by jameswilson
see coreys site for a 1.22.2 rpm for ctu. You cant use ross's one as thats for mandrake.
But Corey has released a 1.22.2 rpm that you can use, but yum update wont do it as Corey doesnt have 1.22.2 as stable yet

Posted: Tue Oct 17, 2006 6:09 am
by cvsvs
Corey's site seems to be "under construction" ; could anyone give the URL?

Posted: Tue Oct 17, 2006 10:43 am
by jameswilson