jnohlgard / python-v4l2capture

Python extension to capture video with video4linux2 (fork of https://launchpad.net/python-v4l2-capture)
133 stars 83 forks source link

Return time stamp and sequence number with video frame #3

Open TimSC opened 11 years ago

TimSC commented 11 years ago

Adding an addition option when reading frames to get the time stamp and video sequence number as a tuple. I have tried to maintain API compatibility but it might be cleaner to change the api and always return this information.