[Libav-user] yuv420p mjp2 track misidentified as gray8 ?
"René J.V. Bertin"
rjvbertin at gmail.com
Sat Feb 9 23:26:57 CET 2013
On Feb 09, 2013, at 17:12, Paul B Mahol wrote:
>> reason. But if that is not the case, is there a way to interpret (or
>> complete) the frame data returned by avcodec_decode_video2() to reconstruct
>> a colour image?
I already thought so, and delving a bit into the code confirm it.
Anyway, I managed to backport libopenjpegdec.c from the current FFmpeg codebase. Wasn't very hard, and it seems I even gained a bit in performance while doing so.
More information about the Libav-user