Igor <[email protected]> added the comment: Thanks for the correction, but the fact is that I use libav* API and function av_find_stream_info returns an error. But I have found the solution. Before call av_find_stream_info() manual set InCtx->streams[]->codec->sample_fmt = SAMPLE_FMT_S16.
_____________________________________________________ FFmpeg issue tracker <[email protected]> <https://roundup.ffmpeg.org/roundup/ffmpeg/issue1575> _____________________________________________________
