> Thanks for your advice of redirecting stdout to a file, it works, and I find 
> the issue that dumped avi file cannot play in windows media player, that's 
> because the avi file has no index in the end. Now I make some changes by add 
> the index to the file after written movi data.
> i enclose the two changed files, but the changed code maybe uglily written, 
> hope it be changed gracefully.

FYI, the latest version (2012.10.22) of the "LIVE555 Streaming Media" code 
updates the "AVIFileSink" implementation to add an index at the end of each AVI 
file, as you suggested.  However, I'm not sure if the implementation is 
correct, because when I tried running "openRTSP" to record a AVI file, and then 
used VLC to try playing the file, VLC still complained about the AVI file index 
being "broken or missing".  So, please check the code, and let me know if there 
are any problems.

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

_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to