Hi Engin, Recently I found the codes have some other little problems. In H264RTPStreamFramer.cpp, in function afterGettingHeader1() --see follows: void H264RTPStreamFramer::afterGettingHeader1() { unsigned int nalu_size = *(int*)packetBuffer; nalu_size -= 12; // minus the rtp header which we already read and don't need. if( nalu_size > fMaxSize ) { fFrameSize = fMaxSize; //////////--I think there is an error here. ///// Maybe it should be like the following line?---weiyutao changed //fNumTruncatedBytes = fMaxSize - nalu_size; fNumTruncatedBytes = nalu_size - fMaxSize; //because nalu_size>fMaxSize nalu_size = fMaxSize; } else fFrameSize = nalu_size; // Also, I changed "nalu_size" in the following code to "fFrameSize" //fInputSource->getNextFrame( fTo, nalu_size,afterGettingNALU,this, /////handleClosure, this); fInputSource->getNextFrame( fTo, fFrameSize, afterGettingNALU, this, handleClosure, this); } Also in the same file (H264RTPStreamFramer.cpp), in the deconstructor of H264RTPStreamFramer, you commented the "delete [] fpps;" I do not know why. But if uncommented this line, when I used VLC to play the stream, it printed out an error message saying like this "Microsoft Visual C++ Debug Library --DAMAGE: after normal block(#385) at 0x00535D60". So I changed it back as you wrote. I do not know if I changed correctly, Or maybe I missed something? PS: I found in the Internet some people said that MPlayer supports the H.264, but when I used MPlayer in Linux( RedHat 9) to play my H.264 file, it gave out some error message and I could not play the stream. The error message is as follows: [root@localhost video_weiyutao]# mplayer rtsp://202.*.*.*:8554/h MPlayer 1.0pre8-3.2.2 (C) 2000-2006 MPlayer Team CPU: AMD Processor Model Unknown (Family: 15, Model: 44, Stepping: 2) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 ................................... Play rtsp://202.*.*.*:8554/h. STREAM_RTSP, URL: rtsp://202.*.*.*:8554/h Connecting to server 202.*.*.*[202.*.*.*]: 8554... rtsp_session: Not a Real server. Server type is 'unknown'. STREAM_LIVE555, URL: rtsp://202.*.*.*:8554/h Stream not seekable! Initiated "video/H264" RTP subsession on port 32800 Unknown MPlayer format code for MIME type "video/H264" VIDEO: [] 0x0 0bpp 0.000 fps 0.0 kbps ( 0.0 kbyte/s) FPS is not specified in file header(or may be invalid data)! Use -fps option! Cannot find streaming media. Exiting... (file ended) Do you have some opinions about this? Also, I know that VLC can play the stream. Do you know wether there are other players that can play the stream? Thank you.