# Cannot get thumbnails from HLS stream with getThumbnail()

**URL:** <https://community.bitmovin.com/t/cannot-get-thumbnails-from-hls-stream-with-getthumbnail/1267>\
**Category:** Support\
**Tags:** android\
**Created:** [September 15, 2022, 3:49pm UTC](https://community.bitmovin.com/t/cannot-get-thumbnails-from-hls-stream-with-getthumbnail/1267 "2022-09-15T15:49:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgeorgiev](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@mgeorgiev](https://community.bitmovin.com/u/mgeorgiev)\
**Post date:** [September 15, 2022, 3:49pm UTC](https://community.bitmovin.com/t/cannot-get-thumbnails-from-hls-stream-with-getthumbnail/1267/1 "2022-09-15T15:49:55Z")

</div>

Hello,

We have an AndroidTV app with Bitmovin player v3.24.1, which works fine.  
Now we are trying to get thumbnails with the new API getThumbnail, but we cannot make it to work. The return value is allways NULL. We tried various public test streams, like:

[https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop\_16x9/bipbop\_16x9\_variant.m3u8](https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8)

[https://bitmovin-a.akamaihd.net/content/MI201109210084\_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8](https://bitmovin-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8)

Please advise.

Here is a code snippet:

```auto
    private final EventListener<PlayerEvent.Seeked> onSeekedListener = seekedEvent -> {
        Log.d(TAG, "Bitmovin Event onSeeked: " + seekedEvent);
        double at = seekedEvent.getTimestamp();
        Thumbnail thumbnail = null;
        if (mPlayer != null) {
            Source source = mPlayer.getSource();
            if (source != null) {
                thumbnail = source.getThumbnail(at);
            }
        }
        if (thumbnail == null) {
            Log.d(TAG, "getThumbnail: NONE");
        } else {
            Log.d(TAG, "getThumbnailt: " + thumbnail.toString());
        }
    };

```

---

<div class="post-metadata">

**Author:** ![lucky.goyal](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/lucky.goyal/32/506_2.png) [@lucky.goyal](https://community.bitmovin.com/u/lucky.goyal)\
**Post date:** [September 15, 2022, 7:37pm UTC](https://community.bitmovin.com/t/cannot-get-thumbnails-from-hls-stream-with-getthumbnail/1267/2 "2022-09-15T19:37:34Z")

</div>

Hi @mgeorgiev , thanks for your question. Please find Bitmovin player’s thumbnail support matrix at [Bitmovin Docs - Player | Player - Thumbnail Preview Support](https://bitmovin.com/docs/player/articles/player-thumbnail-preview-support). The provided HLS sample contents do not contain any of the supported thumbnail formats for Android player SDK.

Please use content with one of the supported thumbnail formats listed in support matrix to get thumbnails.

---

<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:** [September 17, 2022, 11:14pm UTC](https://community.bitmovin.com/t/cannot-get-thumbnails-from-hls-stream-with-getthumbnail/1267/3 "2022-09-17T23:14:50Z")

</div>

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