New submission from ami_stuff <ami_st...@o2.pl>:

because it works incorrectly (crops)

http://samples.mplayerhq.hu/image-samples/Matisse-Small.ppm

C:\>ffmpeg -lowres 1 -i C:\Matisse-Small.ppm out.bmp
FFmpeg version SVN-r26325, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan 13 2011 04:13:55 with gcc 4.4.2
  configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-libvorb
is --enable-libtheora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg
 --enable-libschroedinger --enable-libopencore_amrwb --enable-libopencore_amrnb
--enable-libvpx --disable-decoder=libvpx --arch=x86 --enable-runtime-cpudetect -
-enable-libxvid --enable-libx264 --enable-librtmp --extra-libs='-lrtmp -lpolarss
l -lws2_32 -lwinmm' --target-os=mingw32 --enable-avisynth --enable-w32threads --
cross-prefix=i686-mingw32- --cc='ccache i686-mingw32-gcc' --enable-memalign-hack

  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 1 /  0.16. 1
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.92. 0 / 52.92. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.73. 1 /  1.73. 1
  libswscale     0.12. 0 /  0.12. 0
Input #0, image2, from 'C:\Matisse-Small.ppm':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: ppm, rgb24, 113x118, 25 tbr, 25 tbn, 25 tbc
[buffer @ 01bdfd50] w:113 h:118 pixfmt:rgb24
[ffsink @ 01cc2180] auto-inserting filter 'auto-inserted scaler 0' between the f
ilter 'src' and the filter 'out'
[scale @ 01cc2420] w:113 h:118 fmt:rgb24 -> w:113 h:118 fmt:bgr24 flags:0x4
Output #0, image2, to 'out.bmp':
  Metadata:
    encoder         : Lavf52.92.0
    Stream #0.0: Video: bmp, bgr24, 113x118, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
Input Stream #0.0 frame size changed to 227x237, rgb24
frame=    1 fps=  0 q=0.0 Lsize=      -0kB time=0.04 bitrate=  -4.4kbits/s
video:39kB audio:0kB global headers:0kB muxing overhead -100.054762%

----------
messages: 13467
priority: normal
status: new
substatus: new
title: remove lowres from pbm (pgm/ppm/...) decoder
type: bug

________________________________________________
FFmpeg issue tracker <iss...@roundup.ffmpeg.org>
<https://roundup.ffmpeg.org/issue2553>
________________________________________________

Reply via email to