[Libav-user] Read data from webcam and save into jpeg images

Stefano Sabatini stefano.sabatini-lala at poste.it
Sat Jul 9 15:32:34 CEST 2011


On date Saturday 2011-07-09 05:22:23 +0700, KimNgoc encoded:
> Hi,
> 
> I write a sample for reading data from my webcam then save it into jpeg
> pictures as my attchment file.
> 
> But when run it, nothing was saved to disk, and there are messages on
> screen:
> 
> [mjpeg @ 0x1ae87f0] bitrate tolerance too small for bitrate

The error messaging clearly could be improved for being less clueless,
but this is related to bitrate. Try to tweak bit_rate params, *and*
read the mjpeg source so that you can understand what's the exact
meaning of the error.


More information about the Libav-user mailing list