I”m trying to create only one thumbnail from random location from *flv video.
the code example that I found around the net wasn’t really helpful. If anyone knows how to do it
or has a code or method that would do, please share/explain. Thank you.
Im trying to create only one thumbnail from random location from *flv video. the
Share
I have gone through the sample code that is available over here (http://www.javacodegeeks.com/2011/02/xuggler-tutorial-frames-capture-video.html) that creates thumbnails out of a given input video file. In order to create only one, you can introduce a class level member variable (in the sample code the variable name is imageGrabbed). This variable just keeps track of thumbnail generation, once the very first thumbnail is created then in the calling function (in the sample code the calling function is main()) the while loop exits.
Hope this helps.
Regards,
Ismail.