[Live-devel] TS Mux data sync.
Alex Chernilov
Alexc at optibase.com
Wed Aug 21 07:17:49 PDT 2013
Ross,
Thanks a lot! I could've been looking for this sync for ages!
Is it possible to have a Mux process a "Master" Pid (video) and
periodically set an event trigger (providing the current timing)? The
other DataStreamFramer should wait for this event and deliver its data
when it arrives. I could not figure out how to start the Framer idle and
provide one frame on request...
Thanks,
Alex
From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Wednesday, August 21, 2013 3:28 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] TS Mux data sync.
I'm trying to mux a H264 elementary stream along with the
private data into MPEG TS. It should be done offline, with 2 files -
video and data. I've added the support for data in the
MPEG2TransportStreamMultiplexor ( PMT and other stuff ), and this works.
The problem is that I only get data packets inserted in the resulted
file until the first video packet (something like 5 packets). After
that, only video packets are present.
I think the problem you're facing is that our Transport Stream
multiplexing code inserts chunks of data - from each source - as soon as
it gets them, regardless of how the chunks of data is timestamped.
I.e., it *doesn't* use the timestamps to make sure that all of the
chunks of data get inserted into the Transport Stream in timestamp
order. The reason for this is that the code was intended to multiplex
live sources, or data from a single file only (as we do with our
"testH264VideoToTransportStream" demo application).
Your solution, therefore, is to (somehow) make your data sources 'live'
streams, delivering data to their downstream object (in this case, the
Transport Stream multiplexor) only at the appropriate time, rather than
immediately.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
************************************************************************
************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals &
computer viruses.
************************************************************************
************
=
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130821/f00bdc1f/attachment-0001.html>
More information about the live-devel
mailing list