#help-old

1 messages · Page 8 of 1

snow portal
rugged dust
#

can temporarily use old.7tv.app

worthy arch
#

load all the users on one page PagStick

rugged dust
#

until that gets nuked LULE

warm badge
rugged dust
#

being able to search would be cool too

tulip solstice
#

50 channels is generally enough to show all the relevant channels ;)

#

that are using an emote

#

but maybe 7tv subs should be listed above the plebs

warm badge
#

ok🤯

neat otter
#

Is it a bug, or wanted that I cant reactivate my Subscription with PayPal? I want another year Apu

sly radish
#

Jesus giving u a second chance PagMan

rugged dust
#

should have kept auto-renew on LULE

neat otter
rugged dust
#

anatole probably has to do it manually

earnest roost
#

you'll be able to resub when it runs out without losing anything

woeful lily
#

Hi new here, I've tried to change my color after subbing but it won't change for some reason any help please ?

rugged dust
woeful lily
neat otter
earnest roost
#

should be on the day it goes out

neat otter
#

Okay thanks. Then I'll probably set up a memory LUL

topaz valve
#

i'm trying to install chatterino7 on ubuntu 22.04 but i'm struggling a bit, i manually installed libraries like libssl and libboost but the error i'm getting is now:

chatterino: symbol lookup error: chatterino: undefined symbol: _ZdlPvm, version Qt_5

i'm guessing this is something to do with qt not being updated to latest or something but lmk

eager gazelle
#

hey, how can I delete an emote set i created?

topaz valve
#

just found out chatterino is in flathub beta

#

trying that atm

#

flatpak solved my issue, thanks anyway

sand vigil
eager gazelle
mental mantle
#

Hi today i bought a sub on 7tv and i didn;t get a other nick color on twitch i set orange enchanted color but doesn;t work

worthy arch
#

refresh

mental mantle
#

yeah i do it, removed extensions and again add still the same

#

ok nvm everythink currently working xD

steel willow
#

Does someone know why restricted users messages are invisible with 7tv active?

#

This is without 7tv

granite arch
#

When I was doing the emotes, it was impossible to add a tag, there was no tag window at all. so now how do I edit an emote and add a tag?

sand summit
#

go to your profile and find the emote you want to change then you should see a blue plus button under the size previews

#

click that too add tags

sly radish
#

click add tag, press Enter when youre done and click Save (green button)

eager gazelle
#

What means this?

#

Rate Limit Reached

sand summit
#

you have 10 emotes waiting for approval

eager gazelle
#

Uhm

#

What the

sand summit
#

well that is new

eager gazelle
#

XD

#

I used avifs

#

24 second 12 fps

#

480x270, 288 frames

earnest roost
eager gazelle
#

If i use the mp4, it always stays at 100%

earnest roost
#

try uploading as webp for now

eager gazelle
#

Okay

sand summit
#

stuck at 100 means file size too large. max is 7mb

eager gazelle
#

It's 2,6mb

#

And what ist webq? I just know webm

lavish shard
sand summit
#

webp is basically better gif

earnest roost
#

webp is an image format based on the VP8 video codec, it is the image version of webm

eager gazelle
#

But it's a Video i have

earnest roost
#

your upload isn't going to be a video on 7TV, it will be turned into an image

lavish shard
#

an animated image

eager gazelle
#

But you can upload mp4?

sand summit
#

images can still move Okayge

eager gazelle
#

I know

lavish shard
earnest roost
#

technically yes but video upload isn't greatly supported, also mp4 is a container format; so if you upload mp4 but with a codec that isnt supported then it might fail

sand summit
earnest roost
#

for the least trouble just upload as webp

halcyon walrus
#

Why are u pushing errors to client side

#

@earnest roost

earnest roost
#

so people know why their upload failed Shrugeg

eager gazelle
halcyon walrus
#

So u know which one I want to throw

earnest roost
#

or use the standard apierrors package in common

eager gazelle
#

Finally:D how long does it normally takes?

sand summit
#

usually takes like 10 seconds

#

refresh the page and it should pop up

lavish shard
#

i dont think the emote is loading lol

eager gazelle
#

This is the emote but it doesn't load

lavish shard
#

can you post the file here, and i'll see what can i do to make it able to upload

eager gazelle
#

24s < 750 frames, < 5 mb

#

420x236 Pixel

fresh seal
worthy arch
#

too many frames for sure

fresh seal
#

OMEGALUL HOLY FUCKING SHIT

eager gazelle
#

24s at 30fps

fresh seal
#

30 x 24

eager gazelle
eager gazelle
royal nebula
#

Nice emote LOLW

heady minnow
#

is 7tv visible by default on yt chat or have to enable smth? cuz i dont see emotes Danki

sand summit
#

reinstall extension to allow yt access

heady minnow
#

gotcha, thankyou!

eager gazelle
#

Still processing

lavish shard
#

@eager gazelle for now, either cut the video in half (first image) or cut the framerate (second image)

tulip solstice
#

Video = emote LULE

lavish shard
#

fk how do i upload webp as file instead

tulip solstice
#

It is a file

#

Don’t worry

#

Discord just doesn’t play them

sand summit
lavish shard
#

yea i know
but i just dont want to see 2 pieces of shit as the image LULE

tulip solstice
#

People can just open them in chrome to see them

sand summit
#

discord could atleast make the first frame a thumbnail

tulip solstice
#

It could

#

But they are dumb

#

Guilded works perfectly

eager gazelle
#

I tried this now

#

Hope it works

#

Still processing...

royal nebula
#

Doesn't even load in Discord LULE

lavish shard
#

webp dont load in discord

eager gazelle
#

Yes

#

But you can download it

royal nebula
#

I see FDM

earnest roost
#

if it takes more than 2 minutes to process it's failed

#

unfortunately you're gonna have little luck uploading a whole video

#

it's simply not going to work, this sort of content isnt meant to be an emote

#

takes too long to process

eager gazelle
lavish shard
#

so i guess the frame limit is <700?

eager gazelle
#

750

earnest roost
#

there exist an extra limit in the form of a maximum processing time of 120 seconds

#

if it takes longer than this, it gets rejected

eager gazelle
#

F

#

I will try a 12 second clip when im at home

rugged dust
#

4HEad just speed it up

lavish shard
#

so it isnt just <1000x1000 and <1000 frames seperately, but a combination of both that would process less than 120 sec

lavish shard
eager gazelle
#

I need the End of the clip

#

xd

lavish shard
#

then the 2nd image

eager gazelle
#

if an emote is unlisted, what does it mean?

royal nebula
eager gazelle
#

and how can i change it?

royal nebula
pulsar hill
#

uploading emote just gets stuck here

royal nebula
pulsar hill
#

i just realized i didnt check the size

#

my bad

royal nebula
urban grove
#

everyone dont view my name paint

royal nebula
#

You can turn off name paints in settings

#

Maybe disabled?

urban grove
#

where is settings

#

I can't get a handle on the new version

royal nebula
urban grove
#

okay its work

#

im set disable and enable again

royal nebula
misty obsidian
#

I am the editor of 3 channels, but I cant seem to add emotes to the 3rd channel I was recently added to

royal nebula
#

They probably havent made an emote set yet.

misty obsidian
#

^correct just figured this out

#

thanks sumLove

royal nebula
candid junco
#

so um how do i remove a emote set i accidently made one BRUHMM

willow ferry
#

you dont

candid junco
willow ferry
#

nope

#

not right now

candid junco
#

damnit i gotta re add all my emotes

willow ferry
#

you can switch back to your old set

#

go to your profile and click your twitch

#

then select the other set

candid junco
#

oh ok let me see

willow ferry
#

you just cant delete the new one

candid junco
#

OMG it worked thank you

ruby charm
#

question my emotes are all under my old name and I've sign out and signed back in and they haven't changed to the new name what do i do?

#

i read the faq but it won't update

willow ferry
#

you'll beable to change your 7tv name in the future but not right now

ruby charm
misty obsidian
#

How do you make a suggestion channel? Do you need a bot for it? It looks super handy but any google search points me towards Carl bot

royal nebula
sand summit
#

currently only testing in limited number of servers

blazing ether
night torrent
#

FFZ emotes not showing

royal nebula
earnest roost
#

ffz is down

night torrent
#

LULE should have known

#

pepeFlower thx

royal nebula
digital basalt
#

Hi all!
Tell me, please, how can I subscribe if I'm from Russia?blcLurk

earnest roost
#

currently not possible due to blockage from credit card providers and paypal, but we will explore other options in the future

quasi oxide
#

yeah. I made an emote for a friend and they gifted me a sub for an exchange LULE

crimson spire
#

Quick question. I just subscribed to 7tv, but when does it show my rainbow name? I already selected one in the website.

sand summit
#

takes about 10 mins

crimson spire
#

I see, thank you 🙂

topaz canopy
#

Is there a way to hide the sub badge anymore or is that feature gone with this update?

worthy arch
#

old.7tv.app

oblique fossil
#

is there a way to transfer my entire emoteset onto someone else's emoteset im channel editor of lol

sly radish
#

not currently available Copesen soon

topaz canopy
coral echo
topaz canopy
tulip solstice
bleak stream
#

I bought a 7tv and I have an old nickname and I can't change it, if I will update the 7tv because I have been waiting for 20 minutes and I don't have a custom nickname

rugged dust
#

no functionality for it yet

bleak stream
#

but i will have custom colors?

#

okay nevermind, i already have

rugged dust
sand summit
#

THIS MAN BOUGHT 7 TELEVISIONS AND INSTANTLY REGRETED IT

tulip solstice
#

I thought it was 7 countries-of-tuvalu

bleak stream
#

gimme rank subscriber

#

its me

bleak stream
#

gay

#

[gay] sonik

#

?

sand summit
#

link discord account on 7tv.app for role

sand summit
bleak stream
#

thx

bleak stream
#

?

sand summit
#

yes

bleak stream
tulip solstice
#

Join my clan instead

bleak stream
#

u have better colour

#

okay

sand summit
bleak stream
tulip solstice
#

See it works

bleak stream
tulip solstice
#

But I’ll submit an application to get it shortened

sand summit
#

STR8

bleak stream
#

broken roles

#

xd

tulip solstice
#

Clan tag change form accepted

bleak stream
#

essa 200%

celest vessel
#

an emote I've tried uploading as webp or gif has crazy compression artifacts on the webp variant that the website creates (the avif is fine though)

tulip solstice
#

common AVIF W

#

rare WEBP L

tulip solstice
#

that said, the 1x webp looks fine at emote size, so it's probably not worth worrying about

celest vessel
#

it looks pretty scuffed in chatterino to me so I can definitely notice it

#

I'll play around with the speed for now if that's the only way to fix it, thanks for the help OkaygeDonk

stuck crescent
#

Is there a chance where you can select a profile to quick add bunch of emotes like the old version of 7tv

#

instead of having to go down the list

#

new people add me as 7tv and it's a struggling have to constantly keep searching for their emote sets in the list

sand summit
#

you can set default sets

#

and just rclick to add emotes to that set

stuck crescent
#

??????

#

HUH

#

someone gave me all perms and I can't add any emotes

sand summit
willow ferry
#

not really sure whats going on with that

junior ravineBOT
#

melonify, reminders from: uneasium - widePeepoPussy (23h, 5m ago); basedbidoof - CUM (23h, 3m ago)

safe slate
#

hey, just wondering if there's a way to share an emote set from one channel to another via editor role

celest vessel
#

maybe this is another problem I've run into that Troy might have an answer for LULE

willow ferry
#

maybe @halcyon walrus webp encoder weirdness

#

probably not something fixable

#

it used to happen on the old image processor too

celest vessel
willow ferry
#

atleast - not fixable on our end, rather

celest vessel
#

I know nothing of webdev and all the other backend stuff, but from a layman's point of view, it's weird that ffmpeg produces webp's fine in terms of compression artifacts, but whatever the website's image processor uses seems to fail

willow ferry
#

lossy or lossless

#

for webp they're very different

celest vessel
#

oh right, that's probably it

#

-lossless 1 is what I use

#

from a quick test, using ffmpeg in lossy mode produces the same artifacts the 7tv site had so yeah it's not really something fixable your end for sure

halcyon walrus
willow ferry
#

only happens on greyscale stuff

#

super weird

halcyon walrus
#

interesting

#

ill look into it whats the emote id

willow ferry
#

630fecd1f42ae46387bc3b15

celest vessel
#

I've deleted it already LULE

willow ferry
#

oh LULE

celest vessel
#

unless you guys can see deleted emotes

willow ferry
#

well anyways it seems to be reproducable

#

and yeah I think he can

halcyon walrus
#

i can see the deleted emotes

celest vessel
#

yeah it's consistent

halcyon walrus
#

we dont delete files

#

we just change the acl on them

willow ferry
#

now 7tv can be investigated by the federal government

celest vessel
#

can't delete anything from the internet monkaS

willow ferry
#

no more sorry we deleted the files

willow ferry
#

same shit on that emote too

halcyon walrus
#

yeah i see it

tulip solstice
#

the artifacts are very minor, although not completely unnoticeable

halcyon walrus
#

i wonder why

tulip solstice
#

I don't actually watch the show

#

for lossy encodes, webp probably has some color math to determine when a color has changed enough to perform inter-frame compression algorithms on that chunk

halcyon walrus
#

every lossy frame is lossy

tulip solstice
#

and for some reason grays just don't get weighed as heavily as colors

halcyon walrus
#

interesting

tulip solstice
#

this is pure speculation on my part

halcyon walrus
#

ill have to dive into why

tulip solstice
#

do webps have "keyframes'?

halcyon walrus
#

yes

#

or wait

#

no not sure

#

avif does

tulip solstice
#

if keyframes could be made to happen more often, it would greatly reduce the frequency of these types of artifacts

#

even though it doesn't solve the core issue

halcyon walrus
#

i am not sure

tulip solstice
#

is quality set to 95?

halcyon walrus
#

85

tulip solstice
#

hmm

celest vessel
#

Troy while you're here, is it deliberate that the webps that 7tv generates have frame delays of multiples of 10ms?

halcyon walrus
#

yes

#

it is

#

we measure time in 100ths of a second

tulip solstice
#

Pepepains gif limitations

halcyon walrus
#

i know its pepepains

tulip solstice
#

is that for gif preview compatibility?

celest vessel
#

ffmpeg can create webps with I think any frame delay and it kind of fucks up the speed of the webp when uploaded to the site

halcyon walrus
#

then dont use ffmpeg

#

perhaps i should write a tool that lets people make their emotes from frames

#

like a little cli tool

lavish shard
#

A 7tv ezgif

willow ferry
#

and let people upload zips of pngs

halcyon walrus
#

nah

#

thats like asking for exploits

#

literally begging

halcyon walrus
#

yeah but ffmpeg is a bit hard

#

cant do like

#

per frame timings

#

:)

tulip solstice
#

yeah :(

halcyon walrus
#

and

#

also it doesnt make proper animated webps / avifs

willow ferry
#

ffmpeg's webp support is lacking

#

I was just aboutta ask does it even do avifs at all

halcyon walrus
#

it can

#

but

#

u have to compile from source

#

gl windows dev

tulip solstice
#

nah the latest builds make avifs

#

just no alpha

halcyon walrus
#

ah yes

#

no alpha avif

#

how great

celest vessel
#

Troy, one last question, have you looked into why transparent gifs get a white border added to the 1x, 2x and 3x versions?

willow ferry
tulip solstice
#

it doesn't do it

willow ferry
#

with other formats you have to specify the pixfmt yourself

tulip solstice
#

at least with the build I have from a week or two ago

celest vessel
halcyon walrus
#

its likely due to the resize algorithm

tulip solstice
#

pix fmt yuva444p doesn't exist for avif

halcyon walrus
#

like

#

we use INTER_AREA as the algo

tulip solstice
halcyon walrus
#

its hard to really choose

#

all of them are kinda bad tbh

#

idk ill have to look into why

#

ive tried all of them and they all result in bad borders

#

due to transparent pixels

#

wait

tulip solstice
#

is it only on gifs like kev said?

halcyon walrus
#

no

#

its on all

#

@celest vessel

#

what do u mean

#

can u provide an example

celest vessel
#

this was a problem I ran into last month so I deleted the emote again and switched to using webp LULE

halcyon walrus
#

well

#

no

celest vessel
#

don't have a link to an example any more unfortunately

halcyon walrus
#

the pipeline doesnt work like that

#
extract all frames
resize
convert
#

the format is only important for the first part

#

if its failing there for gif

#

it means

#

ffmpeg failed

#

cause we use ffmpeg to extract the gif frames

tulip solstice
#

Sadeg common ffmpeg L

halcyon walrus
#

i thought u meant the issue was for all images

celest vessel
#

no it's only transparent gifs

halcyon walrus
#

that u upload

celest vessel
#

here you go, uploaded it again

halcyon walrus
#

??

celest vessel
#

the 4x is fine, the 1x, 2x, 3x have a border

tulip solstice
#

white border isn't even bad looking tbh. Makes the outline visible on dark backgrounds

halcyon walrus
#

oh i see

#

and if u upload it as a webp instead of a gif?

celest vessel
#

it's fine

halcyon walrus
#

this sounds like the resizing issue

celest vessel
#

only happens on gifs

halcyon walrus
#

but the format is independent

#

at that stage

tulip solstice
#

gifs have 1 bit alpha by their nature. Perhaps a smoother outline from having an actual alpha channel makes the resize easier

halcyon walrus
#

uuh

#

maybe

#

this

#

but we export it as a png

#

which would then i assume create a 4 channel RGBA image

tulip solstice
#

yeah but the alpha would still have aliasing

#

from being 1-bit at first

halcyon walrus
#

no

#

when its at resizing

#

it would just be

#

0 or 255 for alpha

#

it would never be any other number

tulip solstice
#

right

halcyon walrus
#

but

#

this shouldnt effect the border

tulip solstice
#

shouldn't

#

but perhaps it is

halcyon walrus
#

this is likely related to the resizing ratio

#

perhaps opencv is too crude

tulip solstice
#

I'd bet that the transparent pixels around the image in the RGBA image are white. (because the outline is white)

#

if you delete the alpha channel

halcyon walrus
#

i can bet its not

#

the raw png files

#

dont have WHITE as an outline

#

this is just entirely resizing

#

what its doing is its trying to blend black with transparent

#

and opencv is failing to do thiss?

tulip solstice
#

the 3x webp without alpha, as interpreted by photoshop:

halcyon walrus
#

what do u mean

tulip solstice
#

4x webp without alpha:

#

so the surrounding pixels are white, but the border isn't behaving like I'd expect

halcyon walrus
#

bro im telling u this isnt in encoding

#

its entirely in the resize algo

#

its not

tulip solstice
#

I'm not disputing that

halcyon walrus
#

the frame dumps

tulip solstice
halcyon walrus
#

no

#

its not to do with the png

#

its just a crude resize algo

tulip solstice
#

but the bet was about the surrounding pixel color

halcyon walrus
#

no

#

what

#

that literally is just arbitrary

#

thats not why its white?

#

opencv takes in an image
resizes
it has a border

#

in this plane

#

the image

#

is rgba

#

raw pixels

#

no encoding

tulip solstice
#

but I'm saying the resizing could be picking up white from the RGB channels of the transparent area

#

I could be wrong

halcyon walrus
#

but it cant know

#

how can it know about the original format of the image

#

you could produce these effects if u uploaded a webp

#

or avif

tulip solstice
#

true

#

do you have a decoded png handy?

halcyon walrus
#

i dont

#

but ill investigate this

#

u can just take the raw gif and do

tulip solstice
#

are you doing anything special to decode gifs with ffmpeg? or is it a pretty standard command?

halcyon walrus
#

ffmpeg -i gif_file -vsync 0 -f image2 %04d.png

#

turn off vsync

#

so it doenst try duplicate frames like the cringe thing ffmpeg is

#

then resizing this with opencv python

#

should yield the same results

tulip solstice
#

yep white

halcyon walrus
#

yes yes but opencv shouldnt fuck this up

tulip solstice
#

Of course

halcyon walrus
#

since its not WHITE

#

its transparent

#

just because ur displaying it as a white background

#

let me guess

#

actually

tulip solstice
#

no I'm not

halcyon walrus
#

u opened it where?

#

in chrome?

tulip solstice
#

photoshop

#

The RGB channels are all 255 where the (1 bit) transparency is at 0

#

in the gif

#

that ffmpeg converted to png

#

so my intuition was correct about the cause

#

the transparency is becoming higher bit-depth than 0 and 255 when being resampled

#

it's gaining more values between, probably 0, 64, 128, 192, and 255 on the 1x size

#

or close to those

#

because of the 1/4 scaling

#

so those partially transparent pixels pick up the color of their surroundings, as any resampler will

#

It's really quite elementary, my dear watson.

#

if you could make all the transparent pixels in the ffmpeg pngs black instead, it would be far less noticeable

#

ideally the resampler would just do some magic and treat transparent pixels as "no color" in some way.

#

and just extend the nearest opaque pixels outward so you get the real color on the partially transparent pixels

halcyon walrus
#

this is a low iq way of doing it

#

what if the other pixels on the border ARE black

#

i think finding a better algorithm is better

#

i think

tulip solstice
#

this is how photoshop does it:

fluid plover
halcyon walrus
#

what do u mean?

tulip solstice
#

I resampled it to 96x96

#

1 bit alpha

halcyon walrus
#

but it wasnt transparent?

#

im confused

#

so what ffmpeg is retarded

tulip solstice
#

I removed the alpha to show you the contents of the RGB channels

halcyon walrus
#

or what

#

oh

tulip solstice
#

here's the alpha channel that photoshop generates. Formerly 1 bit, it now contains partial transparency

halcyon walrus
#

i understand

#

i see what u mean

#

yes

tulip solstice
#

🥐

#

so if ffmpeg would instead make the transparent pixels black, the borders would be far less noticeable except for light mode users (dansgame)

#

but that could also be done on the pngs after ffmpeg saves them

#

or just look for some kind of "extend pixels" feature in OpenCV

halcyon walrus
snow portal
halcyon walrus
#

i mean i suppose i could do this in theory with opencv

#

but this is kinda hard

celest vessel
#

just tell people not to use a shitty image format from the 80's and be done with it

halcyon walrus
#

tf opencv cant do it just use imagemagick

#

good troll

#

perhaps

#

i change it to image magick for the resize algo

tulip solstice
halcyon walrus
#

image magick is deathly slow

#

when encoding

#

but

#

if its just resizing

#

perhaps its not that bad.

#

thoughts on this idea

tulip solstice
#

did you try that guy's thing?

#
alpha = im[...,3]
adjacent = ((alpha == 0) & cv.dilate((alpha > 0).astype(np.uint8), None, iterations=3))
fixed = cv.inpaint(im[..., 0:3], adjacent, 1, flags=cv.INPAINT_NS) # or _TELEA, not sure
im[...,0:3] = fixed```
#

it should work

#

basically just extending the color to get rid of any arbitrary-color border on rezied gifs

halcyon walrus
#

this looks kinda dank when written in python code

#

what does ... mean in that context

tulip solstice
#

maybe it's literal? idk

halcyon walrus
#
>>> a = [1, 2, 3]
>>> a[..., 2]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: list indices must be integers or slices, not tuple
>>>
#

its a np array

#
>>> a = np.array([1, 2, 3])
>>> a[..., 2]
array(3)
>>>
#

it seems to be like

#

just getting the index at that element LULE

#

its like the same as just

#

im[3]

tulip solstice
#

I'm only a pixel complainer not a code complainer so I can't really comment on that

halcyon walrus
#
>>> a = np.array([[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12], [13, 14, 15, 16]])
>>> a[..., 3]
array([ 4,  8, 12, 16])
>>>
#

what the fuck

#

what is that even doing

#

its like getting the 3rd element in each sub array

#

how is raw pixel values layed out

#

is it not

#

a 2d array with 4 channels

#

so 4 1d arrays

#

?

#

or is it like

#

each pixel is a value with rgba

#

that seems to

#

weird

#

each pixel is an array

#

seems pretty retarded

tulip solstice
halcyon walrus
#
>>> a = cv2.imread("test.png")
>>> len(a)
48
#
>>> len(a[0])
48
>>>
#
>>> len(a[0][0])
3
>>>
#

so its like

#

so its like

#

a row, a column, pixel, rgb

#

@tulip solstice

#

his solution should work

#

yeah i understand what he is doing

#

ill try it

tulip solstice
#

pagman

#

he did say you may have to tweak the inpaint amount to get the most desirable results

halcyon walrus
#
// we need to correct the transparent pixels on this image so that resizing doesnt make weird artifacts
            std::vector<cv::Mat> channels;
            cv::split(img, channels); // break image into channels
            cv::Mat adjacent;

            auto alpha = channels[3]; // get the alpha channel

            cv::Mat noAlpha;

            channels.pop_back();
            cv::merge(channels, noAlpha);

            auto adj = alpha == 0;
            for (auto i = 0; i < 5; i++) {
                cv::inpaint(noAlpha, adj, noAlpha, 1, cv::INPAINT_TELEA); // inpaint the alpha channel
            }

            cv::split(noAlpha, channels); // split the image back into channels

            channels.push_back(alpha); // add the alpha channel back into the channels

            cv::merge(channels, currentInput.data); // merge the channels back into an image
#

@tulip solstice

tulip solstice
#

so the inpaint is 5 pixels?

halcyon walrus
#

we run the algo 5 times

#

it seems to produce the best results./

tulip solstice
#

about how many pixels of radius does that give?

halcyon walrus
#
if (img.channels() == 4) {
    // we need to correct the transparent pixels on this image so that resizing doesnt make weird artifacts
    std::vector<cv::Mat> channels;
    cv::split(img, channels); // break image into channels
    img.release();

    cv::Mat adjacent;

    auto alpha = channels[3]; // get the alpha channel

    cv::Mat noAlpha;

    channels.pop_back();
    cv::merge(channels, noAlpha);

    auto adj = alpha == 0;
    for (auto i = 0; i < 5; i++) {
        cv::inpaint(noAlpha, adj, noAlpha, 1, cv::INPAINT_TELEA); // inpaint the alpha channel
    }

    cv::split(noAlpha, channels); // split the image back into channels
    noAlpha.release();

    channels.push_back(alpha); // add the alpha channel back into the channels

    cv::merge(channels, currentInput.data); // merge the channels back into an image
    for (auto& channel : channels) {
        channel.release();
    }
} else {
    currentInput.data = img;
}
#

doing this produced best results

tulip solstice
#

it does look quite good

#

how are you defining "best" here?

halcyon walrus
#

like running the algo more

#

doesnt change the result

#

more than 5 times

#

with change

tulip solstice
#

in theory you'd only need like 2 or 3 pixels of radius around the edge of the emote to fill in the the alpha channels. The rest can stay white for better compressibility

halcyon walrus
#

without

#

true actually

#

let me see

#

true

rugged dust
halcyon walrus
#
if (currentInput.data.channels() == 4) {
    // we need to correct the transparent pixels on this image so that resizing doesnt make weird artifacts
    std::vector<cv::Mat> channels;
    cv::split(currentInput.data, channels); // break image into channels

    cv::Mat adjacent;

    auto alpha = channels[3]; // get the alpha channel

    cv::Mat noAlpha;

    channels.pop_back();
    cv::merge(channels, noAlpha);

    cv::Mat adj;
    cv::dilate(alpha, adj, cv::Mat(), cv::Point(-1, -1), 3);

    cv::inpaint(noAlpha, alpha == 0 & adj, noAlpha, 1, cv::INPAINT_TELEA); // inpaint the alpha channel
    adj.release();

    cv::split(noAlpha, channels); // split the image back into channels
    noAlpha.release();

    channels.push_back(alpha); // add the alpha channel back into the channels

    cv::merge(channels, currentInput.data); // merge the channels back into an image
    for (auto& channel : channels) {
        channel.release();
    }
}
#

is what it comes to

#

i didnt comment it

#

copilot wrote a lot of it for me

#

pushed onto prod

#

if people cry

#

then ill just revert it

tulip solstice
#

is this only for gifs? or will it also operate on other formats?

halcyon walrus
#

all formats

tulip solstice
#

we'll have to see how it plays out

halcyon walrus
#

at resize layer it doesnt know about the format

#

i could make it set a flag "correct alpha"

#

or smth

tulip solstice
#

in theory all formats could benefit

#

I can't think of any exceptions

#

but maybe there are some. Time will tell.

tulip solstice
#

flawless

#

except for the gif preview lule

halcyon walrus
#

its w/e

#

discord on cocaine

tulip solstice
#

yeah

#

I think discord compresses gifs or something lossily

halcyon walrus
#

no they just dont know how to compress gifs

tulip solstice
#

I know they resample them for server icons

halcyon walrus
#

idk

#

they like miss frames and colors

#

and pixels

#

?

#

idk

tulip solstice
#

in-line, it's scuffed

#

but open that same file in a new tab and it looks correct

#

Normally I would be able to guess at the cause, but I have zero idea about this

halcyon walrus
#

its because its optimized 03

#

@tulip solstice discord doesnt support gif optimizations in their compression algo

halcyon walrus
#

thye dont understand

tulip solstice
#

they lack critical information

sand summit
#

FeelsDankMan i dont understand how thats even possible. its the same link, in the same browser. but in discord embed its shit but in cdn on new tab its perfect

halcyon walrus
#

we optimize the fuck out of the gif

#

like watch

tulip solstice
#

makes sense actually

#

but it kinda ruins the whole point of HAVING the gif conversions, which is discord preview

halcyon walrus
#

is the normal

tulip solstice
#

Why does discord seem to go out of their way to break the way chromium renders webps and gifs?

halcyon walrus
tulip solstice
#

unfathomably based

halcyon walrus
#

very based

tulip solstice
#

112x112 pog

sand summit
#

jped purists TOOBASED

halcyon walrus
#

idk we do optimizations on the gif to make it like

#

smaller

tulip solstice
#

which optimization is breaking it in this case?

halcyon walrus
#

not sure

tulip solstice
#

having a different palette-per-frame?

halcyon walrus
tulip solstice
#

yeah melon tells me to use that all the time

#

but I don't

halcyon walrus
#

under the hood to generate the gifs

#

although we use the cbinding for their lib

#

its written in rust

tulip solstice
#

that's verypog but it doesn't work for discord embeds, which is their only purpose (afaik)

snow portal
#

dont tell me how i know this

#

ive seen it in the queue

halcyon walrus
#

i count money

tulip solstice
#

Would it be possible to only encode gifs when requested by a discord embed preview?

halcyon walrus
#

tomorrow im going to dress gay and walk around with this guy and his boyfriend

#

pretty hype 2 new irl friends

sand summit
#

PagStick 3some

halcyon walrus
#

nah

#

having sex with friends u unironically value

sand summit
#

Sadeg 3rd wheel

lavish shard
#

irl walkie?

halcyon walrus
#

is kinda risky

#

not third wheel either

tulip solstice
#

monkaS monkapox

halcyon walrus
#

i already had it

snow portal
sand summit
#

how OMEGALUL

tulip solstice
#

certified omegadance moment

halcyon walrus
#

how

sand summit
#

mf licking hand rails

halcyon walrus
#

yes yes that was it

rugged dust
#

he went to Texas

snow portal
#

how do you think he got it?

tulip solstice
#

yeah but replace "hand rails" with "assholes"

snow portal
#

i know

halcyon walrus
fresh seal
#

pog this is #help-old please move to #general or you will be muted for 12 hours for breaking rules

snow portal
#

oh okay mr mod

rugged dust
snow portal
#

we are so sorry

halcyon walrus
#

idk if i actually had it

#

i tested positive

fresh seal
#

Well monkeypox gives you lesions

halcyon walrus
#

and then i tested negative 3 days later

halcyon walrus
#

i think it was a false positive

#

or they fucked up the tests in the lab

fresh seal
#

pog I do love asking for help about adding emotes and seeing someone mention monkey pox and having sex with friends

halcyon walrus
#

i like how everyone has been lurking here

#

just reading us talk about fixing borders on emotes

tulip solstice
#

I'm copyrighting "monkapox"

halcyon walrus
#

and then as soon as we talk about anything else

#

everyone joins in

tulip solstice
#

yep

fresh seal
#

I wasn't lurking once but you guys never stop speaking forsenY

tulip solstice
#

I will stop. I need to get to bed like 2 hours ago

fresh seal
#

I cleared the messages 5 times within 10 seconds forsenY

fresh seal
#

arnoldHalt THERE WILL NO MORE FURTHER MESSAGES FROM THIS POINT UNLESS ITS TO DUE WITH ASKING FOR HELP AND CHECK #faq BEFORE YOU SEND A MESSAGE

blazing ether
royal nebula
vocal garden
#

?

earnest roost
#

did u read what the error message says?

vocal garden
#

Hmm

#

is it not possible to add those emotes anymore

earnest roost
#

no

vocal garden
#

saj

#

oh well

hidden belfry
#

how to add animated logo to twitch? i have subscribe and animated gif logo. When i add gif on my panel 7ttv, nothing work

spare iron
granite arch
#

I’ve been trying to leave this server, but discord won’t let me
Can someone pls kick me pls and thnx? Serious request

spare iron
#

probably the funniest help request I will ever come across

#

but we'll be sad to see you go. do you really wanna leave us?

acoustic pasture
#

how come i cant add an emote

earnest roost
#

f5

acoustic pasture
#

oh

#

thanks homie

#

what happened tho

earnest roost
#

some weird race condition im not sure

acoustic pasture
#

was it just me?

earnest roost
#

it's a rare bug but ive seen it once

#

and a few others reported it

acoustic pasture
#

thats very unusual

#

thought id report it here instead of gen chat

sly radish
#

bruh jeo?

coral echo
eager gazelle
#

@tardy ledge kannst du das veröffentlichen?plsplspls

spare iron
eager gazelle
#

oh i think i rename it to EZclap

green vessel
#

What do I do when an emote creation is stuck at 100%?

green vessel
eager gazelle
#

@tardy ledge wärst du so lieb plsplspls

green vessel
#

RIP, it worked but the emote is hard to read so basically worthless NOOOO

green vessel
green vessel
#

Yes it's waiting approval

eager gazelle
#

how long does it take normally?

#

if you dont ask a mod

green vessel
#

I've only done it a couple of times but it wasn't that long iirc

eager gazelle
green vessel
#

I'll replay the mission and get a cleaner clip later OkayChamp

eager gazelle
#

bigger text i guess

green vessel
#

It's a gif for discord first, I just wanted to see how it looked as an emote on twitch

velvet epoch
#

why do people ask for emote approval when it's usable as an unlisted emote? FeelsDankMan

velvet epoch
#

yes lol

eager gazelle
#

oh

velvet epoch
#

besides it being "public"

green vessel
eager gazelle
green vessel
#

Yeah no it's a bad emote anyway, gotta get a better clip

wet python
wet python
coral echo
#

Its what its called on FFZ

wet python
#

ik

#

i havent seen anyone add it through ffz

#

cuz its called ezy there

sand summit
#

Can't find it on bttv cuz they limit search to 3 characters minimum

wet python
#

yeah, you need to go to someone who added it and get it there

eager gazelle
#

EZclap

wet python
#

still used 2 global emotes

#

with bad versions of them too

eager gazelle
tulip solstice
#

Yeah. If they weren't global, combining the 2 almost makes sense to save slots

#

But then you couldn't use them separately

#

But since they are global, no one has to worry about it

eager gazelle
#

i made a new version... (better quality)

rugged dust
#

@quasi oxide pepeLaugh

thin coral
#

Hey guys sorry, with the new obs update I can't see 7tv emotes >__< (on the browser they're visible!) What should I do?

sand summit
#

In the stream tab in settings, enable frankerfacez

#

Then in the obs chat dock click the ffz settings and in the add-ons tab enable 7tv

thin coral
sand summit
thin coral
#

yeah like really! I dunno what to do >___>

sand summit
thin coral
#

the first picture is from which obs section?

sand summit
thin coral
#

for the other pics, I already did everything!

thin coral
sand summit
#

studio

#

are you on slobs?

thin coral
#

I'm on studio and I don't have it...

sand summit
#

FeelsDankMan you dont have the stream tab

thin coral
#

just the part where you write the stream key, server, etc

sand summit
#

is there a connect account button

thin coral
#

something like "(suggested)" next to it?

sand summit
#

yes

thin coral
# sand summit yes

yes there is! I can't use it now cause I'm live... you think that will solve the problem?

#

cause in the past I never did it and it was working perfectly

sand summit
#

it might

proper sable
#

How do you turn off the 7TV name colours? I literally cannot work it out to save my life

sand summit
proper sable
#

Like, my name colour. Not in chatterino/other peoples colours.

proper sable
#

mandeOkay who'd have thought

sand summit
proper sable
#

ah

#

i didnt realise the new one was around

#

still

#

old*

thin coral
proper sable
#

TY Jeo

#

old 7tv doesnt recognise sub because its gifted

sand summit
#

FeelsDankMan wut

#

that shouldnt matter

sand summit
#

just f5

proper sable
#

FeelsDonkMan idk if im dumb af or something

#

lmao

#

it worked

#

ty

sand summit
sharp cobalt
#

I was subbed to new 7TV and my badge won't showed up

#

On Twitch

lavish shard
#

How long have u been subbed?

sharp cobalt
#

Today lol

#

Recently

#

I'm new subscriber

sand summit
#

badges and paints take about 10 mins to show up in twich

sharp cobalt
#

Still nothing

sand summit
#

make sure you actually enabled it in the first place

#

go to your profile on 7tv

#

and click edit profile

sharp cobalt
#

I think I have enabled it

sand summit
#

if its got a green line above it its enabled

sharp cobalt
#

I think it worked! My name is now coloured

sand summit
lavish shard
#

FeelsDankMan how do i search emote by name in 7tv.io/v3? Or is it not a thing yet

supple pine
#

is it possible to take off my custom name color and replace it with my default?

sand summit
#

for now you will have to use old.7tv.app for that. new site will work soon ™️

supple pine
#

kk thank you

thin coral
#

@sand summit I did what you told me and now it's working! Thank you so much ;w; <3)

sand summit
#

ApuApproved youre welcome

pastel kiln
#

I just made my first two custom emotes and want to share with my community. They aren't private but if I search you can't find them. In my emotes list they also show up blurry with a red slashed out eye in the corner if that is useful/related info... Do I need to do something else to allow people to search/find it?? Thanks!

quasi oxide
#

just wait until a mod approves them

pastel kiln
#

Oh... Well that's easy peepoHappy

#

I was wondering if that might be the case... I should learn to be more patient!!LemmeThink

quasi oxide
#

and patience is half the battle KKonaW

pulsar jetty
#

ive been getting errors when trying to add emotes (error 70403, insuffcient privilege) , i have 145/250 slots, sometimes an emote doesnt even have the USE EMOTE button to add to channel, does that mean theyre publicly shown but not for use for others?

sand summit
#

both of those issues should be fixed if you refresh

pulsar jetty
#

i have multiple times :(

#

ive logged out even

sand summit
pulsar jetty
#

maybe browser cache needs cleared

sly radish
#

try Ctrl F5

#

usually refresh works feelsd

pulsar jetty
#

its fixed, ty

sly radish
sand summit
#

it shoudl only happen if youre trying to add a private emote but sometimes it gets a but dank

pulsar jetty
#

if theyre private why do i have access to find it? its a tease

sand summit
#

something with the code for the pages

#

idk

sly radish
#

i think u can find private emotes but cant add them dankHop

sand summit
#

if private emotes were hidden it would leave blanks

#

or sumn

pulsar jetty
#

anyway to request to make public to the creator?

sly radish
#

FeelsDankMan i dont get it

pulsar jetty
#

im assuming it isnt integrated, but it would be cool to have a request public use button for hidden emotes or just hide hidden emotes entirely from the public pages

sly radish
#

u can ask a mod to hide(unlist) your emotes, or report others

south ravine
#

I am an editor but can't add emotes to my friends twitch

sly radish
south ravine
sly radish
royal nebula
#

The two arrows don't exist anymore

south ravine
#

oh lol

royal nebula
#

Click the list icon beside add emote

sly radish
#

oh that arrow FeelsDankMan

south ravine
#

okay, thank you guys

royal nebula
sly radish
gritty atlas
#

isnt there a zero width searching filter in the new 7tv

#

thx Okayge

obtuse dew
#

someone help me, my twitch account was closed and now it won't let me log in again

#

thank you, one last thing, I can't subscribe this month, and I need to cancel the subscription so that automatic payment is not made, how do I cancel it

wet python
obtuse dew
#

thanks

wet python
#

i dont want to click it and cancel the renewal

#

i actually have a bussin paint im using

#

wanna keep it

stone egret
#

Hey I was added as an ediitor on my friends account, but I havent used the website in a while and literally can't figure out how to add emotes to his channel

#

can someone help me out rq

fluid plover
#

Go to whatever emote you want to add and click this button and select his channel

#

If his channel isnt there he must add 1 emote

stone egret
#

ok thank you

#

thats what it was

#

imi just slow

fluid plover
cursive zephyr
#

after subbing i cant edit my profile and stuff nyanquestionwut

#

why?

#

after i hit save changes it didnt change at all

#

its been almost 12 hours

#

i tried it last night and rn its almost 1pm for me

last bough
#

been trying to login to my 7tv for the past 2 weeks but i keep getting both these errors when i try to sign in by twitch and discord respectively

earnest roost
#

@last bough what is your username?

last bough
willow ferry
#

not technically an error

earnest roost
#

currently only discord and twitch are supported as login options, but the only connection left on yours is youtube

#

(this error is because the system is trying to create an account with the same username as the one that already exists)

last bough
#

so this means i cant use my twitch account as of now?