Re: [FFmpeg-devel] [RFC PATCH v4 4/5] libavcodec/j2kenc: Support for multiple layers

2020-08-25 Thread Gautam Ramakrishnan
On Tue, Aug 25, 2020 at 2:09 PM Michael Niedermayer wrote: > > On Tue, Aug 25, 2020 at 09:50:06AM +0530, gautamr...@gmail.com wrote: > > From: Gautam Ramakrishnan > > > > This patch allows setting a compression ratio and to > > set multiple layers. The user has to input a compression > > ratio fo

Re: [FFmpeg-devel] [RFC PATCH v4 4/5] libavcodec/j2kenc: Support for multiple layers

2020-08-25 Thread Michael Niedermayer
On Tue, Aug 25, 2020 at 09:50:06AM +0530, gautamr...@gmail.com wrote: > From: Gautam Ramakrishnan > > This patch allows setting a compression ratio and to > set multiple layers. The user has to input a compression > ratio for each layer. > The per layer compression ration can be set as follows: >

[FFmpeg-devel] [RFC PATCH v4 4/5] libavcodec/j2kenc: Support for multiple layers

2020-08-24 Thread gautamramk
From: Gautam Ramakrishnan This patch allows setting a compression ratio and to set multiple layers. The user has to input a compression ratio for each layer. The per layer compression ration can be set as follows: -layer_rates "r1,r2,...rn" for to create 'n' layers. --- libavcodec/j2kenc.c