Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
[deleted comment]
Like in Issue 409 the same story here: the same video with sound removed(see
attachment in http://code.google.com/p/javacv/issues/detail?id=409#c1 ) gives
correct and stable result for this video in terms of time difference between
sequential frames (not exactly the same code as given above where just time
measured, not time difference):
0, 0
1, 41666
2, 41667
3, 41667
.. etc, there are only 41667 values until the last frame, that is correct value
for 24 fps.
I hope this will help.
Original comment by mip...@gmail.com
on 14 Jan 2014 at 10:30
You're mixing video and audio frames. If the timestamps of the video frames are
increasing, and the timestamps of the audio frames are increasing, then
everything is normal. There is no reason for video and audio frames to be
synchronized among them, although they usually are up to a point. So, I guess
that also was not an issue after all? Please post your questions on the mailing
list next if possible, thanks!
Original comment by samuel.a...@gmail.com
on 15 Jan 2014 at 12:28
Yes, I missed that:
FFmpegFrameGrabber.grabKeyFrame() is FFmpegFrameGrabber.grabFrame(true, false,
true);
and
FFmpegFrameGrabber.grabFrame() is FFmpegFrameGrabber.grabFrame(true, true,
false);
and if i need just videoframe I should use FFmpegFrameGrabber.grab()
Sorry, I noticed this too late. But I tried to ask about that in Issue 312 in
comments. So please don't blame me for this issues I shouldn't create :)
Original comment by mip...@gmail.com
on 15 Jan 2014 at 1:48
Original issue reported on code.google.com by
mip...@gmail.com
on 14 Jan 2014 at 4:47