iOS Video: More than 4 simultaneous AVAssetReaders possible?

后端 未结 3 1033
夕颜
夕颜 2021-01-03 10:37

I would like to render multiple H264 mp4 videos on multiple views at the same time. Target is to read about 8 short videos, each at a size of 100x100 pixels and let them dis

3条回答
  •  轮回少年
    2021-01-03 10:50

    Here's my latest iteration of a perfectly smooth-scrolling collection view with real-time video previews (up to 16 at a time):

    https://youtu.be/7QlaO7WxjGg

    It even uses a cover flow custom layout and "reflection" view that mirrors the video preview perfectly. The source code is here:

    http://www.mediafire.com/download/ivecygnlhqxwynr/VideoWallCollectionView.zip

提交回复
热议问题