Page 1 of 1

How to Snapshot (jpg file) from IPCam (MPEG-4)

Posted: 13 Apr 2007 22:36
by goku2409
Dear All,

I'm newbie here and Looking for your advice and help :)

I did snapshot on demand from IPCam with Motion-JPEG is no any problem,
I just grab jpeg file from IPCam directory, which it's JPEG-frame base.

but now I'm having difficult to take picture (snapshot) - jpeg file from IPCam with MPEG-4 codec. - under Linux OS - JPG file needed to be grab from LAN.
This MPEG-4 IPCAM has http and RTSP port for live streaming,

Anyone has any idea to snapshot the MPEG-4 live video (to JPEG file)?

Thank you alot for helping me out !!!

Posted: 14 Apr 2007 14:31
by dionoea
You need 1 snapshot ? or a continuously updating snapshot ?

Posted: 16 Apr 2007 06:19
by goku2409
You need 1 snapshot ? or a continuously updating snapshot ?
I just need 1 snapshot :)

I just that jpeg file to put into my database..

Posted: 24 Apr 2007 16:11
by tipok
Maybe ffmpeg will be better for your needs

Something like ffmpeg -i rtsp://ip_cam/stream.sdp -vcodec png -vframes 1 -an -f rawvideo -s 320x240 swing1.png

Posted: 04 May 2007 12:30
by goku2409
Thanks a lot, I will try it.. :D