Trouble syncing 2 mono audio IP cams into stereo

Sebastian Dröge sebastian at centricular.com
Fri Jun 17 11:31:42 UTC 2016


On Do, 2016-06-16 at 18:51 +1000, Shervin Emami wrote:
> Hi,
> 
> I'm trying to convert mono (G.711 mulaw) streams from 2 IP cameras
> into a single stereo stream, but I've had a lot of trouble getting
> the Left & Right channel to stay in sync. Sometimes the 2 channels
> are perfectly in sync but sometimes they are 125ms out of sync. Here
> is my current pipeline (using Gstreamer 1.2.4 on Jetson TK1):
> [...]

The interleave element in 1.2 did not properly synchronize. You should
update to 1.8 and use the new audiointerleave element instead. That one
will synchronize the audio correctly according to its timestamps.

-- 

Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160617/ea468628/attachment.sig>


More information about the gstreamer-devel mailing list