[Libav-user] yuv420p mjp2 track misidentified as gray8 ?

Paul B Mahol onemda at gmail.com
Sat Feb 9 17:12:59 CET 2013


On 2/9/13, "Rene J.V. Bertin" <rjvbertin at gmail.com> wrote:
> Hello,
>
> I'm playing with Motion-JPEG2000 support in my FFusion QuickTime component,
> mostly for fun,
>
> I have a test video produced with a recent ffmpeg version, from an mp4v
> video with `-vcodec libopenjpeg kk2.mov`
>
> The matching ffprobe identifies this as mjp2 yuv420p content, ffprobe from
> the ffmpeg version used by FFusion identifies it as gray8.
> The same libopenjpeg is used in both cases.
>
> I'm aware that FFusion uses an old lavc (v 52), and that maybe it does some
> kind of internal conversion of the yuv420p content into gray8, for whatever
> 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?

Negative.


More information about the Libav-user mailing list