Background filter not creating video

Support and queries relating to all previous versions of ZoneMinder
Locked
jdppm7
Posts: 12
Joined: Mon Feb 11, 2008 5:13 am

Background filter not creating video

Post by jdppm7 »

I have a background filter created that should include all of the videos that are older than right now (date less than now) and are not archived and I have checked "Archive all matches" and "Create video for all matches." I have saved the event as background. The archive seems to work fine but the video does not get generated. Note that video generation seems to work fine if I view an event and click the video link. If I create the filter and do not save it but execute it manually it seems to work fine.

I searched the forums but don't seem to find any similar problems. I've ran through the logs and cannot seem to find anything that stands out. Any ideas? Possible bug?
jdppm7
Posts: 12
Joined: Mon Feb 11, 2008 5:13 am

Version

Post by jdppm7 »

Hah! Cannot believe I didn't include this, sorry: Version is 1.23.1
jdppm7
Posts: 12
Joined: Mon Feb 11, 2008 5:13 am

Apache error

Post by jdppm7 »

I did have an error in my apache error log. By following the log file I determined it was occurring when you click on the Save link in the ZM Filter window.

SQL-DEBUG: select * from Filters order by Name, referer: http://172.22.10.111/index.php?view=fil ... ecute_cmd=
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Are you using the deep storage filesystem option? If so then it may be related to the issue being discussed in this thread.
Phil
jdppm7
Posts: 12
Joined: Mon Feb 11, 2008 5:13 am

No deep storage

Post by jdppm7 »

Ah, saw that thread and no I am not using that option. Sorry didn't think to mention that.

One thing that is even WEIRDER now is that I hopped into zmfilter.pl and increased the debug level and followed the log file so see if there were any noticeable errors. So I restarted zonemider and it started working. Any ideas there?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Not off the top of my head I'm afraid :cry:
Phil
jdppm7
Posts: 12
Joined: Mon Feb 11, 2008 5:13 am

Debugging

Post by jdppm7 »

Well I'm not afraid to hop into the code if you can give me a place to start.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

If you can get it not work again then you should see something in zmvideo.log about failures to generate video and/or ffmpeg.log in the event directories themselves. If it is working correctly now though you might be a bit stuck for diagnosis.
Phil
jdppm7
Posts: 12
Joined: Mon Feb 11, 2008 5:13 am

Now suddenly working

Post by jdppm7 »

Well now it is working. I restarted the zm service several times and have toggled the "background" switch on and off and it's chugging away now. I just cannot seem to figure out what the problem was. I'll post back if anything changes.
Locked