Re: [Live-devel] unicast onDemand from live source NAL Units

2013-01-28 Thread Ross Finlayson
> To use the example data that you used in your last email, this means that the > data that you should copy to *fTo should be > 09 10 00 00 00 01 67 42 C0 1F F4 02 00 30 D8 08 80 00 01 F4 ... Oops, it turns out that this wasn't correct. The "00 00 00 01" in the data is the 'start code', t

Re: [Live-devel] unicast onDemand from live source NAL Units

2013-01-28 Thread Ross Finlayson
Look, I don't know how much clearer I can be about this. The data that you copy to *fTo should be a single NAL unit, AND NOTHING ELSE! That means that there should not be ANY 'start code' or 'length prefix' or anything else at the start of the data. (I thought I made this clear in my last ema

[Live-devel] unicast onDemand from live source NAL Units

2013-01-28 Thread Pablo Gomez
Hi Ross, >Remember that the data that you copy to *fTo should be a NAL unit, and nothing >else. That means no start >code at the front. But it also means nothing else >at the front - including your >'length prefix'. >In other words - you need to omit the 'length prefix' when you copy the NAL

Re: [Live-devel] unicast onDemand from live source NAL Units

2013-01-24 Thread Ross Finlayson
> I have few options for this: > 0 implies that the encoder will add the start codes >1, 2, 4: length prefixed NAL units of size 1, 2, or 4 bytes > > If I set up the parameter to 0 the Discreteframer complains with the > following message ‘H264VideoStreamDiscreteFramer er

Re: [Live-devel] unicast onDemand from live source NAL Units

2013-01-24 Thread Pablo Gomez
>No, this is wrong! You should not be creating/using a "H264VideoStreamFramer" >at all. That class should be used *only* when the input is a >byte stream >(e.g., from a file). If - as in your case - the input is a discrete sequence >of NAL units (i.e., one NAL unit at a time), then you shou

Re: [Live-devel] unicast onDemand from live source NAL Units

2013-01-23 Thread Ross Finlayson
> FramedSource* H264LiveServerMediaSubsession::createNewStreamSource(unsigned > /*clientSessionId*/, unsigned& estBitrate) { > estBitrate = 1; // kbps, estimate > // Create the video source: >H264LiveStreamFramedSource* liveFramer = > H264LiveStreamFramedSource::createNew(envir(),liveBu

Re: [Live-devel] unicast onDemand from live source NAL Units

2013-01-23 Thread Pablo Gomez
o: 'live-de...@ns.live555.com' Subject: Re:Re: [Live-devel] unicast onDemand from live source NAL Units >First, I assume that you have are feeding your input source object (i.e., the >object that delivers H.264 NAL units) into a >"H264VideoStreamDiscreteFramer" >ob

Re: [Live-devel] unicast onDemand from live source NAL Units

2013-01-23 Thread Pablo Gomez
---------- Message: 1 Date: Tue, 22 Jan 2013 10:46:08 -0800 From: Ross Finlayson To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] unicast onDemand from live source NAL Units NVidia Message-ID: Content-Type: text/plain; charset="iso-8859-1&q

Re: [Live-devel] unicast onDemand from live source NAL Units NVidia

2013-01-22 Thread Ross Finlayson
First, I assume that you have are feeding your input source object (i.e., the object that delivers H.264 NAL units) into a "H264VideoStreamDiscreteFramer" object (and from there to a "H264VideoRTPSink"). > I tried to set up in the Streamer code enough size in the OutputPacketBuffer > but this

[Live-devel] unicast onDemand from live source NAL Units NVidia

2013-01-22 Thread Pablo Gomez
Hi, I'm trying to implement a unicast ondemand streaming from a live source. The live source comes from the Nvidia encoder NVEnc: http://docs.nvidia.com/cuda/samples/3_Imaging/cudaEncode/doc/nvcuvenc.pdf This encoder produces NAL units ready to send over the network. I have a lot of prob