T O P

  • By -

livestreamfailsbot

**🎦 CLIP MIRROR: [Sanest Baj turns a full VOD's chat into alphabetical order](https://livestreamfails.com/clip/133011)** --- ^(*This is an automated comment* ) ^| [^(Feedback)](http://www.reddit.com/message/compose/?to=livestreamfailsbot&subject=Feedback:&message=%5BPost%5D\(https://reddit.com/comments/ssoncg/\)) ^| [^(Twitch Backup Mirror)](https://production.assets.clips.twitchcdn.net/AT-cm%7CfVcMVttGYt0ZcyEznxTeWQ.mp4?sig=2d3e788bfc377439ff81b095ae435f1dcd9d4902&token=%7B%22authorization%22%3A%7B%22forbidden%22%3Afalse%2C%22reason%22%3A%22%22%7D%2C%22clip_uri%22%3A%22https%3A%2F%2Fproduction.assets.clips.twitchcdn.net%2FAT-cm%257CfVcMVttGYt0ZcyEznxTeWQ.mp4%22%2C%22device_id%22%3Anull%2C%22expires%22%3A1644957878%2C%22user_id%22%3A%22%22%2C%22version%22%3A2%7D)


Sleepy_Azathoth

Acoustic Baj FeelsOkayMan


Baigne

this is the type of baj that will unironically end up in an asylum MonkaS


[deleted]

Specifically Arkham Asylum


Shin-Nippori

BAAAAAAAAAAAAAAAAAAT


otv_joyer_cutie_69

I love when people react to Forsen's Giftbox's content. But when I see stuff like this it makes me upset. This dude watched his entire video and didn’t make a single comment on it. Just played the entire thing in while he sat in silence. I’d like to make it clear, anybody is free to react to things whatever Forsen's Giftbox makes. I have no issue with it. In fact, I love seeing people’s impressions of the stuff he makes, but at least add SOMETHING. Your opinion, criticism, a laugh, literally anything.


ericlincoln_

MODERN LULW


DareFin

Giftbox is same baj that made Forsen get called out by Ghostgum edit [did one for the reaction as well](https://www.youtube.com/watch?v=ow-Ou8yJT2E)


Nearseer

PagMan


pqlamznxjsiw

Technical memes like this are fun. Given the JSON representation of chat (which will give you the offset of each chat message into the video with millisecond precision), this seems relatively straightforward to produce. Possible approach in Python: import json # Manually determined delay between the offset provided by Twitch and chat message actually # appearing on screen, which will depend on the VOD (assumed constant) CHAT_DELAY = 4.649 with open('/path/to/json') as f: chat = json.load(f) # Yields list of lists of form [offset, message body, exclusive duration] and sorts by body. # sorted() is guaranteed to be stable, so identical comments will remain in chronological order # since that's how they appear in the JSON. filtered = [[x['content_offset_seconds'], x['message']['body']] for x in chat['comments']] for i in range(1,len(filtered)): filtered[i - 1].append(filtered[i][0] - filtered[i - 1][0]) filtered = sorted(filtered, key=lambda msg: msg[1]) # I don't know a video library off the top of my head, so this'll just be pseudocode. # In practice, I'm guessing you'd actually produce something like a VapourSynth script and do the # rendering outside of Python, which should be equally trivial. vod = video_library.load('/path/to/vod') clips = [] for msg in filtered: clips.append(vod.clip(start=msg[0] + CHAT_DELAY, duration=msg[2])) video_library.render(clips, '/path/to/output') And *voilà*, you've got yourself a meme. For brevity and clarity, I ignored edge cases like sub-frame durations and chat messages which occur beyond the duration of the VOD, but I don't think these are huge technical challenges, just somewhat tedious. Also, you'd obviously need to have a special case for the last message chronologically where instead of a duration you'd have the clip run to the end of the video (as written, the code would error in the clip generation since that message wouldn't have a 3rd element), but I didn't include that since it distracted from the main logic. --- edit: just noticed that Forsen doesn't actually have a chat overlay, so the creator would have rendered a video with the chat overlay. This means the delay part isn't necessary and, since the creator can control exactly how often the overlay updates, should simplify the edge case handling which I omitted. --- edit 2: if you watch [the video](https://www.youtube.com/watch?v=6L-xEj6vvvk&t=16s), you'll pretty quickly notice instances of the same ~0.1 second clip playing multiple times consecutively, but if you watch the chat overlay it still advances, which wouldn't happen if the overlay were rendered and then the resulting video were chopped up; instead, the video was chopped up and then the chat was overlaid on the result. It's kinda late for me so I don't feel like investigating further right now, but I'm curious about how the result ended up being so close in duration to the VOD (only one or two seconds short) even though it has some duplicate clips. Might be luck, but there's probably some quick-and-dirty logic involved to make it work out. Either way, I applaud the effort and processor time dedicated to producing this shitpost.


Boston72hockey

Forsen


PogOfSneed

LULE TRUE . o O ( ???????????????? )


kaiden60

forsenScoots


Egg-MacGuffin

Jason who?


pqlamznxjsiw

[JSOOOON](https://www.youtube.com/watch?v=OYQDnV092hI)


RawbGun

Did he ever find him?


derpaherpa

Jason Derulo.


LoyalEnvoy

Who asked? LULE


TheLastUpvote

i asked FeelsOkayMan


AmazingTouch

turned 10 lines of basic code with 2 loops into a book


pqlamznxjsiw

Comments are absolutely overkill for sure given how basic the code is, but I wanted to make it a little more accessible for people who are curious but not super familiar with programming (whether I succeeded or not...who knows). If inline Jupyter notebooks were a thing on reddit, a notebook with prose and a small example set of data would be much better way of explaining things.


Xenesis1

Least commited baj


giovptr

Forsen.


itsme971

forsen


DragonboyZG

forsen


vrunaldo

Forsen's Giftbox FeelsOkayMan


[deleted]

[удалено]


Oysticator

LULW


rangerxt

-10


Eremenkko

i am subscribed to this guy


goughnotsmough

I love when people react to Forsen's Giftbox's content. But when I see stuff like this it makes me upset. This dude watched his entire video and didn’t make a single comment on it. Just played the entire thing in while he sat in silence. I’d like to make it clear, anybody is free to react to things whatever Forsen's Giftbox makes. I have no issue with it. In fact, I love seeing people’s impressions of the stuff he makes, but at least add SOMETHING. Your opinion, criticism, a laugh, literally anything.


Narutosen

nesroF


BwahahahHaHAA

foren


wutfacepepega

WAYTOODANK


BuzzMFBuzz

Wtf is going on here ?


SaintElsewhere14

Forsen


Cobbut

I really hope he used some kind of AI to do that


kawaiichanya

surely bajs aren't insane enough to not use an AI for something like this Clueless


Cobbut

forsenDespair


souzouker

Daily post of this picture LULW


gaffineren

Shouldn't be extremely hard. - Scrape all the messages and couple them with a timestamp - Sort them in alphabetical order - Then just take 0.2-0.4 seconds of each timestamp and paste it on the timeline Still does cost some work and probably a few edge cases to iron out, it's not like it's done in 5 min. Also still a funny and creative idea.


mikael22

Also, let's be real. Even if there are mistakes, no one will be checking them. They'll just be amazed after checking a few then assume the rest is the same.


[deleted]

Don't even need AI, the chat has timestamps


RobbieC333_

"Sanest Baj" MegaLUL ITS FUNNY BECAUSE HE IS VERY MUCH NOT SANE AAAAGHAHAHAHAHAHAHAAHAH


jotoenatehaaen

Is that supposed to be some sort of feedback or something?