# On Demand HLS Stream Thumbnails

**URL:** <https://community.wowza.com/t/on-demand-hls-stream-thumbnails/48469>\
**Category:** Wowza Streaming Engine\
**Created:** [April 6, 2017, 9:03pm UTC](https://community.wowza.com/t/on-demand-hls-stream-thumbnails/48469 "2017-04-06T21:03:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![George\_Baker](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@George\_Baker](https://community.wowza.com/u/George_Baker)\
**Post date:** [April 6, 2017, 9:03pm UTC](https://community.wowza.com/t/on-demand-hls-stream-thumbnails/48469/1 "2017-04-06T21:03:18Z")

</div>

Is it possible to get thumbnails for entire hls stream (say every 10 seconds) using iframe only / byte range playlist ? We are not generating thumbnails using ffmpeg but is there any way using wowza to do this ?

---

<div class="post-metadata">

**Author:** ![Jermaine\_Hemby](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@Jermaine\_Hemby](https://community.wowza.com/u/Jermaine_Hemby)\
**Post date:** [April 9, 2017, 3:22pm UTC](https://community.wowza.com/t/on-demand-hls-stream-thumbnails/48469/2 "2017-04-09T15:22:44Z")

</div>

Hello,

Thanks for contacting the Wowza Community!

Here is a link on generating thumbnails via API and code. Is this what you are looking for?

[Generate Thumbnails for Live Streams](https://www.wowza.com/docs/how-to-generate-thumbnail-images-of-live-streams)

Using the Transcoder, you can also generate thumbnails.

[Timed Thumbnail Generation](https://www.wowza.com/docs/how-to-take-timed-thumbnail-snapshots-of-a-wowza-transcoder-stream-moduletranscodertimedsnapshot)

Hope this helps. If any further questions, feel free to reach out.

regards,

Jermaine

---

<div class="post-metadata">

**Author:** ![George\_Baker](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@George\_Baker](https://community.wowza.com/u/George_Baker)\
**Post date:** [April 10, 2017, 1:57pm UTC](https://community.wowza.com/t/on-demand-hls-stream-thumbnails/48469/3 "2017-04-10T13:57:02Z")

</div>

Hi Jermaine

Thanks for reply but as I mentioned I need this for OD stream and not live. I came across those articles before but they dont mention anything about OD Streams.

Thanks

---

<div class="post-metadata">

**Author:** ![vincev100](https://avatars.discourse-cdn.com/v4/letter/v/838e76/32.png) [@vincev100](https://community.wowza.com/u/vincev100)\
**Post date:** [April 14, 2017, 12:46am UTC](https://community.wowza.com/t/on-demand-hls-stream-thumbnails/48469/4 "2017-04-14T00:46:24Z")

</div>

I use FFMPEG to generate thumbnails for VOD. If you have ffmpeg installed, this command generates a folder with the name of your .mp4 file, and it will run the command to generate a thumbnail image every 10th frame, with a size of 128x72. It wil name them thumb0000.jpg, but all these variables can be changed for your specific needs.

for %%a in ("_.mp4") do md “%%~na” for %%a in ("_.mp4") do ffmpeg -i “%%a” -vf fps=1/10 -s 128x72 “%%~na\thumb%%04d.jpg” pause

---

<div class="post-metadata">

**Author:** ![George\_Baker](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@George\_Baker](https://community.wowza.com/u/George_Baker)\
**Post date:** [April 14, 2017, 4:26pm UTC](https://community.wowza.com/t/on-demand-hls-stream-thumbnails/48469/5 "2017-04-14T16:26:58Z")

</div>

Thanks , for input vincev100, I have come across this option as well however this will not work well because we have huge number of already transcoded files and generating thumbnails will be hard for all files. So we were looking if there was an on fly option using the fast forward functionality that ios has where it shows thumbnails from the stream.

---

<div class="post-metadata">

**Author:** ![vincev100](https://avatars.discourse-cdn.com/v4/letter/v/838e76/32.png) [@vincev100](https://community.wowza.com/u/vincev100)\
**Post date:** [April 14, 2017, 9:19pm UTC](https://community.wowza.com/t/on-demand-hls-stream-thumbnails/48469/6 "2017-04-14T21:19:23Z")

</div>

I hear you, we had to do the same thing. We went back and created thumbs for about 1000 or so recordings. Now it’s part of our transcoding job, so we only use FFMPEG for one off jobs.
