From VideoLAN Wiki
Jump to navigation Jump to search

VLC crashes while using DirectShow (eg Webcam)

This has also been discussed in the forum.

There was a bug a while back when you tried to stream using a directshow/webcam it would reboot the computer. The fix was to specify the resolution on the command line or in the "Advanced" section when opening the directshow.

Some things to try for reboot issues for direct show capture devices (it's not VLC crashing but it seems to trigger a driver bug which takes down the Operating System):

i) Update VLC to latest version (final or a development version from http://nightlies.videolan.org)
ii) Update DirectX to latest version (Windows Update)
iii) Update drivers for video and audio to latest versions.
iv) Disable hardware acceleration. Rightclick on Desktop, Properties, Settings, Advanced, Troubleshoot. Move the slider to None. Reboot
v) Use one capture device so only video for starters (no adev and commandline --no-audio) to rule out an audio driver problem (and vice versa)
vi) Force a dshow-size to something your card supports dshow-size="320x240", if that fails specify resolution with spaces "320 x 240".

This page is part of the informal VLC Support Guide.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.