Forum

Post a new question

Categories:

Tags:

Stream VOD with thumbnail

giangtruong 2018-11-13 04:44:06 UTC in Nimble Streamer

How can i streaming vod with thumbnail ?

Denis Slobodskoy 2018-11-13 05:05:07 UTC

Nimble has no functionality to generate thumbnails, you can use FFmpeg command like this to generate it:
ffmpeg -i video.mp4 -ss 00:00:30 -vframes 1 -vf scale=320:-1 thumb.jpg

You can also read this discussion for thumbnails generation with ffmpeg:
http://superuser.com/questions/538112/meaningful-thumbnails-for-a-video-using-ffmpeg

giangtruong 2018-11-13 05:10:28 UTC

thank for your reply
and then how to streaming nimble with vod have thumbnail, can we use smil ??

Denis Slobodskoy 2018-11-13 05:22:15 UTC

I don't understand how thumbnail is related to smil, could you explain your use case?

giangtruong 2018-11-13 05:24:03 UTC

ex: http://118.69.166.182/vod/chayngaydi/chayngaydi-720.mp4/playlist.m3u8
==> how can play this video with image thumbnail ?
i stream this video with nimble streaming

Denis Slobodskoy 2018-11-13 06:43:27 UTC

You want to display thumbnails on time scale, right?
It's not related to smil anyway, here is description for JW Player: https://support.jwplayer.com/articles/how-to-add-preview-thumbnails
You must prepare thumbnails and then create WEBVTT file that contain match between time and thumbnails. Then on player page you should pass it to jwplayer setup like this:
{ file: "<video_url>",
tracks: [{file:"http://<nimble_ip>/vod/thumbs.webvtt", kind: "thumbnails"}]
}

Post a reply



This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.