Wowza Community

How to get thumbnails for content videos

Hello everyone,

how can I get thumbnails for videos already exist in content folder with mp4 format with http provider?

We have a simple module that creates a thumbnail found here. You could modify the source or use it as a starting point in developing your own http provider.

Alternatively, you might try just using ffmpeg in a similar fashion:

ffmpeg -y  -i [input-file].[ext] -f [output-format] -vframes [number-of-frames] -ss [seconds-offset] [output-file].[ext]
#create thumbnail of sample.mp4 file 30 seconds in
ffmpeg -y  -i sample.mp4 -f mjpeg -vframes 1 -ss 30 sample.jpg

Another option would be to use a stream class stream to publish the VOD content as a live source to the Transcoder and then use the HTTPProvider:

How to do basic server-side publishing with Stream class streams

How to get thumbnail images from Wowza Transcoder with an HTTP Provider

Salvadore

Awesome! Thanks for the update and glad I could help.

Salvadore

We have a simple module that creates a thumbnail found here. You could modify the source or use it as a starting point in developing your own http provider.

thank you matt, here we call the module from flash client, cant we call this module from java? if not where can I fined the source code of this module to make it as http provider?

there is manual solution using javax.media but I cannot find javax.media in Wowza ide??

Another option would be to use a stream class stream to publish the VOD content as a live source to the Transcoder and then use the HTTPProvider:

How to do basic server-side publishing with Stream class streams

How to get thumbnail images from Wowza Transcoder with an HTTP Provider

Salvadore

Thank you so much it worked!