Loading video...

Video Failed to Load

Go Home

Introducing Aval - a new open source format for interactive video on the web. It has a built-in state machine, frame accurate transitions, and packed alpha transparency. This is probably the craziest thing I’ve ever built with Codex. I’d been dreaming about this technology for years. Before AI, building...

278,120 views • 3 months ago •via X (Twitter)

62 Comments

Ran Segall's profile picture
Ran Segall3 months ago

Dude you’re single handed pushing web design forward. I salute you 🫡

Alex Barashkov's profile picture
Alex Barashkov3 months ago

Thank you, Ran! It’s truly mind blowing what you can do today with AI.

Sumanth Pandugula's profile picture
Sumanth Pandugula3 months ago

Very cool! naming it AVAL, reverse of LAVA 😎

Alex Barashkov's profile picture
Alex Barashkov3 months ago

You got it. 😎

Joe Lee's profile picture
Joe Lee3 months ago

this looks awesome. Did you see ?

Günther | グンタ's profile picture
Günther | グンタ3 months ago

Whaat. This is crazy. Kind of Rive + XState + APNG on fire

Alex Barashkov's profile picture
Alex Barashkov3 months ago

Kind of, yes, but it's definitely not a replacement for Rive. It's just a separate thing that has its own much-needed set of use cases.

Michael Freeman's profile picture
Michael Freeman3 months ago

@gunta85 3D Flash ?

Günther | グンタ's profile picture
Günther | グンタ3 months ago

@alex_barashkov Video flash

John D. Pope  🦒's profile picture
John D. Pope 🦒3 months ago

I'm throwing Fable at it - to port to flutter. This is a multi-month effort. Stand by.

Alex Barashkov's profile picture
Alex Barashkov3 months ago

Too early :) Let me first finish a todo list from the repo. There are some things that need to be done before porting it to different platforms. Soon support of H265/VP9/AV1 will come, quite important piece.

John D. Pope  🦒's profile picture
John D. Pope 🦒3 months ago

god speed. Anthropic reset all the usages - and my monthly resets in a few days any way. i was intrigued to pull apart the magic of grass rabbit scene - been wanting to get a game to play with mouse hover states with video - - could we do a mouse hover for characters? a bit of scope creep - one for the backlog

John D. Pope  🦒's profile picture
John D. Pope 🦒3 months ago

burn baby burn -

John D. Pope  🦒's profile picture
John D. Pope 🦒3 months ago

flutter port is done. i will expect some updates to sync to. great work Alex - Im really excited to gamify this.

Mukul's profile picture
Mukul3 months ago

@alex_barashkov Crazy set of events. I'll use the web one for now, but thanks for doing a flutter port

John D. Pope  🦒's profile picture
John D. Pope 🦒3 months ago

@alex_barashkov I have it deploying to my phone with rust - albeit a bit janky. I’m looking at how we can have a large AVAL canvas and a sub-region that carries moving pixels.

James Doyle's profile picture
James Doyle3 months ago

Seems cool. But the homepage should be a real demo instead of what seems like a video playing from start to finish. Showing that hover is a thing without letting me actually hove is odd

Alex Barashkov's profile picture
Alex Barashkov3 months ago

it’s a real demo if it does not work for you , there might be a bug. would love to explore. there around 5 states currently

Satish G's profile picture
Satish G3 months ago

@james2doyle I cannot interact with the state buttons! Tried on mobile and desktop!

Alex Barashkov's profile picture
Alex Barashkov3 months ago

@james2doyle you need interact by hovering on video, states are not buttons, they just indicate what state triggered in video.

Benji ☕️'s profile picture
Benji ☕️3 months ago

@satishgoda @james2doyle I really love the idea of this - is there a feature flag that maybe I need to enable for my browser? (This is Chromium/Dia - same experience in Firefox)

Alex Barashkov's profile picture
Alex Barashkov3 months ago

@satishgoda @james2doyle Interesting which version of chromium do you use. Try to hover and keep it on it and see if rabbits appears. then when you remove from the whole surface it should get back to the grass.

Alex Prokhorov's profile picture
Alex Prokhorov3 months ago

what kind of sorcery is this??????

Alex Barashkov's profile picture
Alex Barashkov3 months ago

Codex 5.6 Sol Ultra ran for 27 hours before the first version.

Alex Prokhorov's profile picture
Alex Prokhorov3 months ago

🤯

Josh's profile picture
Josh3 months ago

Ideal for UI icons - are you thinking rasterized ones in that regard? Because with @nucleoicons I can do this: to web now though that's SVG.

Alex Barashkov's profile picture
Alex Barashkov3 months ago

@nucleoicons For UI icons, it's currently much better to animate SVGs directly with AI or use Rive/Lottie. AVAL is good if your icons are rendered in Blender or made with AI.

Henrique Berthier's profile picture
Henrique Berthier3 months ago

Holy moly... Alex, you are the goat!

Alex Barashkov's profile picture
Alex Barashkov3 months ago

Thank you, Henrique!

🧞‍♂️Martin Donadieu - oss/acc's profile picture
🧞‍♂️Martin Donadieu - oss/acc3 months ago

thanks can you add more exemple on the webpage and explain how to make the files?

Alex Barashkov's profile picture
Alex Barashkov3 months ago

will do, it’s just early version.

Meng To's profile picture
Meng To3 months ago

Web videos with transparency and state machines? You have my attention. So apps like CapCut would have to export to this format or does it automatically convert an mp4?

Alex Barashkov's profile picture
Alex Barashkov3 months ago

It can be used in theory with CapCut. Currently the process is that you give to compiler your video (ideally unoptimised), that video contains different segments already. Then you give compiler a data about what are those segments like 0-30 frames - intro, 30-60 - loop, 60-90 hover in. Then it compresses the video to h264(soon more options) with some extra magic and packs everything together with states data to .avl file. My main use case was - having interactive graphic exported from Blender, with cross browser transparency support.

heyflo's profile picture
heyflo3 months ago

You're spoiling us lately, thank you good sir!

Alex Barashkov's profile picture
Alex Barashkov3 months ago

Ha, I call it inspiring.

Stef Hamerlinck's profile picture
Stef Hamerlinck3 months ago

Build a quick test with my mascot. Blown away. This is a game changer for me. Thank you

Alex Barashkov's profile picture
Alex Barashkov3 months ago

Dope! It actually works :)

Stef Hamerlinck's profile picture
Stef Hamerlinck3 months ago

Like a charm. I let Claude code do the hard work

Daniel Vaughn's profile picture
Daniel Vaughn3 months ago

This is what I wanted YouTube to become. Like branching mid-video, micro-interactions, etc. Super cool.

brryant's profile picture
brryant3 months ago

Could definitely use this on How do I get a conversion going from mp4?

frolic's profile picture
frolic3 months ago

@shahruz

aron's profile picture
aron3 months ago

This brotha is crazy

jem 💜🩵🩷's profile picture
jem 💜🩵🩷3 months ago

this is sooooo cool! ty!!

Daniel Smidstrup's profile picture
Daniel Smidstrup3 months ago

crazy what becomes possible when AI makes the impossible side project doable :D

Alex Barashkov's profile picture
Alex Barashkov3 months ago

true, it's sick

deepak sharda's profile picture
deepak sharda3 months ago

Does it have music in it? Or will be

Alex Barashkov's profile picture
Alex Barashkov3 months ago

Technically it's possible, but i have not tested it yet.

deepak sharda's profile picture
deepak sharda3 months ago

You created something beautiful.

Jawish Hameed's profile picture
Jawish Hameed3 months ago

Very cool!

Knowix's profile picture
Knowix3 months ago

respect to you brother,this is insanely good!

Sesan's profile picture
Sesan3 months ago

HOLY SHIT. I will be giving this a proper look!

seb-astian's profile picture
seb-astian3 months ago

@edo_lunardi

Blake Southerland's profile picture
Blake Southerland3 months ago

@Scobleizer That’s awesome! I wished for this years ago but haven’t thought about it in ages. Good on you for bringing it to life!

Dennis 𝕏's profile picture
Dennis 𝕏3 months ago

We are not worthy 🙇🏼‍♂️

Trilochanprasad B H's profile picture
Trilochanprasad B H3 months ago

Amazing 👏

Kevin ⨀'s profile picture
Kevin ⨀3 months ago

Dude this is insane. You’re literally changing how interfaces work.

Scott Bair's profile picture
Scott Bair3 months ago

I started trying to build something with Claude and wasn't too impressed. I was looking for an about page, hero video where someone could make us go make coffee or arm wrestle. Excited to check this out!

Erik Wesslen's profile picture
Erik Wesslen3 months ago

@Scobleizer So cool!!!

Kyle Shepherd's profile picture
Kyle Shepherd3 months ago

Big Buck Bunny is the 🐐

Tommy J. Vedvik's profile picture
Tommy J. Vedvik3 months ago

This is why we need AI

Husam's profile picture
Husam3 months ago

Awesome. I love that you used state machines. Underrated for complex interactions

Web Bae's profile picture
Web Bae3 months ago

Amazing 👏 looking forward to giving it a go!

Related Videos

Elon exposes OpenAI -- OpenAI execs betrayed the founding mission as soon as there was revenue and profits to be had -- If it started as a for-profit, Elon would own 50% Elon Musk: “There's a mountain of evidence that shows that OpenAI was created as an open source nonprofit.” “That's the exact description in the incorporation documents. They have completely violated that.” “And they tried to change the definition of OpenAI to mean open to everyone instead of open source, even though it always meant open source.” “ I came up with the name. That’s how I know.” “ I mean, essentially, since I came up with the idea for the company, named it, provided the A, B, and C rounds of funding, recruited the critical personnel, and told them everything I know, if that had been a commercial corporation, I'd probably own half the company.” “It was totally at my discretion. I could have done that.” “But I created it as an open source nonprofit for the world.” Chamath: “ Do you think the right thing to do is to take those models and just open source them today?” Elon: “ Yeah, I think that is what it was created to do, so it should.” “Try using any of the recent so-called OpenAI open source models, they don't work.” “They open sourced a broken, non-working version of their models as a fig leaf.” “I mean, do you know anyone who's running OpenAI's open source models? Jason: “No.” Elon: “Exactly.”

The All-In Podcast

387,368 views • 11 months ago

Elon Musk Elon Musk, who co-founded and invested in an open source, non-profit OpenAI ~$50 million: I AM THE REASON OpenAI EXISTS “I am the reason OpenAI exists... I used to be a close friend with Larry Page, and I was staying at his house, and we'd have these conversations long into the evening about AI, and I would be constantly urging him to be careful about the danger of AI. And he was really not concerned about the danger of AI and was quite cavalier about it. And at the time, Google, especially after the acquisition of DeepMind, had three-quarters of the world's AI talent; they had a lot of computers, a lot of money, so it was a unipolar world for AI. And we got a unipolar world, but the person who controls that does not, or at least did not seem to be concerned about AI safety. That sounded like a real problem. The final straw was Larry calling me a speciest for being a pro-human consciousness instead of machine consciousness, and I like, 'Well, yes, I guess I am a speciest.' I came up with the name [OpenAI], which refers to open source. The intent was to what is the opposite of Google, would be an open source non-profit, because Google is closed source profit, and that profit motivation could be dangerous... It does seem weird that something can be a nonprofit, open source, and somehow transform itself into a for-profit, closed source. I mean, this would be like, let's say you founded the organization to save the Amazon rainforest, but instead, they became a lumber company and chopped down the forest and sold it for money. And you'd be, therefore, like, 'Wait a second, that's the exact opposite of what I gave the money for. Is that legal?' That doesn't seem legal. And if, in general, it is legal to start a company as a non-profit and then take the IP and transfer it to a for-profit that then makes tons of money, shouldn't everyone start? Shouldn't that be the default? And I also think it is important to understand, like when push comes to shove, let's say they do create some digital super intelligence, almost Godlike intelligence, well, who is in control, and what is exactly the relationship between OpenAI and Microsoft? And I do worry that Microsoft actually may be more in control than the leadership team at OpenAI realizes. I mean, Microsoft, as part of Microsoft Investment, has rights to all of the software, all of the model weights, and everything necessary to run the inference system. At any point, Microsoft could cut off OpenAI.”

Eva Fo𝕏 🦊 Claudius Nero's Legion

527,742 views • 9 months ago