[FFmpeg-devel] Testing the JPEG 2000 Decoder

Michael Niedermayer michaelni
Sun Mar 23 20:53:57 CET 2008

On Sun, Mar 23, 2008 at 01:19:23PM +1000, Abhishek Bhatt wrote:
> G'day All,
> I have a very naive question. How do I test my JPEG 2000 decoder. It
> is registered as a VIDEO codec.
> Do i need a motion jpeg 2000 file or should I be able to convert
> JPEG2000 file format to JPEG file directly?

ffmpeg -f image2 -vcodec j2k  -i jpeg200file.j2k -f image2 -vcodec ppm testABC.ppm

Works, also using jpeg as output is not usefull, it must be raw otherwise
it would be unclear what differences come form jpeg200 and what from jpeg.

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Thouse who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080323/88f8dec7/attachment.pgp>

More information about the ffmpeg-devel mailing list