Re: [Live-devel] MediaSubsession SDP description to NAL

2011-11-18 Thread James Norris
Thanks all, the live555 functionality here works fine. The problem is that ffmpeg requires H264 extradata in avcC format, which is annoyingly complex to put together. Manning up in progress... James On Thu, Nov 17, 2011 at 10:58 PM, Ross Finlayson wrote: > Then you will split the > returned

Re: [Live-devel] MediaSubsession SDP description to NAL

2011-11-17 Thread Ross Finlayson
> Then you will split the > returned string at the comma, if present. The first half will be the SPS > and the second half will be the PPS. Base64 decode both of these strings > (using Live555's base64Decode function if you wish) Yes, but it's simpler to call "parseSPropParameterSets()", because

Re: [Live-devel] MediaSubsession SDP description to NAL

2011-11-17 Thread Jeff Shanab
PM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] MediaSubsession SDP description to NAL This is a long shot, but does live555 contain any code that might convert the fmtp line from the SDP description of the MediaSubsession::savedSDPLines (), back into a NAL, in the

Re: [Live-devel] MediaSubsession SDP description to NAL

2011-11-17 Thread Chris Richardson (WTI)
Hi James, It is fairly straightforward to read the fmtp line and convert it to something FFMPEG can use. First, read the SPS and PPS from the SDP using MediaSubsession::fmtp_spropparametersets(). Then you will split the returned string at the comma, if present. The first half will be the SPS an

Re: [Live-devel] MediaSubsession SDP description to NAL

2011-11-17 Thread Ross Finlayson
> This is a long shot, but does live555 contain any code that might > convert the fmtp line from the SDP description of the > MediaSubsession::savedSDPLines (), back into a NAL, in the same data > format as the one which was parsed to create the line. It's not a 'long shot' at all. Of course we p