Posts

Post not yet marked as solved
1 Replies
795 Views
Hi all,in short: Does iOS 11 emulator support HEVC rendering with AVSampleBufferDisplayLayer?I have a working app which renders live video streams using AVSampleBufferDisplayLayer. For H264 I use CMVideoFormatDescriptionCreateFromH264ParameterSets, everything has been running ok for years. I made an upgrade to HEVC (which is now possible in iOS 11), so I am using CMVideoFormatDescriptionCreateFromHEVCParameterSets instead (and pass VPS, SPS and PPS). Everything seems to work and I get *no* error when creating the description and when I check the status property of the display layer, it says "rendering" even after several minutes of feeding HEVC video samples, so no fail here either. There is one small detail though, no video is rendered 🙂. Since I am testing in iOS 11 emulator, I suspect that this might be the problem. Does anybody know, if iOS emulator can decode / render HEVC with AVSampleBufferDisplayLayer? If yes, what might be the problem, when the entire pipeline works and no error is reported anywhere? Just FYI, H264 can be rendered ok even in the emulator.Thank you very much.Alex
Posted
by Alexandr.
Last updated
.
Post marked as solved
4 Replies
2.2k Views
Hi all,we were very excited in the past when Video Toolbox was first added to iOS 8 with H264 support. The new API made it possible to use AVSampleBufferDisplayLayer with a custom H264 video stream coming from the network for example. Now, there has been much talk about HEVC support in iOS11 so I am bit surprised that the Video Toolbox API does not yet support HEVC (as it seems). To start with, I am missing for example a function similar to CMVideoFormatDescriptionCreateFromH264ParameterSets for HEVC. Does anybody have any information about if / when HEVC support will be added to Video Toolbox API like H264? Or is there another way of decoding (HW accelerated) HEVC single samples in iOS11 preferred over the Video Toolbox API?Thanks.Alex
Posted
by Alexandr.
Last updated
.