Re: [Live-devel] testRTSPClient and MJPEG decoding

2013-07-30 Thread Tim Gee
Ok. It was my problem. I should have opened the file as binary. I added the 'b' to file open mode, and it worked. FILE *fout = fopen(fname,"wb"); Thanks for your help. Tim Gee<mailto:tim@aldiscorp.com> | Senior R&D Engineer Aldis<http://www.aldisco

Re: [Live-devel] testRTSPClient and MJPEG decoding

2013-07-29 Thread Tim Gee
ld occur. I'll keep looking. Tim Gee<mailto:tim@aldiscorp.com> | Senior R&D Engineer Aldis<http://www.aldiscorp.com/> | 10545 Hardin Valley Rd. | Knoxville TN | 37932 o: 865-978-6535 | f: 865-249-6608 From: live-devel-boun...@ns.live

Re: [Live-devel] testRTSPClient and MJPEG decoding

2013-07-28 Thread Tim Gee
medSource *src = scs.subsession->readSource(); scs.subsession->sink->startPlaying(*src, subsessionAfterPlaying, scs.subsession); if (scs.subsession->rtcpInstance() != NULL) { scs.subsession->rtcpInstance()->setByeHandler(subsessionByeHandler, scs.sub

Re: [Live-devel] testRTSPClient and MJPEG decoding

2013-07-28 Thread Tim Gee
Thanks. I'm able to view the RTSP stream in VLC and the Onvif device manager, which also uses Live555. The buffer is plenty big enough, and I'm not seeing truncated bytes. Tim Gee<mailto:tim@aldiscorp.com> | Senior R&D Engineer Aldis<http://www.aldiscorp.com/>

Re: [Live-devel] testRTSPClient and MJPEG decoding

2013-07-24 Thread Tim Gee
out = fopen(fname,"w"); fwrite(fReceiveBuffer, frameSize, 1, fout); fclose(fout); // Then continue, to request the next frame of data: continuePlaying(); } Tim Gee<mailto:tim@aldiscorp.com> | Senior R&D Engineer Aldis<http://www.aldiscorp.com/> | 10545 Hardin

[Live-devel] testRTSPClient and MJPEG decoding

2013-07-23 Thread Tim Gee
doing this? It appears that JPEGVideoRTPSource contains a private virtual function called processSpecialHeader() that is meant for this task, but I don't understand the Live555 architecture well enough to know how this should get called. Thanks, Tim Tim Gee<mailto:tim@aldiscorp