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 has a native resolution of 1280x720).
If 1280x720 is the native resolution, I wonder why the quality is so terrible?
I'm using VLC for streaming, and use the following 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 up-scale the image to the resolution I requested, instead of grabbing the images at the requested resolution.