Opened 4 years ago

Closed 4 years ago

#2942 closed defect (fixed)

libopenjpeg enc: crash

Reported by: ami_stuff Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: libopenjpeg
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

this seems to crash here (have no libopenjpeg-enabled debug build)

C:\>ffmpeg -ss 20 -i u263.avi -vcodec libopenjpeg -pix_fmt yuv420p out%2d.jp2
ffmpeg version N-55957-g21dc3a3 Copyright (c) 2000-2013 the FFmpeg developers
  built on Sep  1 2013 18:01:18 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
  libavutil      52. 43.100 / 52. 43.100
  libavcodec     55. 30.100 / 55. 30.100
  libavformat    55. 15.100 / 55. 15.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 82.102 /  3. 82.102
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Input #0, avi, from 'u263.avi':
  Duration: 00:00:12.64, start: 0.000000, bitrate: 275 kb/s
    Stream #0:0: Video: h263 (U263 / 0x33363255), yuv420p, 320x240, 23.97 tbr, 2
3.97 tbn, 23.97 tbc
Output #0, image2, to 'out%2d.jp2':
  Metadata:
    encoder         : Lavf55.15.100
    Stream #0:0: Video: jpeg2000 (libopenjpeg), yuv420p, 320x240, q=2-31, 200 kb
/s, 90k tbn, 23.97 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h263 -> libopenjpeg)
Press [q] to stop, [?] for help
frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead -inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters i
f used)

Attachments (1)

u263.avi (425.6 KB) - added by ami_stuff 4 years ago.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by ami_stuff

comment:1 Changed 4 years ago by cehoyos

The crash is reproducible with the following command line:

$ ffmpeg -ss 1 -i tests/lena.pnm -vcodec libopenjpeg -f null -

comment:2 Changed 4 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords libopenjpeg added
  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from unspecified to git-master

Fixed by Michael Bradshaw in 3cfd4df.

Note: See TracTickets for help on using tickets.