Wowza Community

Thumbnails for multiple live streams with low transcoder use

Hi - we have about 50 live streams and none use the transcoder. We would like to get thumbnails of the live videos.

If we use the transcoder for each stream, the cpu usage will be horrendous - is there a way to use the transcoder to get thumbnails without huge cpu overhead?

Thanks.

Hi,

The ModuleTranscoderTimedSnapshot requires that you decode the sources and re-encode which is CPU intensive.

The only option without doing this is using the ModuleCreateSnapshot which requires that you install the Wowza Module Collection

Regards,

Jason

Here is the correct answer: https://www.wowza.com/docs/how-to-generate-thumbnail-images-of-live-streams

:cool:

Hi Jason,

I checked out the documentation, and it says:

“How to take a single-frame snapshot of a live stream for thumbnail creation (ModuleCreateSnapshot)” - That part was great.

I see the client code:

nc.call(“createSnapshotLive”, resultObj, “myStream”);

It looks as if the client individually makes a snapshot of a stream (I assume that is client actionscript)

We need snapshots of all 50 live streams available for viewers to click on like we have already for recordings.

The server really has to make all 50 thumbnails, and the client needs to be able to download them via http.

Any ideas? Is this possible? Have I mis-read something?

Thanks for the help,

Alan Costello

Yes, it is very simple. Thanks.

Hi,

That example from Charlie our CTO is for taking a snapshot using the new HTTP Provider that he’s provided in that example. As you can see it now can be done without the need of the Transcoder.

This can quickly take a snapshot of the current live frame of the live stream referenced in the URL.

You can call this from anywhere and redirect the output to a file to automatically save your snapshot. For example, some customers have used the original thumbnail HTTP Provider by call it using curl/wget and redirecting the output, e.g.

curl "http://[WOWZA-IP:8086/transcoderthumbnail?application=live&streamname=myStream&format=jpeg" > myStream.png
wget "http://[WOWZA-IP]:8086/transcoderthumbnail?application=live&streamname=myStream&format=jpeg" -O myStream.png

The new HTTP Provider should be able to be called the same way (though I’ve not tested the new one myself yet).

Regards,

Paul