jAckOdE
jAckOdE

Reputation: 2500

how to play H264 mpegts in iphone

My server encode video files (h264/acc, mpegts based format) by ffmpeg, and send to a client in a iPhonse. The default mediaplayer of ios sdk can not play those videos. How to play H264/mpegts in Ios? Is there any opensource player for ios that can play h264/mpeg-ts file.

Thanks.

Upvotes: 1

Views: 2326

Answers (1)

rajneesh
rajneesh

Reputation: 1749

iOS support playback method called HLS (http://en.wikipedia.org/wiki/HTTP_Live_Streaming).

to convert mpeg-ts to HLS you need to segment the mpeg-ts. ffmpeg is able to convert to HLS. refer to HTTP Live Streaming, FFMPEG & FFSERVER, and iPhone OS 3

Upvotes: 1

Related Questions