On Thu, Aug 20, 2009 at 12:56 PM, Tao Wu <span dir="ltr"><<a href="mailto:lanlantao@gmail.com">lanlantao@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I write a H264 framer and it works with openRTSP. However, it will<br>
cause VLC player to crash.<br>
Thanks for Ross's comment, I realized that my setup of SDP<br>
sprop_parameter_sets_str is not correct.<br>
<br>
I do not know the format or structure of SDP sprop_parameter_sets. I<br>
go over the RFC 3984, but not find the structure of it.<br>
Can anyone point out where I can find its definition/structure?</blockquote><div><br>It's already been discussed here extensively, but the format is:<br>
<br>
"SPS as Base64,PPS as Base64"<br>
<br>
SPS/PPS correspond with Sequence Parameter Set and Picture Parameter Set, respectively. So the SPS info base-64 encoded followed by the PPS base-64 encoded,
and delimited with a ",". If you're asking about the actual format of
the SPS/PPS info, that's specified in the ITU-T H.264 specification,
but you really don't need to know any of that information to get
streaming working. Your H.264 encoder should have some way of providing
you the SPS/PPS data, either in the video stream itself or through some
other interface. I'd consult the API for your encoder.</div></div>