The data in "fReceiveBuffer" (for the "video/H264" stream) is a 'raw' H.264 NAL
unit. So you can't write it directly to a ".mp4"-format file.
Instead, I suggest that you use the "openRTSP" application - see
http://www.live555.com/openRTSP/ Note that it has an option "-4" for writing
'stdout'
*I'm capturing a stream from a camera H264, output:*
Stream "rtsp://192.168.0.93/live1.sdp/"; audio/G726-32: Received 1000
bytes. Presentation
time: 1378214178.942223!
Stream "rtsp://192.168.0.93/live1.sdp/"; video/H264: Received 9263
bytes. Presentation
time: 1378214179.640553!
Stream "rtsp://192
> With testRTSPClient.cpp, i was able to add the following code to
> DummySink::afterGettingFrame() and successfully dump .h264 frames
Much better: Use the existing "H264VideoFileSink" class (instead of
"DummySink"), which (I think) already does exactly what you want.
Even better: Use the existi