problems with zmc_d0 ERR: capture faillure fro frame0

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
krzys31337
Posts: 65
Joined: Wed Jul 06, 2005 7:43 pm
Location: Poland,Warsaw N 52°09'10" E 20°55'09"

problems with zmc_d0 ERR: capture faillure fro frame0

Post by krzys31337 »

Hello,

I've got problems (simple 4in1 bttv graber card, xawtv/tvtime works) got logs like this:

Jul 6 19:41:01 ola zmc_d0[2154]: INF [Debug Level = 0, Debug Log = <none>]
Jul 6 19:41:01 ola zmc_d0[2154]: ERR [Failed to set window attributes: Invalid argument]
(uid=0)
Jul 6 19:41:01 ola zmc_d0[2154]: INF [Starting Capture]
Jul 6 19:41:01 ola zmc_d0[2154]: ERR [Capture failure for frame 0: Invalid argument]
Jul 6 19:41:01 ola zmc_d0[2154]: ERR [Sync failure for frame 0 buffer 0(1): Invalid argument]

And it keep going over and over...
Jul 6 19:41:01 ola zmc_d0[2154]: ERR [Capture failure for frame 0: Invalid argument]
Jul 6 19:41:01 ola zmc_d0[2154]: ERR [Sync failure for frame 0 buffer 0(1): Invalid argument]
Jul 6 19:41:01 ola zmc_d0[2154]: ERR [Capture failure for frame 0: Invalid argument]
Jul 6 19:41:01 ola zmc_d0[2154]: ERR [Sync failure for frame 0 buffer 0(1): Invalid argument]
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Try checking that you set image size in your config is supported by the card.
Typical NTSC setting are 320x240 and 640x480. I do not know the typical PAL settings but I'm sure a search on the forum would give results.

This is normaly seen when the size/pallet of image does not match what the card/camera can do.
Regards,
Cordel
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

pal 720 x 576 or 360 x 288
User avatar
lazyleopard
Posts: 403
Joined: Tue Mar 02, 2004 6:12 pm
Location: Gloucestershire, UK

Post by lazyleopard »

the typical PAL settings
768x576 and 384x288.
Rick Hewett
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

oops go with lazy
User avatar
krzys31337
Posts: 65
Joined: Wed Jul 06, 2005 7:43 pm
Location: Poland,Warsaw N 52°09'10" E 20°55'09"

Post by krzys31337 »

lazyleopard wrote:
the typical PAL settings
768x576 and 384x288.
Thanks -- seem to work more than 0x0 :) Now i'm trying to figure out what diffrence is in PAL from camera or Pal from TV-SAT (Phipls DVR-3010) and images from TVSAT are "broken" like having no sync and no color at all.

Maybe problem above should be added to FAQ.

BTW i'm working on http://cvs.pld-linux.org/SPECS/zm.spec
When finished Zm (binary rpm) should be avalible for amd64 ppc or even sparc :)

Any sugestions on "viewing live" motion on vga monitor connected to PC (without mouse/keyboard, only the monitor).
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Any sugestions on "viewing live" motion on vga monitor connected to PC (without mouse/keyboard, only the monitor).

Yes i want to to do this too. I was wondering about using something similar to windows startup and have the relevant info in the url. Will let you know if i get anywhere. Or is there a tidier solution
Locked