Changes between Version 19 and Version 20 of DenoiseExamples
- Timestamp:
- Jun 9, 2024, 5:25:33 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DenoiseExamples
v19 v20 92 92 }}} 93 93 94 == Benchmarking the relative performance of denoise filters #Benchmarking94 === Benchmarking the relative performance of denoise filters #Benchmarking 95 95 96 96 The performance of denoise filters varies depending on a number of factors, including algorithm, patch size, number of planes being processed, hardware etc. A user can measure and compare the relative performance of a denoise filter and the selected options using the [https://ffmpeg.org/ffmpeg-filters.html#latency_002c-alatency `latency`] benchmarking filter. … … 102 102 [Parsed_latency] Min latency: 156 bitrate=N/A speed=14.1x 103 103 104 $ ffmpeg -an -dn -sn -i "${In}" -filter:v nlmeans,latency,trim=end_frame=1000 -f 'null'-104 $ ffmpeg -an -dn -sn -i "${In}" -filter:v nlmeans,latency,trim=end_frame=1000 -f null - 105 105 [Parsed_latency] Min latency: 136 bitrate=N/A speed=0.087x 106 106 … … 251 251 }}} 252 252 253 Note:\\ 254 ͏ At the time of writing (FFmpeg 7.0.1), the command-line interface help suggests that all options default to 0. The Official FFmpeg online documentation suggests that the default value of luma_spacial is `4.0` and all other default values are solved-for. The contradiction in documentation is noted. 253 Note: At the time of writing (FFmpeg 7.0.1), the command-line interface help suggests that all options default to 0. The Official FFmpeg online documentation suggests that the default value of luma_spacial is `4.0` and all other default values are solved-for. The contradiction in documentation is noted. 255 254 256 255 Official FFmpeg online documentation is available at https://ffmpeg.org/ffmpeg-filters.html#hqdn3d … … 352 351 353 352 Official FFmpeg online documentation is available at https://ffmpeg.org/ffmpeg-filters.html#vaguedenoiser 353 354 == Codec-specific denoisers 355 356 It is noted that some encoders include denoise functions as private codec options. 357 For example, the external x264 encoder supports the `--nr` option, where a user may specify a value in the range of {0...65536}, with the default being 0 (disabled). 358 359 {{{#!shell 360 $ x264 --nr 200 -o "${Out}" "${In}" 361 362 $ ffmpeg -i "${In}" -codec:v 'libx264' -x264opts 'nr=200' "${Out}" 363 }}} 364 365 FFmpeg's range of denoise filters have the advantage of being codec-agnostic, can be evaluated independent of a transcode and offer a wider selection of algorithms.
