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 !!!