The iPad/iOS has video streaming support for e.g. H.264 using MPMoviePlayerController
etc., but i receive H.264 data through a custom, proprietary, stream and need to decode it in a soft real-time scenario.
Can the iPads/iOS' video decoder be accessed in any way to decode this data?
Update: Apparently the iOS 4.0 Core Media Framework supports decoding frames and knows of H.264, but there is no sample code nor can i see what i actually am supposed to call for the actual decoding.
Update (ten years later!)
For anyone googling here, you do this in iOS these days with "VideoToolbox".
Overview. VideoToolbox is a low-level framework that provides direct access to hardware encoders and decoders. It provides services for video compression and decompression, and for conversion between raster image formats stored in CoreVideo pixel buffers.
A video decoder is a hardware device or software that converts an encoded digital stream into audio, video, closed captions, and subtitles that can be displayed on a television or portable viewing device.
After raising the issue with Apple DTS it turns out that there currently is no way to decode video data from custom stream sources.
I will file an enhancement request for this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With