<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [Live-devel] H264
streaming</title></head><body>
<blockquote type="cite" cite><font size="-1">I need to stream H264
video from linux device to PC. I write both the sender and receiver
part but would like to comply to the standard way of streaming it,
so:</font></blockquote>
<blockquote type="cite" cite><font size="-1">How should I packetize
the video? Should it be NAL packets or should I put it into transport
stream?</font></blockquote>
<div><br></div>
<div>For streaming, it is generally better to stream video and audio
separately, using their own specialized RTP payload formats. To
stream H.264 video, see
http://www.live555.com/liveMedia/faq.html#h264-streaming</div>
<div><br></div>
<div>You will then write a "ServerMediaSubsession" subclass
that uses your H.264 video source, and your
"H264VideoStreamFramer" subclass, to send RTP packets via a
"H264VideoRTPSink". Then use this in a
"RTSPServer".</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>