unable to generate Video files

Support and queries relating to all previous versions of ZoneMinder
cvsvs
Posts: 14
Joined: Wed Aug 30, 2006 7:04 am
Location: Australia

unable to generate Video files

Post 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
Flash_
Posts: 441
Joined: Wed Jan 11, 2006 12:19 pm

Post by Flash_ »

ffmpeg seems to be broken.

Can you uninstall, purge, and re-install ffmpeg?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

i second that that looks like an ffmpeg prob not a zm prob
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
cvsvs
Posts: 14
Joined: Wed Aug 30, 2006 7:04 am
Location: Australia

re-install ffmpeg

Post by cvsvs »

could you please give me the re-install procedure?
Flash_
Posts: 441
Joined: Wed Jan 11, 2006 12:19 pm

Post by Flash_ »

For which distro?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
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
cvsvs
Posts: 14
Joined: Wed Aug 30, 2006 7:04 am
Location: Australia

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

Post by jameswilson »

if your running ross's 2006 distro then yes
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
cvsvs
Posts: 14
Joined: Wed Aug 30, 2006 7:04 am
Location: Australia

Unable to generate Video files.. ffmpeg corruption..

Post 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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Then you must not be using Ross's Distro. What Linux Distro did you load???
cvsvs
Posts: 14
Joined: Wed Aug 30, 2006 7:04 am
Location: Australia

Post by cvsvs »

The distrobution is CTU3-zm1.21.3-3.

I wonder if "yum update" is all that I need to do to upgrade!!
cvsvs
Posts: 14
Joined: Wed Aug 30, 2006 7:04 am
Location: Australia

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

Post 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
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
cvsvs
Posts: 14
Joined: Wed Aug 30, 2006 7:04 am
Location: Australia

Post by cvsvs »

Corey's site seems to be "under construction" ; could anyone give the URL?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

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
Locked