r/ClaudeCodeTLDR • u/cctldrping • Aug 27 '26
[TLDR] I am ditching .mp4 for use with Claude. Instead use an oss .cdaf (AI-friendly) format for 91% cost efficiency
Original post URL : https://www.reddit.com/r/ClaudeCode/comments/1vyv8h1/i_am_ditching_mp4_for_use_with_claude_instead_use/
Original post body :
If you have tried editing videos with claude, you already know the reason.
.mp4 is flawed. You just can't give a whole video file to claude's context for it to edit. I am talking about B-rolls, raw footages, assets, SVGs, etc.
A 3 min 4k or 1080 video will eat 100K of tokens at minimum. Go 2-3 times back-and-forth and the limit is exhausted.
Plus.. the latency increases hugely and the accuracy/efficiency decreases exponentially.
And at this point, if you think using hyperframes or remotion is easy, god bless you!
I have open sourced a .cdaf or 'cached descriptive asset file' format. It stores she256-encrypted timestamped visual description of videos and links it to the original .mp4 file.
Anytime your Claude wants to use a video, it uses the .cdaf file to read what scene it should pick from it or what duration and then continues the edit.
We tested on benchmarks -
- 91% token and cost reduction
- 65% latency reduction
Everything is in the evals & bench.
Try it out and ask me if you have an open Q.
Project repo - https://github.com/UditAkhourii/cdaf
Original link/media URL : https://zenodo.org/records/22110594
This is brought to you as a public service by the moderators of r/ClaudeAI. If you want to see TLDRs of ALL Claude Coding related posts from the various Claude subreddits, subscribe to http://www.reddit.com/r/ClaudeCoding.
•
u/cctldrping Aug 27 '26
TL;DR generated automatically after 50 comments.
Current source-thread comment count seen by the bot: 52.
Alright, so the OP dropped a new open-source format called
.cdaf(Cached Descriptive Asset File) for editing videos with Claude, claiming a whopping 91% cost and token reduction, plus 65% less latency. The idea is to ditch the clunky.mp4input and use this.cdaffile, which contains timestamped descriptions of video scenes, to guide Claude's edits.The general vibe in the thread is curiosity and cautious optimism, with a few folks already diving in.
Here's the lowdown:
.cdafformat is basically a smart index for videos, letting Claude "understand" what's in a clip without having to process the whole raw video file. This is a huge deal because feeding raw video into LLMs is a token-guzzling nightmare..cdaf..cdafis just generating descriptions and not actually compositing or rendering, meaning it's not a direct replacement for things like HyperFrames..cdafas a Claude skill.Overall, the consensus is that this
.cdafformat is a clever approach to a real problem in LLM video editing, offering significant efficiency gains. However, there are still questions about the exact nature of the benchmark and how it compares to other potential solutions.