[Live-devel] DeviceSource Streaming from raw living H264 byte-stream.

Xingjun Chen xjchen at email.arizona.edu
Mon Mar 30 16:27:49 PDT 2015


Hi Ross and all other developers,

I currently wrote my own "DeviceSource" as the video source to open the
read side of a pipe and reading video stream from there, the write side of
the pipe is feeded by my OMAX call back function, which keep pushing raw
H264 byte-stream frame by frame,  meanwhile in the "doGetNextFrame"
function, I read "PIPE_BUF" size of data from pipe, and then deliver the
whole buffer data using "deliverFrame()".

This works fine indeed, but this stupid way introduce "PIPE_BUF" size
buffer delay and cause choppy and glitch when streaming, since it not
handle the time stamp frame by frame, my question is how to use
deliverFrame() to pass the stream frame by frame along with size of Frame,
 and the pipe buffer is really needed for this pipeline, can I memory copy
the frame and delivery it as soon as the frame is ready.

or is there have have any other good choice for raw H264 buffer stream I
can use.

Thank you.
-- 
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20150330/3b090797/attachment.html>


More information about the live-devel mailing list