Re: [FFmpeg-devel] query on pixel formats

2020-06-20 Thread Kieran Kunhya
On Sat, 20 Jun 2020 at 18:59, Gautam Ramakrishnan wrote: > On Thu, Jun 18, 2020 at 3:06 AM Carl Eugen Hoyos > wrote: > > > > Am Mi., 17. Juni 2020 um 23:30 Uhr schrieb Carl Eugen Hoyos > > : > > > > > (A wild guess is that gray8 has to be added to RGB_PIXEL_FORMATS) > > > > If this is the issue,

Re: [FFmpeg-devel] query on pixel formats

2020-06-20 Thread Gautam Ramakrishnan
On Thu, Jun 18, 2020 at 3:06 AM Carl Eugen Hoyos wrote: > > Am Mi., 17. Juni 2020 um 23:30 Uhr schrieb Carl Eugen Hoyos > : > > > (A wild guess is that gray8 has to be added to RGB_PIXEL_FORMATS) > > If this is the issue, GRAY_PIXEL_FORMATS have to be added to > yuv_pix_fmts[] > > Carl Eugen > ___

Re: [FFmpeg-devel] query on pixel formats

2020-06-17 Thread Carl Eugen Hoyos
Am Mi., 17. Juni 2020 um 13:00 Uhr schrieb Gautam Ramakrishnan : > > Hi all, > > I am working on the JPEG2000 decoder. However I am having trouble > understanding pixel formats correctly. > For example, from my understanding, the reference file p1_01.j2k pixel > format does not get recognized by th

Re: [FFmpeg-devel] query on pixel formats

2020-06-17 Thread Carl Eugen Hoyos
Am Mi., 17. Juni 2020 um 23:30 Uhr schrieb Carl Eugen Hoyos : > (A wild guess is that gray8 has to be added to RGB_PIXEL_FORMATS) If this is the issue, GRAY_PIXEL_FORMATS have to be added to yuv_pix_fmts[] Carl Eugen ___ ffmpeg-devel mailing list ffmpe

Re: [FFmpeg-devel] query on pixel formats

2020-06-17 Thread Michael Niedermayer
On Wed, Jun 17, 2020 at 04:22:06PM +0530, Gautam Ramakrishnan wrote: > Hi all, > > I am working on the JPEG2000 decoder. However I am having trouble > understanding pixel formats correctly. > For example, from my understanding, the reference file p1_01.j2k pixel > format does not get recognized by

[FFmpeg-devel] query on pixel formats

2020-06-17 Thread Gautam Ramakrishnan
Hi all, I am working on the JPEG2000 decoder. However I am having trouble understanding pixel formats correctly. For example, from my understanding, the reference file p1_01.j2k pixel format does not get recognized by the native decoder. When I force a gray8 format on it, I am able to get output s