I use ELP USB camera with h264-codec output.
Ffmpeg-command to take the video stream:
ffmpeg -i /dev/video1 -c:v copy output.ts
As result I have a video with 4Mb bitrate - this value is too high for my task.
There is the same situation when I use GSTreamer:
gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-h264,width=1280,height=720,framerate=30/1 ! mpegtsmux ! filesink location=output.ts
I know that it's possible to change the bitrate if we decode h264 the stream firstly and then encode it to h264 again. This operation requires too much CPU-power of my NanoPI device.
The main question is: Is it possible to change a USB-camera's bitrate without decoding?
Thanks in advance!