[vlc-devel] Time Stamps for Async Data
Rémi Denis-Courmont
remi at remlab.net
Wed Dec 22 15:00:01 CET 2010
Hello,
On Wednesday 22 December 2010, Bill Dolson wrote:
> For the cases where this data is not already present in the mux I have
> written a slave demux to accept data packets from other sources (udp
> streams, serial ports, etc) and insert them into a ts mux. What would
> be the best recommendation for synthesizing a PTS so that the packets
> would be muxed into the stream at their arrival time? Are there any
> demuxers which handle a similar problem?
A *slave* demux instance can get the current timestamp from the
DEMUX_SET_NEXT_TIME control request. It was not really meant to synthetize
timestamps, but rather to synchronize multiple file format parsers. It should
work though.
--
Rémi Denis-Courmont
http://www.remlab.info
More information about the vlc-devel
mailing list