[Libav-user] IntPtr to Packet data is not woking
Prakash Rokade
prakash.rokade420 at gmail.com
Wed Feb 15 15:40:44 EET 2017
Hi Carl,
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[0];
>
> > 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
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170215/6384c437/attachment.html>
More information about the Libav-user
mailing list