[Live-devel] report a bug of openRTSP
Ross Finlayson
finlayson at live555.com
Fri Sep 7 22:03:02 PDT 2012
> 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120907/1dd9abe5/attachment.html>
More information about the live-devel
mailing list