[FFmpeg-trac] #458(swscale:open): Scale filter can create output which scale filter cannot accept on its input

FFmpeg trac at avcodec.org
Sun Sep 11 16:31:19 CEST 2011


#458: Scale filter can create output which scale filter cannot accept on its
input
------------------------------------+-----------------------------------
             Reporter:  mdsh        |                    Owner:  michael
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  swscale
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by mdsh):

 ffmpeg -v 9 -loglevel 99 -i ~/Movies/Clock10.mov -vf
 "slicify=32,scale=0:0:interl=1,format=yuv420p,scale=0:0:interl=1,format=yuv422p,scale=0:0:interl=1,format=yuv420p"
 -pix_fmt yuv420p -vframes 1 -an -f rawvideo -y /dev/null
 ffmpeg version N-32383-ga2b66a3, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Sep  7 2011 20:41:27 with gcc 4.0.1 (Apple Inc. build 5494)
   configuration: --extra-cflags='-I${PREFIX}/include -I/opt/local/include'
 --extra-libs='-L${PREFIX}/lib -L/opt/local/lib -mmacosx-version-min=10.5'
 --prefix=/Users/mdsh/ffmpeg --enable-shared --disable-indev=jack
 --cc=gcc-4.0 --enable-gpl --enable-nonfree --enable-pthreads
   libavutil    51. 16. 0 / 51. 16. 0
   libavcodec   53. 13. 0 / 53. 13. 0
   libavformat  53. 11. 0 / 53. 11. 0
   libavdevice  53.  3. 0 / 53.  3. 0
   libavfilter   2. 39. 0 /  2. 39. 0
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12b9000] Format mov,mp4,m4a,3gp,3g2,mj2
 probed with size=2048 and score=95
 [dvvideo @ 0x12cf800] Unsupported bit depth: 0
 [dvvideo @ 0x12bae00] Unsupported bit depth: 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12b9000] All info found
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/mdsh/Movies/Clock10.mov':
   Metadata:
     creation_time   : 2009-06-23 19:40:06
   Duration: 00:00:10.00, start: 0.000000, bitrate: 29011 kb/s
     Stream #0.0(eng), 1, 1/2500: Video: dvvideo (dvcp / 0x70637664),
 yuv420p, 720x576 [SAR 16:15 DAR 4:3], 1/25, 28800 kb/s, 25 fps, 25 tbr,
 2500 tbn, 25 tbc
     Metadata:
       creation_time   : 2009-06-23 19:40:07
     Stream #0.1(eng), 1, 1/2500: Video: dvvideo (dvcp / 0x70637664),
 yuv420p, 720x576 [SAR 16:15 DAR 4:3], 1/25, 28800 kb/s, 25 fps, 25 tbr,
 2500 tbn, 25 tbc
     Metadata:
       creation_time   : 2009-06-23 19:40:07
 [buffer @ 0xd63920] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:16/15
 sws_param:
 [scale @ 0xd63e20] w:720 h:576 fmt:yuv420p -> w:720 h:576 fmt:yuv420p
 flags:0x4
 [scale @ 0xd64520] w:720 h:576 fmt:yuv420p -> w:720 h:576 fmt:yuv422p
 flags:0x4
 [scale @ 0xd64a20] w:720 h:576 fmt:yuv422p -> w:720 h:576 fmt:yuv420p
 flags:0x4
 [dvvideo @ 0x12cf800] Unsupported bit depth: 0
 Output #0, rawvideo, to '/dev/null':
   Metadata:
     creation_time   : 2009-06-23 19:40:06
     encoder         : Lavf53.11.0
     Stream #0.0(eng), 0, 1/90000: Video: rawvideo (I420 / 0x30323449),
 yuv420p, 720x576 [SAR 16:15 DAR 4:3], 1/25, q=2-31, 200 kb/s, 90k tbn, 25
 tbc
     Metadata:
       creation_time   : 2009-06-23 19:40:07
 Stream mapping:
   Stream #0.0 -> #0.0 (dvvideo -> rawvideo)
 Press [q] to stop, [?] for help
 [slicify @ 0xd63ea0] h:32
 Assertion y%4 == 0 failed at libavfilter/vf_scale.c:316
 Abort trap: 6

-- 
Ticket URL: <http://ffmpeg.org/trac/ffmpeg/ticket/458#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list