• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Video File Frame By Frame

Fiona Richards
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I've been using the code used as an example in this old thread here, but for my purposes (writing the BufferedImage object to a file) it doesnt seem to do anything.

I have altered the code as follows

The change is very minor, as it uses the Xuggle library to dump the BufferedImage to a given file rather than to display it on the screen.

The problem is that no image ever appears to be dumped, so its as if no frames are being grabbed. Is this because I am using MP4 video, or have I completely misunderstood the original code.

Many thanks in advance
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic