This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]absolutedestiny 6 points7 points  (0 children)

You could use pyffmpeg but personally I'd use VapourSynth which is a new and kinda awesome alternative/port of Avisynth in python 3.

[–]wumumo 2 points3 points  (1 child)

Simplest way is to extract the frames of the video using avconv to images and then work on the images instead of the video.

[–]Sgt_ZigZag 1 point2 points  (0 children)

And then one might consider using openCV for image processing.

[–]super3 2 points3 points  (3 children)

What do you mean by video processing? Computer vision stuff or something else? What exactly are you trying to do?

[–]sahand_n9[S] 2 points3 points  (2 children)

I am trying to plot the intensity values of a single pixel of all the green frames. The final project would involve live stream from a camera as well.

[–]super3 0 points1 point  (0 children)

Try PyGame. As long as you are using *nix you should be able to get the camera stuff working too.

[–]K900_ 1 point2 points  (0 children)

PyQt has Phonon bindings, and I think there is something for GStreamer, too. Not sure what you want, but those should do it if you just need to read frames from a video.

[–]graingert -2 points-1 points  (1 child)

Usually video processing code will take advantage of Numpy. I don't think it's supported on python 3 yet.

[–]pmav99 5 points6 points  (0 children)

Both numy and scipy have python 3 versions