[FFmpeg-trac] #6033(documentation:new): unsharp filter documentetion additional description.

FFmpeg trac at avcodec.org
Tue Dec 20 16:19:45 EET 2016


#6033: unsharp filter documentetion additional description.
-------------------------------------+-------------------------------------
             Reporter:  nicol        |                     Type:
               Status:  new          |  enhancement
            Component:               |                 Priority:  minor
  documentation                      |                  Version:  git-
             Keywords:  unsharp      |  master
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
 Summary of the bug: Setting unsharp filter more than 28 adds luma_msize_x
 and luma_msize_y, chroma_msize_x and chroma_msize_y to an error.
 So I should describe under 26 adds luma_msize_x and luma_msize_y,
 chroma_msize_x and chroma_msize_y.

 Documentation
 https://ffmpeg.org/ffmpeg-filters.html#unsharp-1

 Source code
 https://github.com/FFmpeg/FFmpeg/blob/master/libavfilter/vf_unsharp.c#L144

 How to reproduce:
 {{{
 % ffmpeg -v 9 -loglevel 99 -f lavfi -i
 color=c=white:size=640x360,unsharp=lx=5:ly=23:la=-1:cx=5:cy=5:ca=0 -t 1
 error0.mp4
 ffmpeg version N-82785-g6b95da9 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.4.0 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-dxva2 --enable-libmfx --enable-n
 venc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --ena
 ble-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-
 libfreetype --enable-libgme --enable-
 libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-
 libopencore-amrnb --enable-libopencor
 e-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus
 --enable-librtmp --enable-libschroedinger -
 -enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
 --enable-libtwolame --enable-libvidsta
 b --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-
 libwavpack --enable-libwebp --enable-lib
 x264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg
 --enable-lzma --enable-decklink --ena
 ble-zlib
   libavutil      55. 41.101 / 55. 41.101
   libavcodec     57. 66.109 / 57. 66.109
   libavformat    57. 58.101 / 57. 58.101
   libavdevice    57.  2.100 / 57.  2.100
   libavfilter     6. 68.100 /  6. 68.100
   libswscale      4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
   libpostproc    54.  2.100 / 54.  2.100
 Splitting the commandline.
 Reading option '-v' ... matched as option 'v' (set logging level) with
 argument '9'.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument '99'.
 Reading option '-f' ... matched as option 'f' (force format) with argument
 'lavfi'.
 Reading option '-i' ... matched as input url with argument
 'color=c=white:size=640x360,unsharp=lx=5:ly=23:la=-
 1:cx=5:cy=5:ca=0'.
 Reading option '-t' ... matched as option 't' (record or transcode
 "duration" seconds of audio/video) with arg
 ument '1'.
 Reading option 'error0.mp4' ... matched as output url.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option v (set logging level) with argument 9.
 Successfully parsed a group of options.
 Parsing a group of options: input url
 color=c=white:size=640x360,unsharp=lx=5:ly=23:la=-1:cx=5:cy=5:ca=0.
 Applying option f (force format) with argument lavfi.
 Successfully parsed a group of options.
 Opening an input file:
 color=c=white:size=640x360,unsharp=lx=5:ly=23:la=-1:cx=5:cy=5:ca=0.
 detected 4 logical cores
 [Parsed_color_0 @ 0000000000569e80] Setting 'c' to value 'white'
 [Parsed_color_0 @ 0000000000569e80] Setting 'size' to value '640x360'
 [Parsed_color_0 @ 0000000000569e80] size:640x360 rate:25/1
 duration:-1.000000 sar:1/1
 [Parsed_unsharp_1 @ 000000000056a940] Setting 'lx' to value '5'
 [Parsed_unsharp_1 @ 000000000056a940] Setting 'ly' to value '23'
 [Parsed_unsharp_1 @ 000000000056a940] Setting 'la' to value '-1'
 [Parsed_unsharp_1 @ 000000000056a940] Setting 'cx' to value '5'
 [Parsed_unsharp_1 @ 000000000056a940] Setting 'cy' to value '5'
 [Parsed_unsharp_1 @ 000000000056a940] Setting 'ca' to value '0'
 [Parsed_unsharp_1 @ 000000000056a940] luma or chroma matrix size too big
 [lavfi @ 0000000000566d40] Error initializing filter 'unsharp' with args
 'lx=5:ly=23:la=-1:cx=5:cy=5:ca=0'
 color=c=white:size=640x360,unsharp=lx=5:ly=23:la=-1:cx=5:cy=5:ca=0:
 Invalid argument
 ffmpeg version N-82785-g6b95da9
 built on ... zeranoe
 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

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


More information about the FFmpeg-trac mailing list