开发者

Generate thumbnail for video on external site

I have a lot of external links from users, and I need to scrap somehow the video content and generate thumbnail for it to display on my site.

I know this is a simple task with django-oembed, but the list of providers is limited. I need to support sites without oembed too.

So the main task is to determine if p开发者_开发问答age contains the video or no, and generate thumbnail for it.

Can anybody suggest the best way?


You can use Pymedia to extract a frame from the video and PIL to create the thumbnail like suggested here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜