Re: [FFmpeg-devel] libavcodec/flacenc: Possible bug

2020-07-03 Thread Olivier Ayache
Thank you for your reply, I am already sending frames with exactly the same number of frames to the encoder. Olivier On Fri, Jul 3, 2020 at 12:47 PM Hendrik Leppkes wrote: > On Fri, Jul 3, 2020 at 11:24 AM Olivier Ayache > wrote: > > > > I am currently working with FLAC encoder and I think I f

Re: [FFmpeg-devel] libavcodec/flacenc: Possible bug

2020-07-03 Thread Hendrik Leppkes
On Fri, Jul 3, 2020 at 11:24 AM Olivier Ayache wrote: > > I am currently working with FLAC encoder and I think I found a bug on pts > setted on AVPacket. > In flac_encode_frame function the pts provided is frame's pts, if we feed > the encoder with small frames, an encoded packet will be valid af

[FFmpeg-devel] libavcodec/flacenc: Possible bug

2020-07-03 Thread Olivier Ayache
I am currently working with FLAC encoder and I think I found a bug on pts setted on AVPacket. In flac_encode_frame function the pts provided is frame's pts, if we feed the encoder with small frames, an encoded packet will be valid after several frames and the pts of the first packet won't be 0.