To grab single frames, this is what I use. I haven't had a problem with 
having to wait 10 seconds to get the image. It seems immediate. I'm using a 
cheap Jidetech IP Cam with POE. I wouldn't recommend it as it seems to lose 
network connectivity occasionally. 

/Applications/ffmpeg -i "rtsp://192.168.0.185:554/1/h264major" -frames:v 1 
img.jpg

On Friday, July 2, 2021 at 9:48:33 PM UTC-6 Eric K wrote:

> Long ago I played with a dlink camera and as was able to figure out a
> URL that would get a single frame. 
>
> Me too!  I had a Dlink DCS-900 and I could get a single camera image from 
> the URL line.
> But, I bricked it trying to update its firmware.  
> Oh well, it was early-2000s vintage and had a pretty crappy image sensor, 
> compared to what's on the market today.
> I'm looking for a modern, functional replacement for it.
>
> I would not be surprised if you can find into for your camera on the web
> someplace.
>
> The camera with rtsp streaming that I was playing with can only deliver an 
> rtsp stream via it's Ethernet port (no wifi).  
> I know because it is made by the company I work in.  
> I asked some of our software people about grabbing a single image for a 
> webpage, and they said, nope, only rtsp via the Ethernet port.
> It's primary function is to create full motion video for video 
> conferencing, so delivering still frames for webpages was not on the 
> required features list.
>
> Eric
>
> On Friday, July 2, 2021 at 5:52:03 PM UTC-5 Greg Troxel wrote:
>
>>
>> Eric K <[email protected]> writes: 
>>
>> > Based on first hand experience, can people recommend various IP cameras 
>> > (ideally an Ethernet or wifi camera) with a focus towards ease of 
>> grabbing 
>> > a single frame from a Linux command line? 
>> > I'd like to be able to grab single frames to use in the weewx webpage. 
>> > 
>> > I've tested am Ethernet-connected camera that puts out an rtsp stream. 
>> I 
>> > successfully used an ffmpeg command line to start the stream, wait 10 
>> > seconds and then grab a frame. Sometimes 10 seconds isn't enough and I 
>> > have to try 12-15 seconds. 
>> > *ffmpeg -loglevel info -rtsp_transport tcp -i 
>> > "rtsp://192.168.7.51/rtsp-stream" -ss 00:00:10 -r 1 -vframes 1 -y 
>> > /home/weewx/Pictures/image.jpg* 
>> > It works, but I don't think rtsp is the ideal transport method for 
>> grabbing 
>> > a single frame, because you have to wait about 10+ seconds for the 
>> stream 
>> > to fully form a valid image. 
>>
>> Long ago I played with a dlink camera and as was able to figure out a 
>> URL that would get a single frame. You might log into the https 
>> interface and look at the html on the live view page. Also check out 
>> the zoneminder wikis and similar for the access methods. 
>>
>> I would not be surprised if you can find into for your camera on the web 
>> someplace. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/8930310b-59fa-41d4-a3a1-c8f08199faf6n%40googlegroups.com.

Reply via email to