How to record your webcam with VLC
VLC is best known as a media player, but it can also record any webcam through its Open Capture Device dialog. It is free, open source and works the same way on Windows, Mac and Linux. The steps are a little hidden, so here they are in order.
Try It Now - Free Webcam Recorder
Ready to record
Click the button below to start
🔒 Your camera feed and recordings never leave your device. All processing happens locally in your browser.
Windows: record with Convert/Save
- Open VLC and choose Media > Open Capture Device (Ctrl + C).
- Set Capture mode to DirectShow.
- Pick your webcam under Video device name and your microphone under Audio device name.
- Optional: click Advanced options and set Video size (e.g. 1280x720) if VLC picks a low resolution.
- Click the small arrow next to Play and choose Convert (Alt + O).
- Choose the profile Video - H.264 + MP3 (MP4), click Browse and type a file name ending in .mp4.
- Click Start. VLC records in the background (the timeline keeps moving). Click Stop to finish the file.
Mac: record with Streaming/Saving
- Open VLC and choose File > Open Capture Device.
- On the Capture tab, select your camera under Video and your microphone under Audio.
- Tick Streaming/Saving at the bottom and click Settings.
- Choose File, click Browse to set the save location, and set Encapsulation to MPEG 4.
- Under Transcoding options, choose video codec H264 and audio codec MPEG 4 Audio (AAC). Click OK, then Open.
- Stop playback to finish the recording. If VLC shows no camera, allow it under System Settings > Privacy & Security > Camera.
Linux: Video4Linux2
- Choose Media > Open Capture Device and set Capture mode to Video camera.
- Set Video device name to /dev/video0 (or your camera's node) and Audio device name to your microphone (e.g. hw:1,0 or the PulseAudio default).
- Use Play > Convert as on Windows and pick the H.264 + MP3 (MP4) profile.
Quick alternative: the Record button
- Open the capture device with Play so the webcam shows in VLC.
- Enable View > Advanced Controls and click the red Record button. Click it again to stop.
- The file goes to your Videos folder. This saves the raw camera stream, so files can be large or play only in VLC – use Convert/Save for a normal MP4.
Troubleshooting
- No sound: choose the audio device explicitly in the capture dialog – 'Default' does not always include audio.
- 'Your input can't be opened': the camera is in use by another app, or blocked in your OS privacy settings.
- Choppy or out-of-sync video: lower the Video size, or record with a hardware-friendly profile; old CPUs struggle to encode 1080p H.264 live.
- File won't play: always stop the recording before closing VLC so the MP4 index is written.
Frequently Asked Questions
Can VLC take a photo from my webcam?
Yes. While the capture device is playing, choose Video > Take Snapshot (Shift + S on Windows, Cmd + Alt + S on Mac). VLC saves a PNG to your Pictures folder by default.
Is VLC a good webcam recorder?
It works and is free, but it is fiddly. For simple recordings the Windows Camera app, QuickTime or a browser recorder is quicker; for overlays and scenes use OBS Studio.
Why does VLC record only a few seconds or a 0 KB file?
Usually the destination has no file extension or the wrong profile is selected. Name the file with .mp4 and use the H.264 + MP3 (MP4) profile.