Decode h.264?

Hi,


Is there any way in iOS to directly decode an h.264 video stream from memory buffers?


I know that the OS supports h.264 when reading a file or an HTTP live stream, but I'm getting data from another source (an RTSP server) that is not directly supported by AVAsset.


Is there a "Core Video" SDK on iOS that is equivalent to Core Audio?


Thanks,

Frank

As far as playing RTSP video streams, a recent search turns up at least one github project "ffmpeg avplayer for iOS tvOS" claiming that the Apple frameworks do the hard work in the recent iOS versions. (Link not included to avoid moderation. The quoted text is the title of the github project.)


Have you seen that project?

Thanks. I've looked into this project, and even contacted the author. Unfortunately, the project bundles a compiled video player component without any visibility into either the source code for the player or the underlying ffmpeg code, so it's not useful to me. I already have my own player and a solution for receiving the RTSP packets, I am just looking for a better way to decode them. I can currently decode them using ffmpeg. It works but it is very CPU-intensive.


Frank

No offense, but you seem to have written "I have a not-quite-working solution that I'm not willing to give up on and just use someone else's solution."

Decode h.264?
 
 
Q