Hi Andy, thank you so much for your answer. I will ask Axis about how to set up the local clock. However, I don't know how to get that timestamps using ffmpeg. Maybe I am quite noob in streaming protocols. Could you please give me more details about it? For instance: does each AVPacket contains that timestamp? or AVFormatContext? I am quite confused.
-- Dídac Pérez 2013/11/26 Andy Shaules <[email protected]> > On 11/26/2013 12:34 AM, Dídac Pérez wrote: > > Hi all, > > I am using ffmpeg C++ libraries for connecting to network IP cameras and > retrieve the video stream through RTSP. I need to synchronize the video > frames to another video stream whose frames have timestamps that come from > a GPS signal. The problem is that I am not able to find the absolute > timestamp of the frames I get from the cameras. pts/dts values are > zero-based relative to the first frame, but I don't know how to know the > absolute timestamps (for instance, relative to 1 Jan 1900). In addition, I > don't know if it is actually possible. > > Please, I am stuck in this point and I need urgent help with this, and I > will really appreciate any help from you. Thank you so much. > Kindest regards, > > Dídac Pérez > > > > _______________________________________________ > Libav-user mailing > [email protected]http://ffmpeg.org/mailman/listinfo/libav-user > > RTCP Sender Reports can be used and ip cams usually include them > in-band. http://tools.ietf.org/html/rfc3550#section-6.4.1 > > THe camera manufacturer should have more info on setting up a local > network clock for the cameras to sync their clocks to. > > Using Axis? they have so much documentation that you can accomplish > everything you can imagine. > > Andy > > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
