Is there a way to apply the ffmpeg unsharp filter on input to sharpen the incoming frames from an ffmpeg sourced h264 camera?
Thanks,
Jerry Allen
ffmpeg source camera sharpen
ffmpeg source camera sharpen
Debian 7.8 Zoneminder 1.28.1 from source AMD FX-8370 Processor 16 gig of ram. 11 HD IP cameras.
- nightcrawler
- Posts: 71
- Joined: Fri Aug 12, 2011 9:54 am
- Location: the netherlands
Re: ffmpeg source camera sharpen
Let me Google that for u
If you look at ffmpeg.org at the command list (24.47) you can use Strong luma sharpen effect parameters
so use this at the optional input options at ZM config (FFMPEG_INPUT_OPTIONS) and try it! Beware this input command slows your system and will be used for all your camera inputs
If you look at ffmpeg.org at the command list (24.47) you can use Strong luma sharpen effect parameters
Code: Select all
unsharp=7:7:2.5
Zoneminder @Ubuntu 11 server, ZM 1.25.0 , FFMPEG, 4 Analoge cameras, 1.6ghz P4mobile, 2GB ram, 60GB-HDD.
I also have an (homeseer) domotica system up-and-running with touchscreens,light controllers,weather forecast etc.
I also have an (homeseer) domotica system up-and-running with touchscreens,light controllers,weather forecast etc.
Re: ffmpeg source camera sharpen
Tried unsharp=7:7:2.5 before posting. This seems to only effect the image input for creating avi/mpeg etc from events and does not work at first glance. The cameras still work so it is not effecting the connection to the camera only the creation of video from events.
This option fails with;
Unable to generate video, check ...ffmpeg.log for details
----------
ffmpeg version 0.7.3-4:0.7.3-0ubuntu0.11.10.1, Copyright (c) 2000-2011 the Libav developers
built on Jan 4 2012 16:08:51 with gcc 4.6.1
configuration: --extra-version='4:0.7.3-0ubuntu0.11.10.1' --arch=amd64 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 51. 7. 0 / 51. 7. 0
libavcodec 53. 6. 0 / 53. 6. 0
libavformat 53. 3. 0 / 53. 3. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 4. 0 / 2. 4. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 52. 0. 0 / 52. 0. 0
Unable to find a suitable output format for 'unsharp=7:7:2.5'
-------------
This option fails with;
Unable to generate video, check ...ffmpeg.log for details
----------
ffmpeg version 0.7.3-4:0.7.3-0ubuntu0.11.10.1, Copyright (c) 2000-2011 the Libav developers
built on Jan 4 2012 16:08:51 with gcc 4.6.1
configuration: --extra-version='4:0.7.3-0ubuntu0.11.10.1' --arch=amd64 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 51. 7. 0 / 51. 7. 0
libavcodec 53. 6. 0 / 53. 6. 0
libavformat 53. 3. 0 / 53. 3. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 4. 0 / 2. 4. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 52. 0. 0 / 52. 0. 0
Unable to find a suitable output format for 'unsharp=7:7:2.5'
-------------
Debian 7.8 Zoneminder 1.28.1 from source AMD FX-8370 Processor 16 gig of ram. 11 HD IP cameras.
Re: ffmpeg source camera sharpen
Solved for you.
Really cleans up the created video from an event.
Add this to the output entry in ffmpeg options;
-r 25 -vf "unsharp=l:7:7:5" -ab 64k -b 5000k
Jerry
Really cleans up the created video from an event.
Add this to the output entry in ffmpeg options;
-r 25 -vf "unsharp=l:7:7:5" -ab 64k -b 5000k
Jerry
Debian 7.8 Zoneminder 1.28.1 from source AMD FX-8370 Processor 16 gig of ram. 11 HD IP cameras.