Uploaded March 2019 | Updated November 2026, 1 day ago
This tutorial explains how to record video from webcam and save it as mp4 file from java program. We have discussed how to take video feed from webcam in the previous chapters.
A video is nothing but collection of still images. In this example, we will take images from the webcam in very short durations and then convert it as a video. For video encoding we will use Xuggler library.
Xuggler for Java: xuggle.com/xuggler
Code is available at github.com/afsalashyana/Java-Tutorial-Codes/tree/master/WebcamTutorial
-Genuine Coder
genuinecoder.com
This tutorial explains how to record video from webcam and save it as mp4 file from java program. We have discussed how to take video feed from webcam in the previous chapters.
A video is nothing but collection of still images. In this example, we will take images from the webcam in very short durations and then convert it as a video. For video encoding we will use Xuggler library.
Xuggler for Java: xuggle.com/xuggler
Code is available at github.com/afsalashyana/Java-Tutorial-Codes/tree/master/WebcamTutorial
-Genuine Coder
genuinecoder.com










