[vlc-devel] Streaming H.264/AVC

Erik Hellerud erik-list at kladd.net
Sun Mar 20 23:39:27 CET 2005


Hi

I have modified the live.com library to support streaming of H.264, and 
added this to livedotcom.cpp:

else if( !strcmp( sub->codecName(), "H264" ) )
        {
        tk->fmt.i_codec = VLC_FOURCC( 'H', '2', '6', '4' );
        }

But to be able to play it back, I need the sequence parameter set and 
picture parameter set from the SDP file.

The interesting line from the SDP file looks like this:
a=fmtp:96 profile-level-id=674d00; 
sprop-parameter-sets=Z00AHpZSBYmI,aOuOIA==; packetization-mode=1

It's the sprop-parameter-sets (which is base64 encoded) I need to pass 
to the decoder. Does anyone have any ideas on how I can get these 
parameters, and then send it to the decoder?

Regards

Erik H

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list