[FFmpeg-trac] #1031(swscale:new): yuv420p to rgb24 wrong pixels at end of rows

FFmpeg trac at avcodec.org
Fri Mar 2 20:13:48 CET 2012


#1031: yuv420p to rgb24 wrong pixels at end of rows
------------------------------------+-----------------------------------
             Reporter:  SephiRok    |                    Owner:  michael
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  swscale
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by SephiRok):

 Attached yuv420p 180x256 clip (Output.avi).

 Command:
 {{{
 >ffmpeg -i Output.avi Output.png
 ffmpeg version N-38292-ga4c22e3 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Feb 27 2012 14:50:39 with gcc 4.6.2
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-fr
 ei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
 libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --e
 nable-librtmp --enable-libschroedinger --enable-libspeex --enable-
 libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
  --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
 --enable-zlib
   libavutil      51. 41.100 / 51. 41.100
   libavcodec     54.  4.100 / 54.  4.100
   libavformat    54.  1.100 / 54.  1.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 62.101 /  2. 62.101
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0.  7.100 /  0.  7.100
   libpostproc    52.  0.100 / 52.  0.100
 Input #0, avi, from 'Output.avi':
   Metadata:
     encoder         : Lavf54.1.100
   Duration: 00:00:06.69, start: 0.000000, bitrate: 199 kb/s
     Stream #0:0: Video: vp8 (VP80 / 0x30385056), yuv420p, 180x256, 30 tbr,
 30 tbn, 30 tbc
     Metadata:
       title           : fanatic animation.avi Video #1
 Incompatible pixel format 'yuv420p' for codec 'png', auto-selecting format
 'rgb24'
 [buffer @ 034A1F00] w:180 h:256 pixfmt:yuv420p tb:1/1000000 sar:0/1
 sws_param:
 [buffersink @ 034A2920] auto-inserting filter 'auto-inserted scale 0'
 between the filter 'src' and the filter 'out'
 [scale @ 034C31A0] w:180 h:256 fmt:yuv420p -> w:180 h:256 fmt:rgb24
 flags:0x4
 Output #0, image2, to 'Output.png':
   Metadata:
     encoder         : Lavf54.1.100
     Stream #0:0: Video: png, rgb24, 180x256, q=2-31, 200 kb/s, 90k tbn, 30
 tbc
     Metadata:
       title           : fanatic animation.avi Video #1
 Stream mapping:
   Stream #0:0 -> #0:0 (vp8 -> png)
 Press [q] to stop, [?] for help
 [image2 @ 03496E60] Could not get frame filename number 2 from pattern
 'Output.png'
 av_interleaved_write_frame(): Invalid argument
 }}}

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


More information about the FFmpeg-trac mailing list