[FFmpeg-trac] #1852(swscale:open): libswscale can't handle destination widths below 8

FFmpeg trac at avcodec.org
Sat Oct 27 13:37:53 CEST 2012


#1852: libswscale can't handle destination widths below 8
-------------------------------------+-----------------------------------
             Reporter:  gjdfgh       |                    Owner:
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  swscale
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------
Changes (by cehoyos):

 * priority:  normal => wish
 * status:  new => open
 * type:  defect => enhancement
 * reproduced:  0 => 1


Comment:

 For future reports: Please always provide a command line together with
 complete, uncut console output to make the reports valid.
 {{{
 $ ffmpeg -i tests/lena.pnm -s 8x3 out.png
 ffmpeg version N-46039-g7fe6f6e Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Oct 26 2012 14:53:11 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      52.  0.100 / 52.  0.100
   libavcodec     54. 69.100 / 54. 69.100
   libavformat    54. 35.100 / 54. 35.100
   libavdevice    54.  3.100 / 54.  3.100
   libavfilter     3. 20.106 /  3. 20.106
   libswscale      2.  1.101 /  2.  1.101
   libswresample   0. 16.100 /  0. 16.100
   libpostproc    52.  1.100 / 52.  1.100
 Input #0, image2, from 'tests/lena.pnm':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
 Output #0, image2, to 'out.png':
   Metadata:
     encoder         : Lavf54.35.100
     Stream #0:0: Video: png, rgb24, 8x3, q=2-31, 200 kb/s, 90k tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (ppm -> png)
 Press [q] to stop, [?] for help
 Segmentation fault
 cehoyos at lisbeth:~/Projects/cehoyos/FFmpeg> ./ffmpeg -i tests/lena.pnm -s
 7x8 out.png
 ffmpeg version N-46039-g7fe6f6e Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Oct 26 2012 14:53:11 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      52.  0.100 / 52.  0.100
   libavcodec     54. 69.100 / 54. 69.100
   libavformat    54. 35.100 / 54. 35.100
   libavdevice    54.  3.100 / 54.  3.100
   libavfilter     3. 20.106 /  3. 20.106
   libswscale      2.  1.101 /  2.  1.101
   libswresample   0. 16.100 /  0. 16.100
   libpostproc    52.  1.100 / 52.  1.100
 Input #0, image2, from 'tests/lena.pnm':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
 [swscaler @ 0x34bd340] 256x256 -> 7x8 is invalid scaling dimension
 [swscaler @ 0x34bd340] 256x128 -> 7x4 is invalid scaling dimension
     Last message repeated 1 times
 [scaler for output stream 0:0 @ 0x34b2700] Failed to configure output pad
 on scaler for output stream 0:0
 Error opening filters!
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1852#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list