# How to generate a thumbnail/poster image on VOD Encoding?

**URL:** <https://community.bitmovin.com/t/how-to-generate-a-thumbnail-poster-image-on-vod-encoding/2816>\
**Category:** Support\
**Created:** [April 16, 2024, 5:08pm UTC](https://community.bitmovin.com/t/how-to-generate-a-thumbnail-poster-image-on-vod-encoding/2816 "2024-04-16T17:08:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![team-macanudo](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@team-macanudo](https://community.bitmovin.com/u/team-macanudo)\
**Post date:** [April 16, 2024, 5:08pm UTC](https://community.bitmovin.com/t/how-to-generate-a-thumbnail-poster-image-on-vod-encoding/2816/1 "2024-04-16T17:08:30Z")

</div>

Does the VOD Encoding pipeline allows to generate a thumbnail/poster image for the video? How can this be accomplished?

---

<div class="post-metadata">

**Author:** ![Adrian](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/adrian/32/122_2.png) [@Adrian](https://community.bitmovin.com/u/Adrian)\
**Post date:** [April 22, 2024, 10:27pm UTC](https://community.bitmovin.com/t/how-to-generate-a-thumbnail-poster-image-on-vod-encoding/2816/2 "2024-04-22T22:27:02Z")

</div>

does this article help @team-macanudo ?

> **[Encoding - Thumbnail generation support for VoD](https://developer.bitmovin.com/encoding/docs/encoding-thumbnail-generation-support-for-vod)**
>
> CompatibilityThe table below summarizes the thumbnails types supported by Bitmovin Encoding. Thumbnail TypeProtocolThumbnail containerImage FormatSingle imageNANone (Images only)jpeg / pngSpritesHLS / DASHWebVTTjpeg / pngSpritesDASHImage Adaptation...

---

<div class="post-metadata">

**Author:** ![team-macanudo](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@team-macanudo](https://community.bitmovin.com/u/team-macanudo)\
**Post date:** [April 23, 2024, 4:05pm UTC](https://community.bitmovin.com/t/how-to-generate-a-thumbnail-poster-image-on-vod-encoding/2816/3 "2024-04-23T16:05:31Z")

</div>

Hi @Adrian thanks for sharing that.

We were able to successfully generate a thumbnail based on the documentation you provided.

Here is the code snippet in C#

```auto
        // Thumbnail
        var thumbnailOutput = new EncodingOutput
        {
            Acl = new List<AclEntry> { aclEntry },
            OutputId = output.Id,
            OutputPath = outputPath + "/thumbnail"
        };

        var thumbnail = new Thumbnail
        {
            Pattern = "thumbnail-%number%.jpg",
            Unit = ThumbnailUnit.PERCENTS,
            Positions = new List<double?> { 1 },
            Width = 640,
            Outputs = new List<EncodingOutput> { thumbnailOutput }
        };

        thumbnail = await _bitmovinApi.Encoding.Encodings.Streams.Thumbnails.CreateAsync(encoding.Id, inputVideoStream480.Id, thumbnail);

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/bitmovin/original/1X/1ab86334145095b0af9c5b924fa3ae6d920b6482.png) [@system](https://community.bitmovin.com/u/system)\
**Post date:** [April 24, 2024, 12:22pm UTC](https://community.bitmovin.com/t/how-to-generate-a-thumbnail-poster-image-on-vod-encoding/2816/4 "2024-04-24T12:22:15Z")

</div>

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.
