[FFmpeg-devel] State of MJ2 support?
Keith Hughitt
keith.hughitt
Tue Oct 21 15:47:53 CEST 2008
Hello,
I tried asking this question on the ffmpeg-users list last month, but
haven't recieved any response so I thought i'd ask here:
Does FFmpeg currently support decoding motion jpeg-2000 (mj2) movies?
The version of FFmpeg I'm using lists support for decoding m2:
[code]D mov,mp4,m4a,3gp,3g2,mj2 QuickTime/MPEG4/Motion JPEG 2000 format[/code]
However, when I try to convert a mj2 file (e.g.
http://www.openjpeg.org/samples/Speedway.mj2) to another format,
it complains about an "unsupported codec" for the input stream:
[code]
$ ffmpeg -i Speedway.mj2 out.mp4
FFmpeg version SVN-r15488, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-libvorbis
--enable-liba52 --enable-libdc1394 --enable-libgsm --disable-debug
--enable-libmp3lame --enable-libfaad --enable-libfaac --enable-libxvid
--enable-pthreads
libavutil 49.11. 0 / 49.11. 0
libavcodec 52. 0. 0 / 52. 0. 0
libavformat 52.22. 1 / 52.22. 1
libavdevice 52. 1. 0 / 52. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
built on Sep 30 2008 12:58:40, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Speedway.mj2':
Duration: 00:00:08.00, start: 0.000000, bitrate: 3018 kb/s
Stream #0.0(eng): Video: Motion JPEG2000, 352x288, 25.00 tb(r)
File 'out.mp4' already exists. Overwrite ? [y/N] y
Output #0, mp4, to 'out.mp4':
Stream #0.0(eng): Video: mpeg4, yuv420p, 352x288, q=2-31, 200 kb/s,
25.00 tb(c)
Stream mapping:
Stream #0.0 -> #0.0
Unsupported codec (id=0) for input stream #0.0
[/code]
Anyone know whether it can be done? Any help would be greatly appreciated.
Thanks!
Keith
More information about the ffmpeg-devel
mailing list