[FFmpeg-user] rc buffer underflow

Ruoyu liangry at ucweb.com
Fri Oct 10 12:19:53 CEST 2014


Hi there,

I am new to ffmpeg. I have a question in capturing video stream with my 
camera.

Firstly, I clone current repository from github. And then, run 
./configure && make.

Secondly, start ffserver as below.

$ ./ffserver -f tests/ffserver.conf

Then, try starting ffmpeg to activate my camera.

$ ./ffmpeg -f video4linux2 -i /dev/video0 http://127.0.0.1:9999/feed1.ffm

Then, it complains rc buffer underflow repeatedly as below.

// more log omitted here
Press [q] to stop, [?] for help
[mjpeg @ 0x3802ac0] rc buffer underflow
[mjpeg @ 0x3809480] rc buffer underflow
[mjpeg @ 0x3802ac0] rc buffer underflow=5.6 q=5.6 q=3.6 q=7.6 q=33.2 
q=1.6 q=34.8 size=     156kB time=00:00:00.10 bitrate=12779.5kbits/s
[mjpeg @ 0x3809480] rc buffer underflow
[msmpeg4 @ 0x37f8c20] rc buffer underflow
[msmpeg4 @ 0x37f8c20] max bitrate possibly too small or try trellis with 
large lmax or increase qmax
[rv10 @ 0x37ff5e0] rc buffer underflow
[rv10 @ 0x37ff5e0] max bitrate possibly too small or try trellis with 
large lmax or increase qmax
[rv10 @ 0x37ff5e0] rc buffer underflow
[rv10 @ 0x37ff5e0] max bitrate possibly too small or try trellis with 
large lmax or increase qmax
[rv10 @ 0x37ff5e0] rc buffer underflow
[rv10 @ 0x37ff5e0] max bitrate possibly too small or try trellis with 
large lmax or increase qmax

Anyone know how to solve it? How to enlarge lmax or qmax? Correct me if 
I do something wrong. Thanks first.




More information about the ffmpeg-user mailing list