travolter
11th May 2021, 07:53
Hi guys.
Just wonder if is it possible to get this 1-bit effect with avisynth
example
https://07274spat.files.wordpress.com/2014/01/1_bit.png
FranceBB
11th May 2021, 09:15
Sometimes I'm stunned by the amount of questions that have been answered already here on Doom9...
Well it goes back to 2014, but here:
https://forum.doom9.org/showthread.php?p=1701555#post1701555
Color posted:
BlankClip(length=8, width=256, height=256, pixel_type="y8", fps=1, color_yuv=$800000)
r=mt_lutspa(mode="absolute",expr="x")
g=mt_lutspa(mode="absolute",expr="y")
b=mt_lutspa(mode="absolute",expr="255 x -")
mergergb(r,g,b)
pointresize(512,512)
function reduce(clip c,int depth)
{
assert(depth>=1&&depth<=8,"depth must be between 1 and 8 (inclusive)")
assert(c.isrgb(),"clip must be RGB")
if(depth==8){return c}
r=c.showred("y8")
g=c.showgreen("y8")
b=c.showblue("y8")
interleave(r,g,b)
dither_convert_8_to_16()
dither_y_gamma_to_linear(tv_range_in=false,tv_range_out=false)
dither_lut16("x 2 "+string(depth)+" ^ 1 - * 255 / round")
converttoyv12().dither_add_grain16(var=0.005).converttoy8()
f3kdb_dither(mode=1)
dither_lut8("x 2 "+string(depth)+" ^ 1 - / 255 * 256 * round")
dither_y_linear_to_gamma(tv_range_in=false,tv_range_out=false)
f3kdb_dither()
mergergb(selectevery(3,0),selectevery(3,1),selectevery(3,2))
}
scriptclip("""depth=8-current_frame
reduce(depth).subtitle("bit depth: "+string(depth))""")
and naughty guy "Feisty" posted:
Dither_convert_8_to_16()
dither_y_gamma_to_linear (tv_range_in=false,tv_range_out=false)
expr="0-0;65535-1"
SmoothCurve16 (Ycurve=expr, mode=0, interp=0, HQ=True, dither=75, limiter=False, TVrange=0)
dither_get_lsb ()
mt_lut ("x 255 *")
grayscale ()
with this golden remark:
honestly, 1bit looks like nothing but shit to me
xD
(side note: I added "Dither_convert_8_to_16" 'cause it wasn't mentioned in the original script)
Well, seriously, though, this is how ColorBars look in 1bit:
https://i.imgur.com/S0UnRhA.png
And this is a... ehm... football pitch... 25i 1bit
https://i.imgur.com/pUrzQ08.png
https://i.imgur.com/xICtoQw.png
This is a player 25i 1bit:
https://i.imgur.com/yrbzC4Q.png
https://i.imgur.com/V5vN9Sn.png
This is a basketball arena 25i 1bit:
https://i.imgur.com/Q3bQj6w.png
https://i.imgur.com/F21nyfC.png
This is a tennis player 25i 1bit:
https://i.imgur.com/4WODt30.png
https://i.imgur.com/BwZrS5i.png
Those are supporters in 25i 1bit:
https://i.imgur.com/oBHBZqM.png
https://i.imgur.com/ikfJAwr.png
This was fun...
We can start a new game: can you guess what it is in 1bit? :D
Reel.Deel
11th May 2021, 11:04
There's also this thread: Which filter / plugin to use to achieve 2 colour black and white output? (https://forum.doom9.org/showthread.php?t=173083)
StainlessS
11th May 2021, 14:18
Related
https://forum.doom9.org/showthread.php?p=1653390
https://forum.doom9.org/showthread.php?t=172266
#
https://forum.doom9.org/showthread.php?t=158242
https://forum.doom9.org/showthread.php?t=176018
travolter
11th May 2021, 18:10
thanks you so much for the replies guys!!! Im sorry about asking a question already posted.. sometimes is very confusing to find the "key" words to get the desired search results. Thanks again for the help ;)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.