MiaoRong / javacv

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

Cannot grab a complete non-keyframe #172

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Grab a frame at any timestamp
2.
3.

What is the expected output? What do you see instead?
The frame at the specific timestamp
Grey background with few parts of the frame

What version of the product are you using? On what operating system?
Android 4.0, OSX

Please provide any additional information below.
Keyframe is okay to be grabbed but others is not okay

Original issue reported on code.google.com by booker0108@gmail.com on 14 Mar 2012 at 11:44

GoogleCodeExporter commented 9 years ago
Are you talking about FFmpegFrameGrabber?

Original comment by samuel.a...@gmail.com on 15 Mar 2012 at 10:19

GoogleCodeExporter commented 9 years ago
If this is indeed about FFmpegFrameGrabber as I am pretty sure it is, please 
try the modifications posted at issue #162.

Or if this issue is about something else entirely, please let me know.

Original comment by samuel.a...@gmail.com on 17 Mar 2012 at 5:28

GoogleCodeExporter commented 9 years ago
this hapens if av_seek used with flag AVSEEK_FLAG_ANY, so it's not on keyframe 
and decoded frame(P or B) represent only difference from I-frame or previous P 
frame.

Original comment by aleksey....@gmail.com on 17 Mar 2012 at 7:58