[FFmpeg-cvslog] img2: Add j2k file extension for JPEG 2000

compn tempn at twmi.rr.com
Fri Apr 5 21:38:57 CEST 2013


On Fri,  5 Apr 2013 12:46:02 +0200 (CEST), Nicolas Bertrand wrote:
>img2: Add j2k file extension for JPEG 2000
>
>Signed-off-by: Diego Biurrun <diego at biurrun.de>
>diff --git a/libavformat/img2.c b/libavformat/img2.c
>--- a/libavformat/img2.c
>+++ b/libavformat/img2.c
>@@ -62,6 +62,7 @@ static const IdStrMap img_tags[] = {
>     { AV_CODEC_ID_SUNRAST,    "sunras"   },
>     { AV_CODEC_ID_JPEG2000,   "jp2"      },
>     { AV_CODEC_ID_JPEG2000,   "jpc"      },
>+    { AV_CODEC_ID_JPEG2000,   "j2k"      },
>     { AV_CODEC_ID_DPX,        "dpx"      },

ffmpeg/libavformat/img2.c:
    { AV_CODEC_ID_JPEG2000,   "j2c"      },
    { AV_CODEC_ID_JPEG2000,   "j2k"      },
    { AV_CODEC_ID_JPEG2000,   "jp2"      },
    { AV_CODEC_ID_JPEG2000,   "jpc"      },

too bad libav ignores ffmpeg. libav is missing out on j2c support.

http://samples.ffmpeg.org/jpeg2000/balloons.j2c
from
http://code.google.com/p/jpeg2000-plugin/source/browse/trunk/test/balloons.j2c

-compn


More information about the ffmpeg-cvslog mailing list