<div dir="ltr">I've since moved on from my question about trying to convert my old IP cam MJPEG streams to RTSP so I could get them into my NVR. But now I have another question for the educated community!<div><br></div><div>My new Sony SNC-EP550 cams support FFMPEG H264 stream and MPEG4 MJPEG stream along with JPEG. With the older Sony RZ30N cams, they had an MJPEG stream that we'd pull in either flexTPS or iSpy or my own recorder which parsed the MJPEG stream boundary to dump the images. I used this to sync up images to test data.</div><div><br></div><div>The problem I'm running into now with the new streams are that I cannot figure a way to record them. First, I tried the MJPEG stream (http://[ip]/image) and it's a raw stream of jpeg images with a CamTim and Frame Rate meta that repeats from time to time and there are no --myboundary or other type of JPEG boundaries to parse. So I haven't been able to figure out a way to capture the JPEGs. </div><div><br></div><div>The other method I thought was using ffmpeg to capture the h264 stream. I can listen for an external trigger in linux to start a process (as I did with the MJPEG Sony's) and I can get a stream, but the problem I'm running into with ffmpeg is the timing of capture. If I capture say 60 seconds of video data in real-time, the resulting video may be 80-90 seconds long and have some choppy parts. I rather it drop frames instead of buffering, or whatever it does.</div><div><br></div><div>So my thoughts to the community. Any processes you use to trigger and capture modern h264 or mjpeg wrapped streams? Any ideas on how to use ffmpeg properly to capture a stream? Or is there a way to properly dump JPEG images from an MJPEG stream that has no boundaries?</div><div><br></div><div>Thanks,</div><div>Tommy</div><div><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font color="#000000"><span style="font-size:12.8px">-- </span><br style="font-size:12.8px"></font><div style="font-size:12.8px"><font face="'Times New Roman'" size="1" color="#000000"><font face="Verdana"><b>Thomas M. Marullo, </b></font><font face="Verdana">Research Scientist III & RTMD IT Manager<br>ATLSS Engineering Research Center<br>Lehigh University, 117 ATLSS Drive, Bethlehem, PA 18015<br><a href="tel:%28610%29%20758-6683" value="+16107586683" target="_blank">(610) 758-6683</a></font></font></div></div></div></div></div>