[Live-devel] about mpeg4 stream project

Ross Finlayson finlayson at live555.com
Thu Jan 10 13:39:40 PST 2008


>I am doing a mpeg4 stream project on embedded Linux system, the 
>MPEG4 data come from a circular buffer or ping-pong buffer in my 
>embedded device, It seems I can start from 
>testOnDemandRTSCServer.cpp, but my problem is how I can make the 
>memory buffer as a file in Linux system

The easiest way to do this, IMHO, is to write an application that 
reads encoded data from your buffer, and writes it to 'stdout'.  Then 
pipe this into the "testOnDemandRTSPServer" application, by running:
	your-reader-application | testOnDemandRTSPServer

For this to work, you will need to modify the 
"testOnDemandRTSPServer.cpp" code to
1/ set "reuseFirstSource" to True
2/ use the filename "stdin" instead of "test.m4e"
-- 

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/20080110/fd20cb51/attachment.html 


More information about the live-devel mailing list