tsdemux(of version 0.10.23) : new segment event problem

Vincent Génieux vincent.genieux at startigen.fr
Tue Mar 4 02:20:57 PST 2014


Le 2014-03-04 06:19, ShivaKumar a écrit :
> Hi all,
> 
> 
> I am using "tsdemux" of gst-plugins-bad of version 0.10.23 in push 
> mode.
> Where tsdemux uses first pts of whichever stream(audio/video) comes 
> first as
> a start time of new segment event for all other streams also.
> 
> i.e., if audio packet comes first, then tsdemux uses pts of that first 
> audio
> packet as the start time of  new segment for both audio and video.
> 
> My question is why is this designed so, why not use first pts of video 
> for
> video pad new segment and why not first pts of audio for audio pad new
> segment.
> 

You must absolutely have the same "New segment" between your pads in 
order to synchronize them

If you try to use the first audio pts for audio new segment and the 
first video pts for the video new segment, then you will have a lipsync 
issue.

--
vincent.


More information about the gstreamer-devel mailing list