Ask Your Question
0

Can python use VideoCapture for custom added functions in opencv 3.2.0?

asked 2019-08-19 02:26:37 -0600

frenchy gravatar image

updated 2019-08-19 04:21:48 -0600

I am editing ffmpeg and opencv's libraries to accommodate a feature to read NTP timestamps of a video stream's packets. Would I have to make adjustments to the videocapture function from python? I don't really understand the python bindings for videocapture. Can anyone explain?

Edit: I found the solution, apparently all i had to do was just edit the C++ code on the version of opencv of my choice then just build it and make install. Then it was called in videocapture's class.

Thanks a lot berak! the documentation helped quite a bit.

edit retag flag offensive close merge delete

Comments

  • 3.2.0 - why put any work into such an outdated version ?

  • "Would I have to make adjustments" -- if you make changes to the c++ API, sure you have to change the python wrappers too.

berak gravatar imageberak ( 2019-08-19 02:33:35 -0600 )edit

my bad, I want to test out something without breaking anything important, I am following a guide from back in 2017, duno if it'll still be functional but it's worth a shot. I'd like to ask in what way or how may I change the python wrappers? I am having trouble finding the information. Can you give an example as well?

frenchy gravatar imagefrenchy ( 2019-08-19 02:49:05 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2019-08-19 03:10:19 -0600

berak gravatar image
edit flag offensive delete link more

Comments

Thank you! I appreciate it.

frenchy gravatar imagefrenchy ( 2019-08-19 03:23:37 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2019-08-19 02:26:37 -0600

Seen: 494 times

Last updated: Aug 19 '19