Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I can stream my Logitech QuickCam S5500 in Windows 7 using the following vlc command:

vlc dshow:// :dshow-vdev="Logitech QuickCam S5500" :dshow-adev=none :dshow-size=320x240 :dshow-fps=30 :no-dshow-config :no-dshow-tuner :live-caching=3000 :sout=#transcode{vcodec=h264,vb=0,scale=0,acodec=mp4a,ab=128,channels=2,samplerate=44100} :sout-keep

However, when I receive the stream (with VLC or other programs such as iSpy), the resolution of the stream (and camera) is 1280x960. I confirmed this by doing CTRL-I in VLC when it's playing dshow:// and looking at codec info. I also confirm it's too big because I have about 0.25 FPS. I've tried shortcuts for resolution, such as qis, etc. The QuickCam stays in 1280x960 no matter what.

I'm able to get my QuickCam to work with iSpy in direct mode using 320x240 yielding roughly 12 FPS, although this rate seems to fluctuate significantly (between 6 and 21). I'm hoping that VLC will smooth it out to solve this problem.

I've tried different (bogus) values of dshow-size, e.g., dshow-size=320x640, and VLC complains my device doesn't support them and refuses to stream. So I know it's somehow parsing the value and validating it.

Any ideas why the webcam is stuck in 1280x960 with VLC?

Alternative solution: anyone know how to specify the resolution of the QuickCam on the VLC plugin in iSpy? The documentation is thin on what arguments are passed, referring only to VLC's site and not how those arguments are used in the VLC plugin-in in iSpy.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Instead of using dshow-size=1280x960 try using dshow-size=1280*960. My example:

vlc dshow:// :dshow-vdev="Logitech HD Webcam C270" :dshow-adev="Microphone (HD Webcam C270)" :dshow-size=320*240 :live-caching=300 :sout=#transcode{vcodec=mp2v,vb=128,scale=Auto,acodec=mp3,ab=128,channels=1,samplerate=22050}:http{mux=ts,dst=:8080/} :sout-keep

share|improve this answer
    
Great answer! I'm very curious why the "*" is the key to making it work. All the other examples I find with Google show "x" as the separator between width and height. –  Fuhrmanator Sep 6 at 3:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.