0

How can I get the thumbnail image from a video stored online URL? I need the thumbnails so that I could display them in a collectionview.

  • 1
    Yes it is possible. – Tony Hensler Feb 02 '17 at 20:40
  • try this code: http://stackoverflow.com/a/4330647/3543861 – MSU_Bulldog Feb 02 '17 at 21:36
  • I'll try this out, thank you! @MSU_Bulldog –  Feb 02 '17 at 22:54
  • Hi! Do you have an idea? @TonyHensler –  Feb 02 '17 at 22:55
  • I can play a remote video on AVPlayer with a URL, and I've been searching how to grab a frame and display it on an image view. But I keep coming across dead ends @TonyHensler –  Feb 02 '17 at 23:02
  • @TonyHensler - can you please help me out how it is possible. I want to do the same in cell. AVAssetImageGenerator hangs the UI. and I want to display it as user comes on that screen. – Urmi Sep 14 '17 at 02:04
  • @MSU_Bulldog - can you please help me out how it is possible. I want to do the same in cell. AVAssetImageGenerator hangs the UI. and I want to display it as user comes on that screen. – Urmi Sep 14 '17 at 02:04
  • @KennyBatista did you find any solution for this? if yes then please let me know. – Urmi Sep 14 '17 at 02:05
  • @Urmi if you have a question, please post a new question instead of adding comments to this one. – MSU_Bulldog Sep 14 '17 at 15:35
  • Hey @Urmi , check out this answer : https://stackoverflow.com/questions/31779150/creating-thumbnail-from-local-video-in-swift . Let me know if you get it to work, if not i'll send you own source code. –  Sep 14 '17 at 18:07

0 Answers0