I use the library of ffmpeg to decode stream from [TTQ HD Camera] and encode it to a rtmp stream. but I receive a lot of warnings like the picture below. i try to set qmin and qmax , it seems a little better. but still not totally resolve the problem.
encoder_context->qmin = 10;
encoder_context->qmax = 51;
who knows this is why ?
[dshow @ 04bfc640] real-time buffer [TTQ HD Camera] [video input] too full or near too full (101% of size: 3041280 [rtbufsize parameter])! frame dropped!
Have you tried increasing the
-rtbufsize
parameter to something larger than 3041280? If you have the RAM for it, try something like 2000M. It should be defined before the-i
of the camera.So something like:
Note that the resolution and frame rate are just examples and you would have to fill in your values that you have used in the ffmpeg command already.