[FFmpeg-user] avcodec_open return error -22
stefasab at gmail.com
Tue Jan 10 18:48:17 CET 2012
On date Tuesday 2012-01-10 11:39:50 +0000, Jasleen Kaur encoded:
> Following is the code i have written to use ffmpeg to open MP4 encoder.
> When I call avcodec_open it returns -22.
> Is there missing configuration?
> What does this error mean? Is there any documentation for the error numbers?
AVERROR(EINVAL) if I'm not in error, check libavutil/error.h but you
should debug and see where it fails (in case the log doesn't tell
> Also what is the units for the bit_rate field?
bits per second IIRC.
More information about the ffmpeg-user