Closed GoogleCodeExporter closed 9 years ago
Those video files are variable frame rate (VBR) so we need to reencode the
images that way too. Changing your loops to the following works for me here:
while ((frame = grabber1.grabFrame()) != null) {
recorder2.setTimestamp(grabber1.getTimestamp());
recorder2.record(frame);
}
long t = recorder2.getTimestamp();
while ((frame = grabber2.grabFrame()) != null) {
recorder2.setTimestamp(t + grabber2.getTimestamp());
recorder2.record(frame);
}
And please ask your questions on the mailing list next time if possible, thanks!
Original comment by samuel.a...@gmail.com
on 16 Sep 2013 at 1:33
WOW!! it worked , Thanks for the help!
Original comment by cybrop...@gmail.com
on 19 Sep 2013 at 9:46
Hi Samuel,
Can I combine more than 2 videos?I can record .But after 2 videos the frames
freezes.
Original comment by amlan....@gmail.com
on 27 Aug 2014 at 7:42
I am facing the error
Could not find class 'org.bytedeco.javacv.FFmpegFrameGrabber
in Android. Can you please resolve this.
Original comment by dfivet...@gmail.com
on 22 Apr 2015 at 1:41
Original issue reported on code.google.com by
cybrop...@gmail.com
on 2 Sep 2013 at 9:54Attachments: