Changes between Version 6 and Version 7 of DenoiseExamples


Ignore:
Timestamp:
Jun 9, 2024, 2:36:43 PM (2 years ago)
Author:
MasterQuestionable
Comment:

[m] "${infile}" -> "${In}".

Legend:

Unmodified
Added
Removed
Modified
  • DenoiseExamples

    v6 v7  
    4545
    4646{{{
    47   $ ffplay -f 'lavfi' "movie='${infile}', \
     47  $ ffplay -f 'lavfi' "movie='${In}', \
    4848  format=pix_fmts='yuv444p',split=2[split1][split2]; \
    4949  [split2]extractplanes='y+u+v'[y][u][v]; \
    … …  
    6767
    6868{{{
    69 $ ffplay -f 'lavfi' "movie='${infile}', \
     69$ ffplay -f 'lavfi' "movie='${In}', \
    7070  split=2[split1][split2]; \
    7171  [split1]null[split1]; \
    … …  
    7979
    8080{{{
    81 $ ffplay -f 'lavfi' "movie='${infile}', \
     81$ ffplay -f 'lavfi' "movie='${In}', \
    8282  split=2[split1][split2]; \
    8383  [split1]null[split1]; \
    … …  
    9999
    100100{{{
    101 $ ffmpeg -an -dn -sn -i "${infile}" -filter:v hqdn3d,latency,trim=end_frame=1000 -f null -
     101$ ffmpeg -an -dn -sn -i "${In}" -filter:v hqdn3d,latency,trim=end_frame=1000 -f null -
    102102 [Parsed_latency] Min latency: 156 bitrate=N/A speed=14.1x
    103103
    104 $ ffmpeg -an -dn -sn -i "${infile}" -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' -
    105105 [Parsed_latency] Min latency: 136 bitrate=N/A speed=0.087x
    106106
    107 $ ffmpeg -an -dn -sn -i "${infile}" -filter:v nlmeans=s=1.00:p=5:pc=5:r=7:rc=7,latency,trim=end_frame=1000 -f null -
     107$ ffmpeg -an -dn -sn -i "${In}" -filter:v nlmeans=s=1.00:p=5:pc=5:r=7:rc=7,latency,trim=end_frame=1000 -f null -
    108108 [Parsed_latency] Min latency: 136 bitrate=N/A speed=0.387x
    109109
    110 $ ffmpeg -an -dn -sn -i "${infile}" -filter:v nlmeans=s=1.00:p=15:pc=15:r=31:rc=31,latency,trim=end_frame=10 -f null -
     110$ ffmpeg -an -dn -sn -i "${In}" -filter:v nlmeans=s=1.00:p=15:pc=15:r=31:rc=31,latency,trim=end_frame=10 -f null -
    111111 [Parsed_latency] Min latency: 133 bitrate=N/A speed=0.0179x
    112112}}}
    … …  
    123123
    124124{{{
    125 $ ffmpeg -i "${infile}" -vf atadenoise "outfile.mp4"
    126 
    127 $ ffplay "${infile}" -vf "atadenoise,null"  # Press 【W】 to cycle filters.
    128 }}}
    129 
    130 Advanced options usage...
    131 {{{
    132 $ ffmpeg -i "${infile}" \
     125$ ffmpeg -i "${In}" -vf atadenoise "outfile.mp4"
     126
     127$ ffplay "${In}" -vf "atadenoise,null"  # Press 【W】 to cycle filters.
     128}}}
     129
     130Advanced options usage...
     131{{{
     132$ ffmpeg -i "${In}" \
    133133  -filter:v "atadenoise=0a=0.02:0b=0.04:1a=0.02:1b=0.04:2a=0.02:2b=0.04:s=9:p=7:a='p':0s=32767:1s=32767:2s=32767" \
    134134  -codec:v 'libx264' -pix_fmt:v 'yuv420p' \
    … …  
    151151
    152152{{{
    153 $ ffmpeg -i "${infile}" -vf bm3d "outfile.mp4"
    154 
    155 $ ffplay "${infile}" -vf "bm3d,null"  # Press 【W】 to cycle filters.
    156 }}}
    157 
    158 Advanced options usage...
    159 {{{
    160 $ ffmpeg -i "${infile}" \
     153$ ffmpeg -i "${In}" -vf bm3d "outfile.mp4"
     154
     155$ ffplay "${In}" -vf "bm3d,null"  # Press 【W】 to cycle filters.
     156}}}
     157
     158Advanced options usage...
     159{{{
     160$ ffmpeg -i "${In}" \
    161161  -filter:v "bm3d=sigma=1.0:block=8:bstep=4:group=1:range=9:mstep=1:thmse=0:hdthr=2.70:estim='basic':ref='disabled':planes=7" \
    162162  -codec:v 'libx264' -pix_fmt:v 'yuv420p' \
    … …  
    179179
    180180{{{
    181 $ ffmpeg -i "${infile}" -vf dctdnoiz "outfile.mp4"
    182 
    183 $ ffplay "${infile}" -vf "dctdnoiz,null"  # Press 【W】 to cycle filters.
    184 }}}
    185 
    186 Advanced options usage...
    187 {{{
    188 $ ffmpeg -i "${infile}" \
     181$ ffmpeg -i "${In}" -vf dctdnoiz "outfile.mp4"
     182
     183$ ffplay "${In}" -vf "dctdnoiz,null"  # Press 【W】 to cycle filters.
     184}}}
     185
     186Advanced options usage...
     187{{{
     188$ ffmpeg -i "${In}" \
    189189  -filter:v "dctdnoiz=sigma=0:overlap=-1:n=3" \
    190190  -codec:v 'libx264' -pix_fmt:v 'yuv420p' \
    … …  
    207207
    208208{{{
    209 $ ffmpeg -i "${infile}" -vf fftdnoiz "outfile.mp4"
    210 
    211 $ ffplay "${infile}" -vf "fftdnoiz,null"  # Press 【W】 to cycle filters.
    212 }}}
    213 
    214 Advanced options usage...
    215 {{{
    216 $ ffmpeg -i "${infile}" \
     209$ ffmpeg -i "${In}" -vf fftdnoiz "outfile.mp4"
     210
     211$ ffplay "${In}" -vf "fftdnoiz,null"  # Press 【W】 to cycle filters.
     212}}}
     213
     214Advanced options usage...
     215{{{
     216$ ffmpeg -i "${In}" \
    217217  -filter:v "fftdnoiz=sigma=1:amount=1:block=32:overlap=0.5:method='wiener':prev=0:next=0:planes=7:window='hann'" \
    218218  -codec:v 'libx264' -pix_fmt:v 'yuv420p' \
    … …  
    237237
    238238{{{
    239 $ ffmpeg -i "${infile}" -vf hqdn3d "outfile.mp4"
    240 
    241 $ ffplay "${infile}" -vf "hqdn3d,null"  # Press 【W】 to cycle filters.
     239$ ffmpeg -i "${In}" -vf hqdn3d "outfile.mp4"
     240
     241$ ffplay "${In}" -vf "hqdn3d,null"  # Press 【W】 to cycle filters.
    242242}}}
    243243
    244244Advanced options...
    245245{{{
    246 $ ffmpeg -i "${infile}" \
     246$ ffmpeg -i "${In}" \
    247247  -filter:v "hqdn3d=hqdn3d=luma_spatial=4.00:chroma_spatial=3.00:luma_tmp=6.00:chroma_tmp=4.5" \
    248248  -codec:v 'libx264' -pix_fmt:v 'yuv420p' \
    … …  
    273273
    274274{{{
    275 $ ffmpeg -i "${infile}" -vf nlmeans "outfile.mp4"
    276 
    277 $ ffplay "${infile}" -vf "nlmeans,null"  # Press 【W】 to cycle filters.
    278 }}}
    279 
    280 Advanced options usage...
    281 {{{
    282 $ ffmpeg -i "${infile}" \
     275$ ffmpeg -i "${In}" -vf nlmeans "outfile.mp4"
     276
     277$ ffplay "${In}" -vf "nlmeans,null"  # Press 【W】 to cycle filters.
     278}}}
     279
     280Advanced options usage...
     281{{{
     282$ ffmpeg -i "${In}" \
    283283  -filter:v "nlmeans=s=1.00:p=7:pc=0:r=15:rc=0" \
    284284  -codec:v 'libx264' -pix_fmt:v 'yuv420p' \
    … …  
    311311
    312312{{{
    313 $ ffmpeg -i "${infile}" -vf owdenoise "outfile.mp4"
    314 
    315 $ ffplay "${infile}" -vf "owdenoise,null"  # Press 【W】 to cycle filters.
    316 }}}
    317 
    318 Advanced options usage...
    319 {{{
    320 $ ffmpeg -i "${infile}" \
     313$ ffmpeg -i "${In}" -vf owdenoise "outfile.mp4"
     314
     315$ ffplay "${In}" -vf "owdenoise,null"  # Press 【W】 to cycle filters.
     316}}}
     317
     318Advanced options usage...
     319{{{
     320$ ffmpeg -i "${In}" \
    321321  -filter:v "fftdnoiz=owdenoise=depth=8:luma_strength=1:chroma_strength=1 " \
    322322  -codec:v 'libx264' -pix_fmt:v 'yuv420p' \
    … …  
    339339
    340340{{{
    341 $ ffmpeg -i "${infile}" -vf vaguedenoiser "outfile.mp4"
    342 
    343 $ ffplay "${infile}" -vf "vaguedenoiser,null"  # Press 【W】 to cycle filters.
    344 }}}
    345 
    346 Advanced options usage...
    347 {{{
    348 $ ffmpeg -i "${infile}" \
     341$ ffmpeg -i "${In}" -vf vaguedenoiser "outfile.mp4"
     342
     343$ ffplay "${In}" -vf "vaguedenoiser,null"  # Press 【W】 to cycle filters.
     344}}}
     345
     346Advanced options usage...
     347{{{
     348$ ffmpeg -i "${In}" \
    349349  -filter:v "vaguedenoiser=threshold=2:method='garrote':nsteps=6:percent=85:planes=7:type='universal'" \
    350350  -codec:v 'libx264' -pix_fmt:v 'yuv420p' \