vlc and webcams with internal h264 encoder
Posted: 02 Jun 2012 13:09
Hi,
I've got an usb webcam with internal (hardware) h264 encoder and I managed to start the stream using:
So far, so good, but... The default bitrate, at which the webcam's h264 encoder is encoding the video stream, is too high for me (around 3-4 mbps) and I'd like to lower it down by telling the webcam to encode the video with a different bitrate. I don't want to transcode the stream with vlc, because in that case, there is no purpose of webcam's internal encoder.
I've been told (at the #v4l irc channel) that this can be done using ioctl() in vlc's source code (more info here, if needed: https://ffmpeg.org/trac/ffmpeg/ticket/1389 ), so my question is: is there a way to tell the webcam to lower the encoding bitrate, using vlc?
Thanks in advance.
I've got an usb webcam with internal (hardware) h264 encoder and I managed to start the stream using:
Code: Select all
vlc v4l2:///dev/video0:width=320:height=240:chroma=h264
I've been told (at the #v4l irc channel) that this can be done using ioctl() in vlc's source code (more info here, if needed: https://ffmpeg.org/trac/ffmpeg/ticket/1389 ), so my question is: is there a way to tell the webcam to lower the encoding bitrate, using vlc?
Thanks in advance.