Empty input file on 1.19.0

Support and queries relating to all previous versions of ZoneMinder
User avatar
tech_fixer
Posts: 132
Joined: Tue Jul 29, 2003 3:07 pm

Re: Empty input file on 1.19.0

Post by tech_fixer »

Phil,
You are a freakin genious!

I downloaded the latest ZM 1.19.1 and set it to work with the mjpg stream. I'm getting 10 fps!!!
Sweet!

Thanks,
Jose.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Empty input file on 1.19.0

Post by zoneminder »

Hi Jose,

That's good news. I have an Axis205 and I've had to slow it down as by itself it flies along at 25fps!

I've also just put a new 1.19.1 up that hopefully allows it to work with the stills path. I'm still stuck about why the regexps don't work with Mr McWhulf.

Phil,
User avatar
tech_fixer
Posts: 132
Joined: Tue Jul 29, 2003 3:07 pm

Re: Empty input file on 1.19.0

Post by tech_fixer »

Phil,
Now I'm triying to use a video server from Stardot Technologies.
It produces an mjpg stream, bit ZM says it cant extract the http
headers from it:
ERR [Unable to extract HTTP status from header]

wget cannot download it. Mozilla grabs the first image and hangs.
Opera downloads the stream and doesnt stop unless you stop the transmission.
Both browsers identify it as a JPEG image, not a MJPG stream.

I've made it work with jpeg stills before, but the mjpeg stream would produce a better framerate.
Any ideas?

The URL is http://ip81.stardot-tech.com:8001, and there are other cameras on ports 8002-8004.

Regards,
Jose.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Empty input file on 1.19.0

Post by zoneminder »

That's a strange stream. It doesn't appear to be http based at all. When you open up the socket it just chucks stuff at you without asking. I assume it's just one jpeg after another but there's no mime-type to be able to tell. I think it's safe to say that at present it is unsupported by ZM but if I knew what format it was I might be able to do something with it. The trickiest part would be to figure out where one image ends and the next starts without decoding the jpeg header, which is normally done once you know you've got the whole image!

Phil,
cybr0t
Posts: 26
Joined: Fri Mar 19, 2004 8:38 am

Re: Empty input file on 1.19.0

Post by cybr0t »

Is the link for the new 1.19.1 the same as the one posted earlier?

Figure I'll give it a shot.

-- Cy
cybr0t
Posts: 26
Joined: Fri Mar 19, 2004 8:38 am

Re: Empty input file on 1.19.0

Post by cybr0t »

Should be duly noted that I'm getting the exact same problems out of Suse 9.0 with 1.19.1 downloaded from previously posted link earlier today.

Perhaps I'm cursed?

-- Cy
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Empty input file on 1.19.0

Post by zoneminder »

Hi Cy,

The fix was only ot the stills image stream and not the video one, did you try that one?

Phil,
cybr0t
Posts: 26
Joined: Fri Mar 19, 2004 8:38 am

Re: Empty input file on 1.19.0

Post by cybr0t »

tried both /axis-cgi/jpg/image.cgi?resolution=320x240 as well as /axis-cgi/mjpg/video.cgi?resolution=320x240

Both died the same as before, tho the md5sum on the 1.19.1 tarball is the same as the one I've been using since friday, so perhaps I don't have the latest?

Continued thanks for all your help,

-- Cy
cybr0t
Posts: 26
Joined: Fri Mar 19, 2004 8:38 am

Re: Empty input file on 1.19.0

Post by cybr0t »

Phil, could you possibly send me your configure log so I can see what we might be doing differently since we're both using RH9?

Thanks,

-- Cy
cybr0t
Posts: 26
Joined: Fri Mar 19, 2004 8:38 am

Re: Empty input file on 1.19.0

Post by cybr0t »

Or anyone else that has this working for that matter? :)

-- Cy
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Empty input file on 1.19.0

Post by zoneminder »

Hi Cy,

I'll mail it to you when I get home later.

Phil,
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Empty input file on 1.19.0

Post by zoneminder »

config.log mailed.
cybr0t
Posts: 26
Joined: Fri Mar 19, 2004 8:38 am

Re: Empty input file on 1.19.0

Post by cybr0t »

Argh!

I don't see any real differences.. but perhaps you could look at it with a trained eye:

http://killcybre.org/misc/zm.config.log

Also, can you put up a fresh link to the new 1.19.1 source? I suspect I may still be getting the old one..

Thanks,

-- Cy
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Empty input file on 1.19.0

Post by zoneminder »

New md5sum is 27b1957e2a3e32004e81b86ec883cd35, that is one this morning which is probably final 1.19.1 unless we can actually find something concrete. You can try using either www.zoneminder.com/downloads or /fileadmin/downloads if you want to be sure it's not cached.

Phil,
cybr0t
Posts: 26
Joined: Fri Mar 19, 2004 8:38 am

Re: Empty input file on 1.19.0

Post by cybr0t »

Ok, I've definetely got the right source tarball..

But again, on 3 different machines on 3 different distributions I'm still getting the same errors.

Last resort.. is there something wrong with my config here?

--

root@fenris:~# zmu -q -m 1
Id : 1
Name : test
Type : Remote
Host : webcam01.spfldcol.edu
Port : 80
Path : /axis-cgi/mjpg/video.cgi?resolution=320x240
Width : 0
Height : 0
Palette : 4
Colours : 3
Label Format : %%s - %y/%m/%d %H:%M:%S
Label Coord : 0,0
Image Buffer Count : 100
Warmup Count : 25
Pre Event Count : 10
Post Event Count : 10
Section Length : 600
Maximum FPS : 0.00
Reference Blend %ge : 10
Function: 2 - Monitor
Zones : 1
Id : 1
Label : All
Type: 1 - Active
Limits : 0,0 - 42949671,42949671
Alarm RGB : ff0000
Check Method: 3 - Blobs
Min Pixel Threshold : 25
Max Pixel Threshold : 0
Min Alarm Pixels : 5634997
Max Alarm Pixels : 12025909
Filter Box : 3,3
Min Filter Pixels : 5634997
Max Filter Pixels : 12025909
Min Blob Pixels : 18073222
Max Blob Pixels : 0
Min Blobs : 1
Max Blobs : 0
--

-- Cy
Locked