[Libav-user] avcodec_encode_audio2 failing with error code -22 in C++ FFMPEG
Neerav Patel
neeravpatel at hotmail.com
Thu Jun 19 16:05:51 CEST 2014
I have tried this...
All I get as an output is : Error number -22 occurred...
Doesnt really help too much.
From: harry at gps-laptimer.de
Date: Thu, 19 Jun 2014 10:41:42 +0200
To: libav-user at ffmpeg.org
Subject: Re: [Libav-user] avcodec_encode_audio2 failing with error code -22 in C++ FFMPEG
> I have the following code to encode an audio stream and everything seems to be working fine until I get to the avcodec_encode_audio2 function, I am failing with -22 error code, and I dont know what that error code means. I verified that pFrame and out_fmt_ctx are allocated. Does anyone have an idea of what the problem might be?
av_err2str (ret) generates a human readable version of the error code.
Greetings Harald
_______________________________________________
Libav-user mailing list
Libav-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140619/0e8a48b8/attachment.html>
More information about the Libav-user
mailing list