[FFmpeg-trac] #891(undetermined:new): jpg: regression with odd width

FFmpeg trac at avcodec.org
Sat Jan 7 02:25:11 CET 2012


#891: jpg: regression with odd width
-------------------------------------+-------------------------------------
             Reporter:  ami_stuff    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  mjpeg        |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by ami_stuff):

 Please view 422_odd.jpg and out.bmp at the same time im IMDisplay
 (ImageMagick). You will notice a one-pixel-wide vertical line (from top to
 bottom of the image) in the output bmp file after the last person on the
 image (right side). This line does not exist in loaded jpg image.

 It's easier to spot it in IrfanView where the line have gray color (not
 the color of the ground).


 {{{
 $ ffmpeg.exe -i 422_odd.jpg out.bmp
 ffmpeg version 0.9.0.git-12d8340 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Jan  7 2012 02:04:56 with gcc 4.5.2
   configuration: --disable-ffplay --disable-ffserver --disable-ffprobe
 --disable
 -asm --disable-yasm --disable-shared --enable-static
   libavutil      51. 34.100 / 51. 34.100
   libavcodec     53. 54.100 / 53. 54.100
   libavformat    53. 29.100 / 53. 29.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 57.101 /  2. 57.101
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0.  5.100 /  0.  5.100
 Input #0, image2, from '422_odd.jpg':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: mjpeg, yuvj440p, 1023x767 [SAR 96:96 DAR
 1023:767], 25 t
 br, 25 tbn, 25 tbc
 Incompatible pixel format 'yuvj440p' for codec 'bmp', auto-selecting
 format 'bgr
 24'
 [buffer @ 016c19c0] w:1023 h:767 pixfmt:yuvj440p tb:1/1000000 sar:96/96
 sws_para
 m:
 [buffersink @ 016c1b80] auto-inserting filter 'auto-inserted scale 0'
 between th
 e filter 'src' and the filter 'out'
 [scale @ 016c1d90] w:1023 h:767 fmt:yuvj440p -> w:1023 h:767 fmt:bgr24
 flags:0x4

 Output #0, image2, to 'out.bmp':
   Metadata:
     encoder         : Lavf53.29.100
     Stream #0:0: Video: bmp, bgr24, 1023x767 [SAR 1:1 DAR 1023:767],
 q=2-31, 200
  kb/s, 90k tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (mjpeg -> bmp)
 Press [q] to stop, [?] for help
 frame=    1 fps=  0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=
 0.0kbits/
 s
 video:2301kB audio:0kB global headers:0kB muxing overhead -100.000000%
 }}}

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


More information about the FFmpeg-trac mailing list