Re: [Live-devel] How to create a custom sink that streams to both the network and a local file

2011-12-14 Thread Hoang Bui Vu
Hi Ross, I have been playing with the FramedFilter class for a while, and created a simple filter that will just deliver its input to its output. However, it is not working for some reason. Can you point me to the point that I'm missing? HistoryFilter::HistoryFilter(UsageEnvironment& env, Frame

Re: [Live-devel] Live555 EventLoop crash

2011-12-14 Thread Ross Finlayson
> >That error message indicates that your input source object did not set > >"fFrameSize" properly. In particular, it set it to a value greater than > >"fMaxSize" - bad! > > >A data source object *must* check "fMaxSize" before delivering data and > >setting "fFrameSize". > > Ok, this is sur

Re: [Live-devel] Live555 EventLoop crash

2011-12-14 Thread David J Myers
>That error message indicates that your input source object did not set "fFrameSize" properly. In particular, it set it to a value greater than "fMaxSize" - bad! >A data source object *must* check "fMaxSize" before delivering data and setting "fFrameSize". Ok, this is surely what I'm doing

Re: [Live-devel] mpeg2transportstreamfromessource

2011-12-14 Thread Ross Finlayson
> Is there anything that can cause MPEG2TransportStreamFromESSource to disable > the PES headers? No; it automatically adds a PES header at the front of each chunk of data, before writing it to the resulting Transport Stream. The PES headers will be there; you just need to look closer :-) FYI

Re: [Live-devel] mpeg2transportstreamfromessource

2011-12-14 Thread Jeff Shanab
From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Wednesday, December 14, 2011 12:35 PM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] mpeg2transportstreamfromessource OK. I may be set for version 4 :(

Re: [Live-devel] Live555 EventLoop crash

2011-12-14 Thread Ross Finlayson
> Now, after streaming a number of frames to the client, I get the following > warning (the actual byte counts vary) > StreamParser::afterGettingBytes() warning: read 9828 bytes; expected no more > than 4142 That error message indicates that your input source object did not set "fFrameSize" pro

Re: [Live-devel] mpeg2transportstreamfromessource

2011-12-14 Thread Ross Finlayson
> OK. I may be set for version 4 L WTF is that supposed to mean? If you want people to help you, you're going to have to learn to write coherently. > My current arch has “subscribers” some subscribers restream, some write to > disk, this one is gonna HTTP live stream and the next will be RTMP.

[Live-devel] Live555 EventLoop crash

2011-12-14 Thread David J Myers
Hi Ross, I've modified my Live source Server application in the following way:- Where I was using Linux pipes to get data from the main thread to the Live555 event thread, I now cycle through a series of shared buffers. Linux pipes were too small (64k only) for my big 5MP images, and they also ha

Re: [Live-devel] mpeg2transportstreamfromessource

2011-12-14 Thread Jeff Shanab
How about this ESSource->MPEG2TransportStreamMultiplexor->MPEG2TransportStreamFromPESsource->mySink Instead of ESSource->MPEG2TransportStreamFromESsource->mySink Is that what is needed? PS is there a description of what each class does? From: live-devel-boun...@ns.live555.com [mailto:live-d

Re: [Live-devel] mpeg2transportstreamfromessource

2011-12-14 Thread Jeff Shanab
Nope, set for 5. But looking at Wikipedia it is not a PES it is just the h264 Elementary stream. So how to get it in the Packetized Elementary Stream? From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Jeff Shanab Sent: Wednesday, December 14, 2011 9:

Re: [Live-devel] mpeg2transportstreamfromessource

2011-12-14 Thread Jeff Shanab
OK. I may be set for version 4 :( But if I do pas the data in full frames, will it still work? My current arch has "subscribers" some subscribers restream, some write to disk, this one is gonna HTTP live stream and the next will be RTMP. I would rather only do the descriteFraming once. I may

Re: [Live-devel] mpeg2transportstreamfromessource

2011-12-14 Thread Ross Finlayson
> So… back to the issue, can you tell me the steps the data goes thru for this? > > Encoder > dataàH264DescriteFrameràessoure.addDataàMPEG2TransportStreamFromESSource->.ts > file In this case, you don't need any H.264 'framer' class (you need that only if your source is a byte stream, or if y

Re: [Live-devel] mpeg2transportstreamfromessource

2011-12-14 Thread Jeff Shanab
I understand but I need the architecture I have because of the 100's or more of sources and 100's of viewing clients so I can't write files, then index, then serve. It has to be a bit more dynamic than that. So... back to the issue, can you tell me the steps the data goes thru for this? Encoder

Re: [Live-devel] mpeg2transportstreamfromessource

2011-12-14 Thread Ross Finlayson
> I am not using the “LIVE555 Media Server” because I didn’t think it could do > Http Live Streaming. It does, as of July this year - though only for pre-recorded (and indexed) H.264 Transport Stream files. Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___

Re: [Live-devel] mpeg2transportstreamfromessource

2011-12-14 Thread Jeff Shanab
I am not using the "LIVE555 Media Server" because I didn't think it could do Http Live Streaming.** I have my own web server and generate the index on the fly. This is very simple and works well, it is just the contents of the .ts file that are incorrect. I think this because the saved .ts file i