[FFmpeg-devel] State of MJ2 support?

Martin Lindhe martin
Tue Oct 21 15:58:23 CEST 2008


Keith Hughitt wrote:

[...]
> $ ffmpeg -i Speedway.mj2 out.mp4
> FFmpeg version SVN-r15488, Copyright (c) 2000-2008 Fabrice Bellard, et al.
[...]
> 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
>   
[...]

FWIW, current svn still fails, but gives a better error message:

ml at martin-dev:~$ ffmpeg -i Speedway.mj2 test.mp4
FFmpeg version SVN-r15660, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --prefix=/usr --enable-gpl --enable-nonfree 
--enable-avfilter --enable-avfilter-lavf --enable-swscale 
--enable-postproc --enable-pthreads --enable-zlib --enable-shared 
--disable-stripping --enable-libfaac --enable-libfaad 
--enable-libmp3lame --enable-libx264 --enable-libamr-nb --enable-libamr-wb
  libavutil     49.12. 0 / 49.12. 0
  libavcodec    52. 0. 0 / 52. 0. 0
  libavformat   52.22. 1 / 52.22. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 1. 0 /  0. 1. 0
  libswscale     0. 6. 1 /  0. 6. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Oct 21 2008 15:57:01, gcc: 4.3.2
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)
swScaler: Unknown format is not supported as input pixel format
Cannot get resampling context

/martin





More information about the ffmpeg-devel mailing list