iphone sdk > 3.0 . Video Thumbnail?

后端 未结 7 850
死守一世寂寞
死守一世寂寞 2020-12-02 12:45

From what i have read apple doesnt expose the api to allow developers to get a thumbnail of a movie using the current sdk.

Can any one share some code as to how the

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-02 13:18

    There is a jpg in the same folder as the the movie that is the thumbnail. I have only tested it with video recorded from the phone, but it works fine. Its not named the same as the movie, so get the directory path the movie is in and iterate for a .jpg and away you go.

提交回复
热议问题