unnivm / javacv

Automatically exported from code.google.com/p/javacv
0 stars 0 forks source link

<Android> Can't grab the different frames in a movie with ffmpeg #339

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. the while loop to grab all the diferent frames of the video

What is the expected output? What do you see instead?
expected: grab the different frames of the video then add each one to the 
arraylist.
what i see: all frames are the same(the last frame of the video).

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by goncaloc...@gmail.com on 15 Jul 2013 at 1:10

Attachments:

GoogleCodeExporter commented 8 years ago
Change 
    framesArray.add(frame); 
to
    framesArray.add(frame.clone());

And please post your questions on the mailing list next time if possible, thank 
you!

Original comment by samuel.a...@gmail.com on 15 Jul 2013 at 1:14

GoogleCodeExporter commented 8 years ago
It's working thank you so much!

Original comment by goncaloc...@gmail.com on 15 Jul 2013 at 1:18