[FFmpeg-trac] #1618(avfilter:open): Padding to odd/uneven size fails (was: Scaling and padding to odd/uneven size fails)

FFmpeg trac at avcodec.org
Fri Aug 10 11:41:21 CEST 2012


#1618: Padding to odd/uneven size fails
------------------------------------+------------------------------------
             Reporter:  agowad      |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avfilter
              Version:  git-master  |               Resolution:
             Keywords:  pad         |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Changes (by cehoyos):

 * keywords:  pad padding => pad
 * status:  new => open
 * component:  undetermined => avfilter
 * reproduced:  0 => 1


Comment:

 videofilter pad does not accept odd size values, I don't think this is
 documented.
 {{{
 $ ffmpeg -f lavfi -i rgbtestsrc -vf scale=319:240,pad=319:240 out.avi
 ffmpeg version N-43418-g633b90c Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Aug 10 2012 11:20:41 with gcc 4.3.2 (GCC)
   configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-
 libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame
 --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs
 --enable-x11grab --enable-libass --enable-nonfree --enable-libfaac
 --enable-libopus --enable-libfdk-aac
   libavutil      51. 67.100 / 51. 67.100
   libavcodec     54. 51.100 / 54. 51.100
   libavformat    54. 22.104 / 54. 22.104
   libavdevice    54.  2.100 / 54.  2.100
   libavfilter     3.  7.100 /  3.  7.100
   libswscale      2.  1.101 /  2.  1.101
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 [lavfi @ 0x9100540] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, lavfi, from 'rgbtestsrc':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: rawvideo (RGBA / 0x41424752), rgba, 320x240 [SAR
 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
 [Parsed_pad_1 @ 0x90fe2e0] Input area 0:0:319:240 not within the padded
 area 0:0:318:240 or zero-sized
 [Parsed_scale_0 @ 0x90fdd80] Failed to configure input pad on Parsed_pad_1
 Error opening filters!
 }}}

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


More information about the FFmpeg-trac mailing list