[FFmpeg-trac] #193(undetermined:new): pbm: problem with mono image with non-space-separated pixel digits when converted to bmp/tiff

FFmpeg trac at avcodec.org
Thu May 12 16:12:55 CEST 2011


#193: pbm: problem with mono image with non-space-separated pixel digits when
converted to bmp/tiff
--------------------------+--------------------------
 Reporter:  ami_stuff     |        Type:  defect
   Status:  new           |    Priority:  normal
Component:  undetermined  |     Version:  unspecified
 Keywords:                |  Blocked By:
 Blocking:                |  Reproduced:  0
 Analyzed:  0             |
--------------------------+--------------------------
 Thanks Stefano for fixing ticket 154, but I found some problems with
 another file.

 1. when I convert attached image to bmp, there will be visisble black bar
 in the output image at the right side

 2. when I convert the attached image to tiff, ffplay will decode it
 incorrectly.

 {{{
 C:\>ffmpeg -i C:\bikerace.pbm out.tiff
 ffmpeg version git-N-29815-gde545d2, Copyright (c) 2000-2011 the FFmpeg
 develope
 rs
   built on May 11 2011 14:36:19 with gcc 4.5.3
   configuration: --enable-gpl --enable-version3 --enable-memalign-hack
 --enable-
 runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
 --enable-libo
 pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-
 libgsm --
 enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-
 libschroedinger
  --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx
 --enabl
 e-libx264 --enable-libxavs --enable-libxvid --enable-zlib --pkg-config
 =pkg-confi
 g
   libavutil    51.  2. 1 / 51.  2. 1
   libavcodec   53.  5. 0 / 53.  5. 0
   libavformat  53.  0. 3 / 53.  0. 3
   libavdevice  53.  0. 0 / 53.  0. 0
   libavfilter   2.  5. 0 /  2.  5. 0
   libswscale    0. 14. 0 /  0. 14. 0
 Input #0, image2, from 'C:\bikerace.pbm':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0.0: Video: pbm, monow, 550x423, 25 tbr, 25 tbn, 25 tbc
 [buffer @ 01DA1B80] w:550 h:423 pixfmt:monow tb:1/1000000 sar:0/1
 Output #0, image2, to 'out.tiff':
   Metadata:
     encoder         : Lavf53.0.3
     Stream #0.0: Video: tiff, monow, 550x423, q=2-31, 200 kb/s, 90k tbn,
 25 tbc
 Stream mapping:
   Stream #0.0 -> #0.0
 Press [q] to stop encoding
 frame=    1 fps=  0 q=0.0 Lsize=      -0kB time=0.04 bitrate=  -4.4kbits/s
 video:27kB audio:0kB global headers:0kB muxing overhead -100.079751%

 C:\>ffplay out.tiff
 ffplay version git-N-29815-gde545d2, Copyright (c) 2003-2011 the FFmpeg
 develope
 rs
   built on May 11 2011 14:36:19 with gcc 4.5.3
   configuration: --enable-gpl --enable-version3 --enable-memalign-hack
 --enable-
 runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
 --enable-libo
 pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-
 libgsm --
 enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-
 libschroedinger
  --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx
 --enabl
 e-libx264 --enable-libxavs --enable-libxvid --enable-zlib --pkg-config
 =pkg-confi
 g
   libavutil    51.  2. 1 / 51.  2. 1
   libavcodec   53.  5. 0 / 53.  5. 0
   libavformat  53.  0. 3 / 53.  0. 3
   libavdevice  53.  0. 0 / 53.  0. 0
   libavfilter   2.  5. 0 /  2.  5. 0
   libswscale    0. 14. 0 /  0. 14. 0
 [tiff @ 01E17640] Run went out of bounds
 Input #0, image2, from 'out.tiff':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0.0: Video: tiff, monob, 550x423, 25 tbr, 25 tbn, 25 tbc
 [ffsink @ 01E22D00] auto-inserting filter 'auto-inserted scaler 0' between
 the f
 ilter 'src' and the filter 'out'
 [scale @ 01E22140] w:550 h:423 fmt:monob -> w:550 h:423 fmt:yuv420p
 flags:0x4
 [tiff @ 01E17640] Run went out of bounds
    1.16 A-V:  0.000 s:0.0 aq=    0KB vq=    0KB sq=    0B f=0/0
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/193>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list