[FFmpeg-devel] [PATCH]Improve pix_fmt detection for the native jpeg2000 decoder

Michael Niedermayer michaelni at gmx.at
Sat Jul 13 03:34:50 CEST 2013


On Sat, Jul 13, 2013 at 12:09:01AM +0000, Carl Eugen Hoyos wrote:
> Michael Niedermayer <michaelni <at> gmx.at> writes:
> 
> > ffplay j2kreffile/file9.jp2
> 
> I may be wrong but afaict the image is actually 
> AV_PIX_FMT_PAL8.

interresting


> I can (probably) fix it but maybe not immediately 
> and afaict, FFmpeg behaves correctly with my 
> original patch (saying "I don't know what to 
> do the file").

I somehow prefer outputing something recognizeable over outputing
nothing. In reality there also should be usecases for that
like when the user wants to know whats on an picture and doesnt
watch it for entertainment.


> 
> The problem is that even when fixed, using 
> -vcodec libopenjpeg will do funny things, I 
> have no idea how to fix this...
> 

> > segfaults
> 
> Sorry!
> (Didn't we already agree that we do not want 
> the patch with the av_log()?)

yes

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

You can kill me, but you cannot change the truth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130713/b907f5fa/attachment.asc>


More information about the ffmpeg-devel mailing list