<metaproperty="description"content="The Video Sticker format allows anyone to easily create high-detail animations that users can send and share instantly in…">
<metaproperty="og:title"content="Encoding Video Stickers with .WEBM and VP9">
<metaproperty="og:image"content="">
<metaproperty="og:description"content="The Video Sticker format allows anyone to easily create high-detail animations that users can send and share instantly in…">
<h1id="dev_page_title">Encoding Video Stickers with .WEBM and VP9</h1>
<divid="dev_page_content"><p>The <ahref="https://telegram.org/blog/video-stickers-better-reactions">Video Sticker</a> format allows anyone to easily create <strong>high-detail animations</strong> that users can send and share instantly in Telegram.</p>
<li>Video must be in <strong>.WEBM</strong> format, up to <strong>30 FPS</strong>.</li>
<li>Video must be encoded with the <strong>VP9 codec</strong>.</li>
<li>Video must have <strong>no audio stream</strong>.</li>
<li>One side must be <strong>512 pixels</strong> in size – the other side can be 512 pixels <strong>or less</strong>.</li>
<li>Duration must not exceed <strong>3 seconds</strong>.</li>
<li><del>Video must have a transparent layer</del> (this is no longer required).</li>
<li>Video should be looped for optimal user experience.</li>
<li>Video size should not exceed <strong>256 KB</strong> after encoding. </li>
</ul>
<h3><aclass="anchor"name="encoding-video-files"href="#encoding-video-files"><iclass="anchor-icon"></i></a>Encoding Video Files</h3>
<p>You can design your animation in your <strong>preferred app</strong>– but depending on the app’s export settings, you may need an <strong>encoding program</strong> to create the final file.</p>
<blockquote>
<p>Programs like <ahref="https://handbrake.fr/downloads.php">Handbrake</a> or <ahref="https://www.ffmpeg.org/download.html">ffmpeg</a> natively support .WEBM encoding with VP9.</p>
</blockquote>
<h4><aclass="anchor"name="encoding-with-adobe-media-encoder"href="#encoding-with-adobe-media-encoder"><iclass="anchor-icon"></i></a>Encoding with Adobe Media Encoder</h4>
<p>Adobe’s Media Encoder <strong>requires a plug-in</strong> to support .WEBM encoding. Here is a modified version of a plug-in by <ahref="https://github.com/fnordware/AdobeWebM">fnord software</a> that you can install to render your video stickers with Media Encoder.</p>
<p>If it’s your first time working with encoding software, here are some tips that might help:</p>
<ul>
<li>Make sure to check that <strong>VP9</strong> is selected in the codec settings – some apps may default to VP8.</li>
<li>Make sure to <strong>remove</strong> any audio streams (uncheck ‘Export Audio’ in Adobe programs).</li>
<li>Make sure the frame rate is a <strong>constant 30 FPS</strong>.</li>
<li>Use <strong>Constant Quality</strong> and a lower (or lowest) quality setting – size dramatically decreases without affecting fidelity.</li>
<li>In <strong>Media Encoder</strong>, make sure your Renderer is set to ‘Software Only’.</li>
<li>If your file fails to render, try importing it as a <strong>PNG Sequence</strong>.</li>
</ul>
<blockquote>
<p>After Effects projects integrate directly with Media Encoder via <em>File > Export > Add to Media Encoder Queue</em>.</p>
</blockquote>
<h3><aclass="anchor"name="uploading-video-stickers"href="#uploading-video-stickers"><iclass="anchor-icon"></i></a>Uploading Video Stickers</h3>
<p>The <ahref="https://t.me/Stickers">@Stickers</a> bot lets you quickly <strong>publish</strong> and <strong>manage</strong> your sticker packs. Start a chat with it on Telegram and it will walk you through the process. For <strong>step-by-step instructions</strong> and more information, see <ahref="https://core.telegram.org/stickers#using-the-stickers-bot">this guide</a>.</p>
</div>
</div>
</div>
</div>
<divclass="footer_wrap">
<divclass="footer_columns_wrap footer_desktop">
<divclass="footer_column footer_column_telegram">
<h5>Telegram</h5>
<divclass="footer_telegram_description"></div>
Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.