[Live-devel] problem when outputting raw H264 stream

Ross Finlayson finlayson at live555.com
Fri Nov 20 06:56:29 PST 2009


>But where can I specify SPS and PPS NAL ?

As the "sprop_parameter_sets_str" parameter to "H264VideoRTPSink::createNew()".

This (string) parameter is formed by
1/ encoding the SPS NAL unit with Base64 (note that we have a 
function "base64Encode()" that will do this for you),
2/ encoding the PPS NAL unit with Base64, and then
3/ concatenating the two strings together, separated by a comma (i.e. 
',') character

The resulting string should then be passed as the 
"sprop_parameter_sets_str" parameter to 
"H264VideoRTPSink::createNew()".
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list