I'm using latest FFMpeg. My goal is to encode video in x265, sometimes I need to denoise and resize the video.
I try to resize the video and encode to x265 - works OK. Video is resized
I try to apply denoising without resizing - works OK. I can see the size is little slower than without -filter. So filter is at least doing something.Code:ffmpeg.exe -i d:\Camera\sample1.avi -vf scale=640:360 -preset medium -c:v libx265 -an -x265-params crf=26 d:\Test\sample1_resized.mkv
Here I try to resize AND apply filter:Code:ffmpeg.exe -i d:\Camera\source1.avi -filter:v hqdn3d=4.0:3.0:6.0:4.5 -preset medium -c:v libx265 -an -x265-params crf=26 d:\Test\sample1_filtered.mkv
Video does gets resized but filter is NOT applied. I can tell this because video is the same bit by bit as the one that is resized with no filtering.Code:ffmpeg.exe -i d:\Camera\source1.avi -filter:v hqdn3d=4.0:3.0:6.0:4.5 -vf scale=360:200 -preset medium -c:v libx265 -an -x265-params crf=26 d:\Test\sample1_resize_filter.mkv
What am I doing wrong?
+ Reply to Thread
Results 1 to 4 of 4
-
Arguing with an idiot, make sure he isn't doing the same
-
Use a comma to separate filters in a sequential chain
In this example, hqdn3d is applied before the scale
Code:-filter:v hqdn3d=4.0:3.0:6.0:4.5,scale=360:200
-
You not reading FM... https://ffmpeg.org/ffmpeg-filters.html#Filtergraph-syntax-1 side to this there is plenty examples on internet https://trac.ffmpeg.org/wiki/FilteringGuide
-
Thanks! Fixed it.
Arguing with an idiot, make sure he isn't doing the same
Similar Threads
-
[FFMpeg] MP4 Fast Resize
By Marmz in forum Video ConversionReplies: 0Last Post: 18th Jun 2016, 15:17 -
FFmpeg resize and crop error
By z-machine95 in forum Video ConversionReplies: 4Last Post: 23rd May 2015, 18:57 -
[SOLVED] ffmpeg doesn't actually resize video
By yetanotherlogin in forum Video ConversionReplies: 8Last Post: 21st Apr 2014, 10:43 -
Resize video with ffmpeg...
By bla4free in forum Video ConversionReplies: 13Last Post: 20th Nov 2013, 10:11 -
high quality deinterlace, resize and denoise in AviSynth
By codemaster in forum Video ConversionReplies: 4Last Post: 21st Jun 2012, 17:04