[FFmpeg-soc] libavfilter: segfaults with -s

Víctor Paesa victorpaesa at googlemail.com
Mon Dec 24 12:27:14 CET 2007


Hi,

As of SVN 1666, -vfilters scale=100:50 works, but -s 100x50 (well, any HxW value
except original movie size) produces a segfault.

Scenario follows:

$ ffmpeg -i input.avi -vfilters scale=100:50 -y output.avi
FFmpeg version SVN-r11312, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-shared --disable-static --enable-gpl
--enable-pp --enable-swscaler --enable-pthreads --enable-liba52
--enable-avisynth --enable-libfaac --enable-libfaad --enable-libgsm
--enable-libmp3lame --enable-libnut --enable-libtheora
--enable-libvorbis --enable-libx264 --enable-libxvid
--extra-cflags=-DX_DISPLAY_MISSING --cpu=prescott --enable-avfilter
--build-suffix=-SVN
  libavutil version: 49.6.0
  libavcodec version: 51.49.0
  libavformat version: 52.3.0
  built on Dec 24 2007 10:23:40, gcc: 4.2.2
Input #0, avi, from 'input.avi':
  Duration: 00:00:20.2, start: 0.000000, bitrate: 30349 kb/s
    Stream #0.0: Video: dvvideo, yuv420p, 720x576 [PAR 0:1 DAR 0:1], 25.00 tb(r)
    Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Output #0, avi, to 'output.avi':
    Stream #0.0: Video: mpeg4, yuv420p, 100x50 [PAR 0:1 DAR 0:1],
q=2-31, 200 kb/s, 25.00 tb(c)
    Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
frame=  507 fps= 81 q=2.4 Lsize=     727kB time=20.3 bitrate= 293.5kbits/s
video:527kB audio:158kB global headers:0kB muxing overhead 6.076162%


$ ffmpeg -i input.avi -s 100x50 -y output.avi
FFmpeg version SVN-r11312, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-shared --disable-static --enable-gpl
--enable-pp --enable-swscaler --enable-pthreads --enable-liba52
--enable-avisynth --enable-libfaac --enable-libfaad --enable-libgsm
--enable-libmp3lame --enable-libnut --enable-libtheora
--enable-libvorbis --enable-libx264 --enable-libxvid
--extra-cflags=-DX_DISPLAY_MISSING --cpu=prescott --enable-avfilter
--build-suffix=-SVN
  libavutil version: 49.6.0
  libavcodec version: 51.49.0
  libavformat version: 52.3.0
  built on Dec 24 2007 10:23:40, gcc: 4.2.2
Input #0, avi, from 'input.avi':
  Duration: 00:00:20.2, start: 0.000000, bitrate: 30349 kb/s
    Stream #0.0: Video: dvvideo, yuv420p, 720x576 [PAR 0:1 DAR 0:1], 25.00 tb(r)
    Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Segmentation fault (core dumped)

Regards,
Víctor


More information about the FFmpeg-soc mailing list