Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access to the iOS' video decoder?

Tags:

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".


like image 873
Georg Fritzsche Avatar asked Aug 30 '10 13:08

Georg Fritzsche


People also ask

What is apple video Toolbox?

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.

What is video decoder software?

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.


1 Answers

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.

like image 130
Georg Fritzsche Avatar answered Sep 20 '22 17:09

Georg Fritzsche