when i click on my cam in the console, i see the picture. If i try a different scale, i get a new resized picture, and when i go back to a previous seen size, i get a broken gif.
I need to stop zm, close my browser and restart everything to be able to view a picture again... same with cambozola, does not work in a consistent manner.
Apr 14 21:18:53 owl zmc-d0[11189]: INF [Inyo: 70000 - Capturing at 4.76 fps]
Apr 14 21:22:23 owl zmc-d0[11189]: INF [Inyo: 71000 - Capturing at 4.76 fps]
Apr 14 21:25:53 owl zmc-d0[11189]: INF [Inyo: 72000 - Capturing at 4.76 fps]
Apr 14 21:26:29 owl zms[11432]: INF [Debug Level = 0, Debug Log = ]
Apr 14 21:29:29 owl zmc-d0[11189]: INF [Inyo: 73000 - Capturing at 4.63 fps]
Apr 14 21:32:59 owl zmc-d0[11189]: INF [Inyo: 74000 - Capturing at 4.76 fps]
Apr 14 21:33:18 owl zmc-d0[11189]: INF [Got TERM signal, exiting]
Apr 14 21:33:29 owl zmfix[11550]: INF [Debug Level = 0, Debug Log = ]
Apr 14 21:33:33 owl zmc-d0[11573]: INF [Debug Level = 0, Debug Log = ]
Apr 14 21:33:33 owl zmc-d0[11573]: ERR [Failed to set window attributes: Invalid argument]
Apr 14 21:33:33 owl zmc-d0[11573]: INF [Starting Capture]
Apr 14 21:36:34 owl zmc-d0[11573]: INF [Got TERM signal, exiting]
Apr 14 21:36:45 owl zmfix[11697]: INF [Debug Level = 0, Debug Log = ]
Apr 14 21:36:49 owl zmc-d0[11720]: INF [Debug Level = 0, Debug Log = ]
Apr 14 21:36:49 owl zmc-d0[11720]: ERR [Failed to set window attributes: Invalid argument]
Apr 14 21:36:49 owl zmc-d0[11720]: INF [Starting Capture]
Apr 14 21:37:14 owl zms[11753]: INF [Debug Level = 0, Debug Log = ]
Apr 14 21:40:19 owl zmc-d0[11720]: INF [Inyo: 1000 - Capturing at 4.76 fps]
I'm running Fedora core 1, client running mozilla / IE .
Any ideas ?
Thx
zardo
ERR [Failed to set window attributes: Invalid argument]
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
- lazyleopard
- Posts: 403
- Joined: Tue Mar 02, 2004 6:12 pm
- Location: Gloucestershire, UK
I've not seen this message since I patched zm_local_camera.cpp to add one line after line 87:
I suspect the critical bit might be that the VIDEO_WINDOW_INTERLACE flag bit is reset.
Code: Select all
vid_win.x = 0;
vid_win.y = 0;
vid_win.width = width;
vid_win.height = height;
+ vid_win.flags = 0;
if ( ioctl( m_videohandle, VIDIOCSWIN, &vid_win ) < 0 )
- lazyleopard
- Posts: 403
- Joined: Tue Mar 02, 2004 6:12 pm
- Location: Gloucestershire, UK
Problem is with scale change in watch window...
Yep, the "Failed to set window attributes" message is not related to the scale change problem.
There's definitely something going wrong when using the pop-up in the Watch window to change the scale of the viewed image with jpeg streaming. The first scale change works. After the second scale change I start getting a "cannot be displayed because it contains errors" message in the browser. It seems to need both a ZoneMinder restart and a browser re-start to cure the problem... ...I think...
There's definitely something going wrong when using the pop-up in the Watch window to change the scale of the viewed image with jpeg streaming. The first scale change works. After the second scale change I start getting a "cannot be displayed because it contains errors" message in the browser. It seems to need both a ZoneMinder restart and a browser re-start to cure the problem... ...I think...
Rick Hewett