[Libav-user] IntPtr to Packet data is not woking
prakash.rokade420 at gmail.com
Wed Feb 15 15:40:44 EET 2017
I am new in ffmpeg community.
May be you are write but the code works fine there is no issue,
while writing the audio data no error. Only the output file has no audio
but in file properties it shows the audio bitrate, sample rate...
Can you suggest something so the issue will get resolved. ..
Thanks for suggestion.
On 15 Feb 2017 16:26, "Carl Eugen Hoyos" <ceffmpeg at gmail.com> wrote:
> 2017-02-15 7:58 GMT+01:00 Prakash Rokade <prakash.rokade420 at gmail.com>:
> > codecContext->sample_fmt = codec->sample_fmts;
> > int ret = Ffmpeg::avcodec_open2(codecContext, codec, NULL);
> I believe you cannot generally do this:
> A codec does not necessarily support the sample_fmt you set.
> Additionally, the actual supported list of sample_fmts for a codec
> is not part of the API, it has changed in the past without any
> particular warning (like a version bump).
> Carl Eugen
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user