[FFmpeg-devel] Thirdparty codec integration.

2016-03-24 Thread Suresh Kumar
Hello, Currently i am integrating a third party video decoder to FFMPEG. I have an issue with my decoder. As it is giving multiple output frames for single packet/frame. I have tried the possible scenarios 1. If i return the decode function immediately(with consumed bytes) after getting the outpu

[FFmpeg-devel] Thirdparty audio codec integration

2016-04-05 Thread Suresh Kumar
Hello, Currently i am integrating third party PCM decoder,where the input of the decoder function should be s16/s24 and output will be of float type. In Init function, i have updated,avctx->bits_per_raw_sample = 32 and in decode_frame function, i have updated the AVFrame->format to AV_SAMPLE_FM

Re: [FFmpeg-devel] Thirdparty audio codec integration

2016-04-05 Thread Suresh Kumar
ta and fill with "float" values, which will be required to use by rendering as float data. My query is, what flags need to set from the decoder level so that the rendering will understand the data is float. Regards, Suresh. On Tue, Apr 5, 2016 at 7:14 PM, Carl Eugen Hoyos wrote: