On 16 January 2015 at 19:03, Bernd Pfrommer <bernd.pfrom...@gmail.com> wrote:
> I'm trying to build a stereo camera streamer that uses two individual
> cameras, each producing a h264 rtp stream using libav.
>
> A client application then receives the two streams, and synchronously
> displays the two images.
> It is crucial that the frames get captured at the same time (no problem
> there), and that the client has a way of associating the two frames with
> each other.

The only proper way to do this in the IP domain is to genlock the
source cameras with a shared reference and timecode.
Then at the software layer you just match timecodes.

> I was able to get encoding / muxing /demuxing/ decoding working, but
> the PTS on the client side don't agree with the sender's.

How are you managing to make the source PTSs align - do you turn the
cameras on *exactly* at the same time?

Kieran
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to