[Live-devel] multi file read in testOnDemandRTSPServer
Ross Finlayson
finlayson at live555.com
Tue Jan 19 07:17:43 PST 2010
>It looks like the current MPEG4VideoStreamFramer implementation
>doesn't support this mode, because it maintains a state machine for
>parsing MPEG4 data. Each time it reads the video data, it seeks
>VISUAL_OBJECT_SEQUENCE_START_CODE (0x000001B0) which only exists at
>the beginning of the stream. If the START_CODE doesn't exist the state
>machine will break and streaming will fail.
OK, so you would need to buffer at least that data.
>However for H264 I believe we don't need to buffer the data.
>Maybe the restricted state machine (ie, seeking START_CODE) in
>MPEG4VideoStreamFramer is not necessary (sorry for this question, I
>don't have specific knowledge about MPEG4 standard)?
If your input source delivers discrete MPEG-4 frames (i.e., one frame
at a time), then you could use "MPEG4VideoStreamDiscreteFramer"
instead.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list