ivan16luis / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

Bad image using FrameGrabber (or FFmpegFrameGrabber does not seek) #154

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. import the ModifiedFrameGrabber.java
2. Grab a frame using ModifiedFrameGrabber.grab();
3.

What is the expected output? What do you see instead?
Good image from the video
Getting a bad image which most of the pixel are gray in color (pure gray), only 
several pixels get correct color.

What version of the product are you using? On what operating system?
20120108 with updated lib in previous issue post.
OSX 10.6

Please provide any additional information below.

I don't know whether it is about the codec.

Original issue reported on code.google.com by booker0108@gmail.com on 10 Feb 2012 at 6:58

Attachments:

GoogleCodeExporter commented 9 years ago
First, what's wrong with FFmpegFrameGrabber?

Original comment by samuel.a...@gmail.com on 11 Feb 2012 at 2:16

GoogleCodeExporter commented 9 years ago
Looking at your ModifiedFrameGrabber.java file, it seems you would like to have 
the ability to seek within a stream. I have added this feature in the latest 
release, as the FFmpegFrameGrabber.setTimestamp() method. Let me know if it 
works well for you or not, thank you!

Original comment by samuel.a...@gmail.com on 18 Feb 2012 at 2:20