Hi Nathanael, On Thursday 24 April 2008, Nathanael Galpin wrote: > Hi all, > > I have a webcam that supports Presentation Time Stamps (PTS) & Source > Clock Reference Time Stamps (SCR). From the information on the UVC > driver's main page I gather that the driver does not yet support these. > > Both these fields are part of the stream header. At some point the UVC > driver must strip these headers off when it builds the image buffer to > be pushed out. My question is where should I be looking in the UVC > driver source code for this? I'd like to take a look at these fields on > my camera by writing a quick customization of the driver to log these > values. (Even just using the trace function to dump them into the kernel > logs would be a good start for me.)
I see you found the answer yourself. Congratulations ;-) Now, as you're playing with PTS and SCR, I would be very grateful if you could come up with a way to use those fields to populate the v4l2_buffer timestamp member. That has been on my todo list for a long time and I've never got around to implement it. Best regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
