Export video fails even though ffmpeg verified working

Support and queries relating to all previous versions of ZoneMinder
Locked
roach
Posts: 7
Joined: Sat Apr 12, 2008 1:24 am

Export video fails even though ffmpeg verified working

Post by roach »

Export Video Files fails. Worked though the following problems:
1. ffmpeg not installed, so I installed it
wget http://rpm.livna.org/livna-release-8.rpm
rpm -ih livna-release-8.rpm
yum install ffmpeg
yum install ffmpeg-devel
2. tested ffmpeg by converting directory of jpg files to mpeg video
ffmpeg -f image2 -i %03d-capture.jpg /tmp/movie.mpg
The test was successful
3. Corrected paths in ZoneMinder configuration.
Options menu, click on the Images tab
Change the following options for Fedora:
ZM_PATH_MPEG_ENCODE: /usr/bin/mpeg_encode
ZM_PATH_FFMPEG: /usr/bin/ffmpeg

Okay good. But I still cannot export through the web interface.
Exporting: Export Failed

Apache error log indicates zip didn't find a file list in zmFileList.txt so I checked zmFileList.txt and it was 0 bytes, empty. No other logs contain data on why the export fails.

I can only guess that the syntax in the zoneminder program code is wrong for this version of ffmpeg. I tried to grep through the php code to find the ffmpeg export line but could not find it.

In summary, ffmpeg works from the command shell but not from the zoneminder web interface.

zoneminder v1.22.3 on Fedora 8 installed from the latest RPM build, zoneminder-1.22.3-9.fc8

FFmpeg SVN-r10703
libavutil 3212544
libavcodec 3353856
libavformat 3345920

Everything installed via appropriate yum packages for Fedora 8 - no compile from source suggestions please.

Note: searched forum for solutions, closest match was this thread:
http://www.zoneminder.com/forums/viewto ... 62998ba428
Which ultimately did not provide a solution.
User avatar
Victor1974
Posts: 26
Joined: Sun Apr 06, 2008 4:52 pm
Location: Caracas-Venezuela

Post by Victor1974 »

I have not had solution to this problem either :(
Tampoco yo he tenido solucion a este problema :(
Locked