Re: [Live-devel] StreamParser internal error (149999+ 4 > 150000)

2011-11-29 Thread Ross Finlayson
The problem here is the extremely large H.264 frame (about 280,000 bytes in size) that you have in this video. This was too big for our stream parsing code to handle. You can fix this by changing the constant BANK_SIZE in "liveMedia/StreamParser.cpp" from 15 to 30. (I'll also make thi

Re: [Live-devel] Passing H.264 RTP stream to hardware decode

2011-11-29 Thread Alberto Alvarez
the most recently-received > packet. This bit is used to indicate the end of an "access unit" (not just > a NAL unit). > > You might also want to look at the VLC code, because they've done H.264 &

Re: [Live-devel] Passing H.264 RTP stream to hardware decode

2011-11-29 Thread Alberto Alvarez
Sorry for the bad subject! > > Date: Tue, 29 Nov 2011 10:08:32 -0800 > From: Ross Finlayson > To: LIVE555 Streaming Media - development & use > > Subject: Re: [Live-devel] Passing H.264 RTP stream to hardware decode > Message-ID: <6634fb8c-1025-47c9-8f10-e0d66b300...@live555.com> > Conten

Re: [Live-devel] live-devel Digest, Vol 97, Issue 39

2011-11-29 Thread Alberto Alvarez
> > Date: Tue, 29 Nov 2011 10:08:32 -0800 > From: Ross Finlayson > To: LIVE555 Streaming Media - development & use > > Subject: Re: [Live-devel] Passing H.264 RTP stream to hardware decode > Message-ID: <6634fb8c-1025-47c9-8f10-e0d66b300...@live555.com> > Content-Type: text/plain; charset=

[Live-devel] StreamParser internal error (149999+ 4 > 150000)

2011-11-29 Thread eyal goltzman
Hello, I'm using live as an RSTP server and it worked great with the test videos that come with the package, I also succeed to work with some other sample video. The version I'm using is 0.72 2011.10.27 I tried to stream the attached sample ( http://dl.dropbox.com/u/12151823/2mp.264) video that ha

Re: [Live-devel] Passing H.264 RTP stream to hardware decode

2011-11-29 Thread Jeff Shanab
I have a filter that recievecs nal units and spits out frames. It is a simple state machine on nal type. Watchout for the embedded/unembedded SPS amd PPS packets, some sources have them and some don't. If they don't I build them from the SDP and then insert them in so Clients are happy. From:

Re: [Live-devel] Passing H.264 RTP stream to hardware decode

2011-11-29 Thread Ross Finlayson
> I am working on parsing H264 too. A RTP H264 stream > I found that it is a common approach of decoders (hard and soft) to request > an entire AU (or frame). > However, the code in live is parsing the streams at NAL-by-NAL basis. If you're talking about *receiving* H.264/RTP streams, then the on

Re: [Live-devel] Passing H.264 RTP stream to hardware decode

2011-11-29 Thread Alberto Alvarez
Hello, I am working on parsing H264 too. A RTP H264 stream I found that it is a common approach of decoders (hard and soft) to request an entire AU (or frame). However, the code in live is parsing the streams at NAL-by-NAL basis. At the (file) sink every NAL is appended to a file with an start_cod

Re: [Live-devel] RTSP latency on Android Clients

2011-11-29 Thread Ross Finlayson
> Sorry. I was asking the question in more general sense about RTSP clients > interpreting the bandwidth parameter of the SDP. Media player applications often have a "buffer duration" parameter that you can adjust... > The other question of controlling streaming framerate, where can I modify

Re: [Live-devel] RTSP latency on Android Clients

2011-11-29 Thread Sambhav
Sorry. I was asking the question in more general sense about RTSP clients interpreting the bandwidth parameter of the SDP. The other question of controlling streaming framerate, where can I modify this parameter ? On Tue, Nov 29, 2011 at 7:30 PM, Ross Finlayson wrote: > On Android clients RTSP

Re: [Live-devel] Passing H.264 RTP stream to hardware decoder

2011-11-29 Thread Ross Finlayson
> Thanks for a prompt reply. I guess I'm still a bit confused. How would my > application access H264 frame > received by H264VideoRTPSource ? You would write a "MediaSink" subclass that encapsulates your decoder, and then call yourDecoderMediaSink->startPlaying(yourH264VideoRTPSource, .

Re: [Live-devel] Passing H.264 RTP stream to hardware decoder

2011-11-29 Thread Felix Radensky
Hi Ross, On 11/29/2011 03:26 PM, Ross Finlayson wrote: I'd like to create an application that gets H.264 stream over RTP and passes it to hardware decoder. The decoder API expects a buffer containing H.264 frame and frame size. Will the combination of H264VideoRTPSource and H264VideoStreamDi

Re: [Live-devel] RTSP latency on Android Clients

2011-11-29 Thread Ross Finlayson
> On Android clients RTSP playback has a latency of around 5-6 seconds. The > client buffers data for this duration and then starts playing. > For live streaming this latency is very high. > > Does the client use the bandwidth information (b=AS:) to > calculate the buffer size. e.g 5-6sec in

[Live-devel] RTSP latency on Android Clients

2011-11-29 Thread Sambhav
Hi, On Android clients RTSP playback has a latency of around 5-6 seconds. The client buffers data for this duration and then starts playing. For live streaming this latency is very high. Does the client use the bandwidth information (b=AS:) to calculate the buffer size. e.g 5-6sec in this case?

Re: [Live-devel] Passing H.264 RTP stream to hardware decoder

2011-11-29 Thread Ross Finlayson
> I'd like to create an application that gets H.264 stream over RTP and > passes it to hardware decoder. The decoder API expects a buffer containing > H.264 frame and frame size. > > Will the combination of H264VideoRTPSource and H264VideoStreamDiscreteFramer > will do what I need ? You probably

[Live-devel] Passing H.264 RTP stream to hardware decoder

2011-11-29 Thread Felix Radensky
Hi, I'd like to create an application that gets H.264 stream over RTP and passes it to hardware decoder. The decoder API expects a buffer containing H.264 frame and frame size. Will the combination of H264VideoRTPSource and H264VideoStreamDiscreteFramer will do what I need ? Thanks. Felix.

Re: [Live-devel] live streaming from a file

2011-11-29 Thread Ross Finlayson
> My requirement needs a live mpeg ts stream for testing some media players. I > would like to simulate a live streaming by looping a *.ts file in my server > (lack of encoders and live source), so that the connecting clients will not > start playing the stream from beginning of the file always.

Re: [Live-devel] MPEG-2 Program Map Table PID

2011-11-29 Thread COEXSI
For DVB, PID up to 0x1F are reserved, see the table #1 in page #18 of the norm : http://www.etsi.org/deliver/etsi_en/300400_300499/300468/01.11.01_60/en_3004 68v011101p.pdf Sebastien. From: live

[Live-devel] live streaming from a file

2011-11-29 Thread Mahesh Duvarapu
Hi, My requirement needs a live mpeg ts stream for testing some media players. I would like to simulate a live streaming by looping a *.ts file in my server (lack of encoders and live source), so that the connecting clients will not start playing the stream from beginning of the file always. I