[Live-devel] mpeg2transportstreamfromessource

Jeff Shanab jshanab at smartwire.com
Wed Dec 14 07:32:09 PST 2011


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 have no choice, I do need to know when each GOP starts. I was hoping that the beginning of payload plus the first 4 bytes of payload could give me that.
Looking at the bytes I do see 00 00 01 EO in a good exported .ts stream and I do not see that in the bad one. Almost like the H264 stream is inside a MPEG4 stream???

From: live-devel-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Wednesday, December 14, 2011 9:08 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] mpeg2transportstreamfromessource

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 you're feeding into a "H264VideoRTPSink").

You should be able to feed your encoder data directly to a "MPEG2TransportStreamFromESSource", by calling "MPEG2TransportStreamFromESSource::addNewVideoSource()", with "mpegVersion" == 5.

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

________________________________
No virus found in this message.
Checked by AVG - www.avg.com<http://www.avg.com>
Version: 2012.0.1890 / Virus Database: 2108/4680 - Release Date: 12/14/11
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111214/21d80470/attachment-0001.html>


More information about the live-devel mailing list