Foundation supports the tokenization of a wide range of file types to help you bring your artwork to web3. We’ve provided some helpful insights and guides below to help you navigate your file type options.
Supported file types, up to 50MB file size
- PLAIN, JPG, JPEG, PNG, GIF, SVG, GLTF, GLB, MP4, and Quicktime
A width of 3000px is ideal for still images.
For resolution, 1080p to 4K will yield the best results. Videos that are larger than 2700px on either side may cause viewing issues on mobile devices.
Understanding your video file size
Here’s an overview of the major factors that make up your video’s file size, and a few helpful insights to keep your video files under 50MB.
Resolution is the number of pixels that are used to create a frame of video, eg., 720p, 1080p, 2K, 4K. Resolution impacts the visual clarity of your video.
Frame rate refers to the number of frames used per second of video, eg., 30fps, 60fps. A higher frame rate results in smoother motion during playback.
Bitrate is the amount of video data that is processed per second of video - a higher bitrate means a higher level of visible detail. Adjustments to bitrate are a common source of blocking and tearing issues in a finished video.
We recommend a maximum bitrate of 36mbps - higher bitrates can significantly increase your video file size by adding relatively imperceptible video data.
Codec is the format that encodes your video data and optimizes it for video playback across different devices. Codecs can be classified as having lossy and lossless compression - the most popular being lossy. Lossy codecs use an algorithm to remove video data that is generally unnecessary or unnoticeable to the viewer. Lossless codecs retain full video data.
If you’d like your original video asset to be viewable natively across modern browsers, we recommend using a widely supported codec and container format, such as these:
- WebM container with a VP8 video codec
- Opus codec for audio
- MP4 container with a H.264 video codec, and an AAC audio codec
Consider using these components of your video file size to achieve the desired video quality, while also maintaining a file size under 50MB.
Uploading your video file to Foundation
To ensure successful video playback on Foundation, we use a transcoder to create guaranteed, web-playable assets from the source video. These assets are H264 encoded MP4 videos, with AAC audio, at a maximum bitrate of 36mbps.
Your original asset isn’t affected by this - your original is still stored on IPFS - the transcoder simply creates copies of the assets, specifically for use on Foundation.
Hopefully this information provided a bit of clarity around the factors that determine your video file size. If you’d like to read up on Web video codecs, check out MDN’s Web video codec guide.
Feel free to reach out to us if you need any help minting your video NFTs on Foundation.