从Youtube视频获取帧视频

问题描述:

是否有方法从Youtube视频获取帧?我发现可以下载视频,并使用MediaMetadataRetriever获取帧。但它似乎不是我的最佳解决方案。你有什么建议吗?从Youtube视频获取帧视频

谢谢。

**YouTube thumbnails** 

YouTube的缩略图可以在这个标准的路径中找到:

http://img.youtube.com/vi/[video-id]/[thumbnail-number].jpg

[video-id] is the YouTube video ID, e.g. 1sIWez9HAbA. 
[thumbnail-number] is the number of the thumbnail of the 4 each video usually has, e.g. 0.