Discord AV1 Embed Tool
This Discord AV1 Embedder allows you to embed AV1 videos and even videos larger than 500MB by exploiting a bug in Discord. You can also choose a custom thumbnail and use this tool to embed AV1 videos on X, the platform formerly known as Twitter. Jump to documentation
Generate an embed URL:
Providing the correct video width and height allows the video to display without gaps.
Your generated URL (click to copy): [Please enter a valid Video URL]
Shortened URL ⓘ (click to copy): [No short URL generated]
Information about generation failures goes here
Constraints
To embed on Discord, the video must be a direct link (hover for info) to a file that obeys these constraints:- Format: MP4, MOV, or WebM
- Video: AV1, HEVC*, VP9, VP8, H.264, Theora*
- Audio: Opus, xHE-AAC*, Vorbis, AAC-LC/HE(v2), MP3, FLAC, PCM/WAV
- *this codec will only work with some clients or browsers, it is not universally web-compatible
File Hosting
If you have a video file and need to embed it, you must upload it to a file host. Good file hosts for this tool provide direct links, are permanent, and allow hotlinking. Below is a list of some of our recommendations for file hosts. Note that if you upload illegal or pirated content, the file host may take it down, leaving your embed link broken.- Catbox for up to 200 MB
- Litterbox by Catbox for up to 1 GB (hosts the file for up to 3 days)
- The File Ditch for up to 1 GB (please give this guy a break unless it really needs to be permanent)
- transfer.sh for up to 10 GB (hosts the file for 14 days)
- AnonTransfer for up to 15 GB (hosts the file for 30 days, replace "download" with "download-file" in the URL)
- Discord may cache files hosted by a temporary host for much longer than the host keeps the file. Therefore, consider using a temporary storage service to spread the load off of permanent services.
- Discord's CDN (cdn.discordapp.com, media.discordapp.net) is NOT a usable host for any hotlinking because of their new time-expiry links.
Pitfalls
There are a lot of ways that using a Discord AV1 embed tool can go wrong. We'll try to stop you from making these mistakes, but here are some common ones:- Websites like YouTube are not valid video hosts for this tool. A direct link is a link to a media file and not merely a link to a webpage that displays media.
- Direct links usually end in a file extension. However, by this, we mean the end of the path name, not the entire URL. Here's an example:
- https://example.com/files/file.mp4 IS a direct link
- https://example.com/files/file.mp4?s=737609832 IS a direct link
- https://example.com/player/play?v=file.mp4 IS NOT a direct link (the end of the path name is "play", not "file.mp4")
- Discord now uses time-expiry links so you cannot use its CDN for this purpose anymore.
- You can't use links to files on your local machine (file://) as they mean nothing outside of your local machine.
- Entering the URL of another Discord embed tool will not embed the video embedded by that other tool. You have to take the direct link out of the other embedding tool and paste it into this one to switch to our embedding tool.
- Using this tool on X, the platform formerly known as Twitter, may have some constraints we're not aware of. However, uploading both the image and the video to Catbox or The File Ditch generally results in a working link on X, and AV1 videos can be used as well.
If you see an error message like this, we think your embed link won't work. Take the time to fully consider why we think that's the case before you copy and paste the link into Discord anyway. We could be wrong and it might embed just fine, but you must make sure your link really is a direct link to a compliant MP4, MOV, or WebM. If "Get Width and Height from Video URL" works, the link is indeed direct.
Thumbnails & Gapless Embedding
The reason that Discord cannot normally embed AV1 is because their servers cannot generate a thumbnail for it. By providing our own thumbnail, we can completely bypass the need to do that and embed any client-compatible codec in Discord. However, providing your own thumbnail comes with its own set of challenges that we aim to help you solve here.- If you don't link or upload your own thumbnail, we'll provide this one and scale it to perfectly match the aspect ratio of your video.
- If the provided width and height, the aspect ratio of the video, and the aspect ratio of the image do not match, a gap will form between the embed and the next message, either before or while the video is played. This is annoying and it detracts from the clean appearance of this embedding tool in Discord. To avoid the formation of a gap, use the Get Width and Height from Video URL button or punch in the video's correct width and height, then link a thumbnail that matches this aspect ratio. The default if no W/H is provided is to assume the video is 16:9.
- When you upload an image to our image hosting service, we will auto-crop it to the same aspect ratio as your video and scale it to the same size as it appears in Discord, so there will never be a gap, unlike with a linked image. It also loads faster as our images average 13 KiB.
Troubleshooting
- Image shows up in the embed in some way, but the video doesn't load? The image is a valid URL, but the video is not. It might be disallowing hotlinking, or, more likely, it isn't a direct link. Direct links usually end in a file extension. Direct links look like: https://autocompressor.net/files/squirrel_clip_XHQ.mp4. If the Get Width and Height from Video URL tool works, the link is direct, though if this fails, it doesn't always mean the link isn't direct. If the path says something like "m3u8", it's probably not a direct link. Alternatively, if your video file is very large (multiple GB), Discord may be taking a while to cache and proxy it, and you'll have to be patient the first time it is played.
- No image shows up and Discord shows the loading animation indefinitely? The image is not a valid URL, even though the video may or may not be. It might be disallowing hotlinking, or it isn't a direct link. Either don't provide a thumbnail so we can use the default one, or use an image host that allows hotlinking like Imgur or Catbox. If you're trying to get a direct link to an image on the internet, right clicking it and selecting "Copy Image Link", not "Copy Link", almost always gets a direct link.
- No embed shows up at all? Neither the video nor the image are valid direct links. Remember that direct links usually end in a file extension.
Disclaimer: This tool does NOT serve (how?), and is NOT liable for, content embedded using this tool. If you believe that your copyrighted content is being served on a Discord embed through this tool, please direct any DMCA complaints to the video or image host, which is visible in the embed tool URL. If that image host happens to be us, sure, go after us, and we'll get rid of that image.