Opened 5 years ago

Closed 5 years ago

#8702 closed defect (wontfix)

Delogo filter error

Reported by: 姚知福 Owned by:
Priority: normal Component: avfilter
Version: git-master Keywords: delogo
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Any delogo parm, get error:

Logo area is outside of the frame.

How to reproduce:

% ffmpeg -i input -vf delogo=0:0:34:36:show=0 output
git master
built on gcc 4

I check the git history about vf_delogo.c .
commit: aea82dfe225ef195f558df0350b20175a82be901
Add auto set the area inside of the frame.
and config_input would always return ok.
But it fails.

Change History (3)

comment:1 by Carl Eugen Hoyos, 5 years ago

Priority: criticalnormal
Resolution: needs_more_info
Status: newclosed

Please reopen this ticket if you can provide the command line you tested together with the complete, uncut console output.

comment:2 by 姚知福, 5 years ago

Resolution: needs_more_info
Status: closedreopened

$ ../snap/bin/ffmpeg -i t1.avi -vf delogo=0:0:43:56:show=0 -y t1-delogo.mp4
ffmpeg version git-2020-06-01-dd76226 Copyright (c) 2000-2020 the FFmpeg developers

built with gcc 9.3.1 (GCC) 20200523
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 49.100 / 56. 49.100
libavcodec 58. 90.100 / 58. 90.100
libavformat 58. 44.100 / 58. 44.100
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 84.100 / 7. 84.100
libswscale 5. 6.101 / 5. 6.101
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100

Input #0, avi, from 't1.avi':

Metadata:

encoder : Lavf57.25.100

Duration: 00:00:22.10, start: 0.000000, bitrate: 1865 kb/s

Stream #0:0: Video: mpeg4 (Simple Profile) (DIVX / 0x58564944), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 1732 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 30k tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, fltp, 128 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (mp3 (mp3float) -> aac (native))

Press [q] to stop, ? for help
[delogo @ 000001862e6bd100] Logo area is outside of the frame.
[Parsed_delogo_0 @ 000001862e6b92c0] Failed to configure input pad on Parsed_delogo_0
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
[aac @ 000001862e61fb40] Qavg: 65536.000
[aac @ 000001862e61fb40] 2 frames left in the queue on closing
Conversion failed!

comment:3 by Steven Liu, 5 years ago

Resolution: wontfix
Status: reopenedclosed

This is not a bug, just you input an invalid x and y value, its not into filter_frame yet, the work flow is earlier then filter_frame.

Note: See TracTickets for help on using tickets.