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'm trying to do some some streaming with a webcam, but so far the results are not good: everything I stream in 320x240 looks good, but as soon as I choose a higher resolution, the image quality gets terrible and CPU usage is going through the roof.

I'm using a Logitech c525 camera, which claims to be HD, and 1280x720 native resolution).

If 1280x720 is the native resolution, I wonder why the quality is so terrible :(

I'm using VLC for streaming, and use the follwing vlm config file:

new camNumber2 broadcast enabled
setup camNumber2 input v4l2:///dev/video2:width:320:heigth:240
setup camNumber2 output #transcode{vcodec=mpeg4,acodec=none,vb=1000}:standard{access=http,mux=ogg,dst=0.0.0.0:8080}
control camNumber2 play

Like I said, as soon as I go any higher with the resolution, the quality drops to a big blocky mess.

I suspect there might be something wrong with my video input settings, and that vlc just tries to upscale the image to the resolution I requested, instead of grabbing the images at the requested resolution.

share|improve this question
    
I've managed to get better quality now by increasing the bitrate to 4096, but cpu usage is still pretty high. I wonder if I should choose another video codec? It's only used on my own network, so I don't need to worry too much about the bandwith... –  Jeroen Jacobs May 26 '12 at 23:58

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.