I can not get mpeg, avi, wmv... etc from events when I have zm_language set to pl_pl (by pushing button "generate video" on Video Generation Parameters card). Only in my language (pl) its happen. When I set language to En_gb or other, everything works properly.
On pl_pl, after pushed "generate video" I recognized error in apache log :
Value "1,00" invalid for option r (real number expected)
Value "1,00" invalid for option s (real number expected)
in ZM-logs nothing strange.
Can someone check pl_pl language ?
--
evel
Debian 2.4.27-2-386, PIII 677
zm 1.21.4, Quickcam Messanger
generating video from events (language problem ?)
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
This appears to be an issue with the locale settings getting into the sprintf call in the createVideo funciton in zm_funcs.php. There is an alternative format specifier that can be used (%F instead of %f) but it isn't supported in all versions of php. As soon as I've got a fix that will function for all versions I will fix it but in the meantime you could try changing the parts of the format string that say '%.2f' to '%.2F' and seeing if that works.
Phil
Phil