Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Get image frame from multiple video

$
0
0

my principal question : If I want to display a frame from a video source and after that treats it as image change size and place. I imagine I need to use the video library. Is it possible to do that and what will be the function to do that?

what I will like to do: I will like to have 3 image (frame from the movie) each image is chosen randomly from 10 different movies. Each draw() it will be a new set of image frame. It will take the total time of the movie length and split it in a number of frame count. If the movie is 90 min and I want to make a 100 draw(). So the first draw will take a frame from 0 to 0.9 sec and the second draw will take the frame for 0.91 to 1.8. it will be different if the movie is 110 min.

Should I use ffmpeg to split the frame or it will be a sample to use the video file in processing and get the frame I want from each movie. advice or previous examples will be welcome


Viewing all articles
Browse latest Browse all 2896

Trending Articles