> I try to use openRTSP to dump the rtsp stream to AVI file with command like 
> this "openRTSP -i w 352 -h 288 -f 25 rtsp://xxxx", where xxxx is the real 
> rtsp url, I've also change the code of "playCommon.cpp" in the line :
> aviOut = AVIFileSink::createNew(*env, *session, "stdout",
> to aviOut = AVIFileSink::createNew(*env, *session, "openRTSP.avi"

You don't need to do this.  Instead, just do
        openRTSP -i w 352 -h 288 -f 25 rtsp://xxxx > openRTSP.avi
i.e., redirect 'stdout' to a file on the command line.


> i can get the file, but it couldnot play, then i check the content of 
> openRTSP.avi file, find that the h264 start code is missing(the video codec 
> from stream is avc").
> so i add something to AVIFileSink.cpp, useFrame, like this

Thanks.  I will include this change in the next version of the software.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to