Hi all;
I've been having a hard time finding a way to get FFMpeg to sharpen only details in an image, instead of the whole frame. I need something like the "smartblur" filter (blur the input video without impacting the outlines), but one that simply sharpens the details instead of blurring everything else, which is simply ruining anything that's left and sharpening after that is making ruined data sharper.
I've tried an edge enhance convolution, but I need to get the black with white detail frames back to colour again and I don't want to use 2 passes, because I want to use a single program to do a few things. I already use FFMpeg and Virtualdub. The MSharpen 1.2.1 and UnsharpMask filters for Virtualdub do it, but I need FFMpeg to do it.
The FFMpeg docs are of little help. So what's the best way to get FFMpeg to sharpen details only?
Thanks in advance..![]()
+ Reply to Thread
Results 1 to 10 of 10
-
-
Your settings are good, but I'm not getting the same results I used to with other filters. I'll have to check out some tweaking..
-
-
Thanks very much. I've managed to get it very close to what I need.
"smartblur=1.5:-0.35:-3.5:0.65:0.25:2.0" -
-
You're right about the speed, but it's still some 20% faster than VDub's MSharpen filter. I can't remember if the edge enhance convolution was faster, I think so, but I got no idea how to get the frames back to what they should be and therefore can't test the speed of the entire operation.
Something else seems to have changed in FFMpeg as well. When I used to set rawvideo and pix_fmt yuv420p, it always created YV12 files, but these days it makes some silly "I420" file that Nero shows as miscoloured. I have to set it all manually and use "shuffleplanes" to fix it. I wonder who's idea that was? I can't see I'm doing anything wrong.. -
-
Hi,
I just asked a question about msharpen from avidemux and how to use a similar thing with ffmpeg: https://forum.videohelp.com/threads/392844-Moving-from-avidemux-to-ffmpeg-msharpen-and-hqdn3d Can you help me how to find similar settings I used with msharp (check other posting) with the smartblur from ffmpeg? Otherwise some good beginners guide what these settings in msharp and smartblur do would be helpfull. I got the settings from a vhs how to capture tutorial webside I found ages ago on the net.
ThXs!
Similar Threads
-
Sharpening everything but black lines?
By killerteengohan in forum RestorationReplies: 25Last Post: 30th Oct 2017, 18:32 -
Sharpening after Denoising
By Valmont in forum Newbie / General discussionsReplies: 3Last Post: 27th Dec 2016, 12:17 -
How much detail can you see?
By hello_hello in forum Newbie / General discussionsReplies: 4Last Post: 24th Mar 2016, 21:31 -
help me out with anime sharpening script
By zanzar in forum Newbie / General discussionsReplies: 0Last Post: 8th Feb 2016, 12:29 -
Dehalo and Chroma Sharpening?
By killerteengohan in forum RestorationReplies: 16Last Post: 9th May 2015, 23:51