[FFmpeg-trac] #5630(undetermined:new): crop filter no longer outputs images of 1 pixel height
FFmpeg
trac at avcodec.org
Sat Jun 11 08:23:26 CEST 2016
#5630: crop filter no longer outputs images of 1 pixel height
-------------------------------------+-------------------------------------
Reporter: dericed | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: git- | undetermined
master | Keywords: crop,
Blocked By: | regression
Reproduced by developer: 0 | Blocking:
| Analyzed by developer: 0
-------------------------------------+-------------------------------------
Summary of the bug:
Until recently, the crop filter could be used to output a 1 pixel high
image (provided the input did not have chroma subsampling). To analyze
individual lines of video I could use crop to output one pixel row to pass
to other filters such as waveform. In git-master, the crop filter no
longer outputs 1 pixel high images.
How to reproduce:
{{{
ffplay -f lavfi -i testsrc -vf
"format=yuv444p|yuva444p10be|rgb24,crop=w=iw:h=1:x=0:y=20"
ffplay version git-2016-06-10-d4cd8e7 Copyright (c) 2003-2016 the FFmpeg
developers
built with Apple LLVM version 7.3.0 (clang-703.0.31)
configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared
--enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables
--enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-
opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --enable-
libfreetype --enable-ffplay --enable-vda
libavutil 55. 24.100 / 55. 24.100
libavcodec 57. 46.100 / 57. 46.100
libavformat 57. 37.101 / 57. 37.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 46.101 / 6. 46.101
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, lavfi, from 'testsrc':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240
[SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
[ffplay_crop @ 0x7fab0ae28560] Invalid too big or non positive size for
width '320' or height '0'
[ffplay_crop @ 0x7fab0ae28560] Failed to configure input pad on
ffplay_crop
}}}
Although the requested height is '1', the filter reports on height as 0.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5630>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list