Ticket #1156 (closed defect: fixed)
dirac: hang with -vcodec dirac (or libschroedinger)
| Reported by: | ami_stuff | Owned by: | |
|---|---|---|---|
| Priority: | important | Component: | avcodec |
| Version: | git-master | Keywords: | dirac |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
http://ffmpeg.org/trac/ffmpeg/attachment/ticket/1059/599.png
it happens with any file as an input
C:\>ffmpeg -vcodec dirac -i 599.png ffmpeg version N-39367-g99bb88c Copyright (c) 2000-2012 the FFmpeg developers built on Mar 29 2012 02:20:20 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc 14) configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch= x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect --enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 - lwinmm' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapshots/buil d/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/snapshots/b uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --enable-n onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-libopencor e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.101 / 2. 66.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100
Change History
Note: See
TracTickets for help on using
tickets.



(gdb) r -vcodec dirac -i tests/lena.pnm Starting program: ffmpeg_g -vcodec dirac -i tests/lena.pnm [Thread debugging using libthread_db enabled] ffmpeg version N-39459-g7a3df01 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 1 2012 13:11:38 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.101 / 2. 66.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 Program received signal SIGINT, Interrupt. dirac_decode_frame (avctx=0x1418be0, data=0x7fffffffd230, data_size=0x7fffffffd47c, pkt=<value optimized out>) at libavcodec/diracdec.c:1845 1845 for (; buf_idx + DATA_UNIT_HEADER_SIZE < buf_size; buf_idx++) { (gdb) bt #0 dirac_decode_frame (avctx=0x1418be0, data=0x7fffffffd230, data_size=0x7fffffffd47c, pkt=<value optimized out>) at libavcodec/diracdec.c:1845 #1 0x000000000088a746 in avcodec_decode_video2 (avctx=0x1418be0, picture=0x7fffffffd230, got_picture_ptr=0x7fffffffd47c, avpkt=0x7fffffffd410) at libavcodec/utils.c:1424 #2 0x00000000004e420f in try_decode_frame (st=0x1412ec0, avpkt=<value optimized out>, options=<value optimized out>) at libavformat/utils.c:2266 #3 0x00000000004e95db in avformat_find_stream_info (ic=0x1412420, options=0x1419200) at libavformat/utils.c:2571 #4 0x00000000004109bb in opt_input_file (o=<value optimized out>, opt=<value optimized out>, filename=0x7fffffffe26e "tests/lena.pnm") at ffmpeg.c:3778 #5 0x0000000000414ac2 in parse_option (optctx=0x7fffffffda00, opt=0x7fffffffe26c "i", arg=0x7fffffffe26e "tests/lena.pnm", options=<value optimized out>) at cmdutils.c:300 #6 0x0000000000414d3b in parse_options (optctx=0x7fffffffda00, argc=5, argv=0x7fffffffddd8, options=0xa8cae0, parse_arg_function=0x411ec0 <opt_output_file>) at cmdutils.c:333 #7 0x0000000000413679 in main (argc=5, argv=0x7fffffffddd8) at ffmpeg.c:5219