Can MPMoviePlayerController play SMI files? - iphone

Can a MPMoviePlayerView play a .smi file? If not, is there any other way to play this type of file?

Unfortunaly, there's no way to play that format on iOS. It only supports mp4/m4v (h264) video format with AAC audio codec.
You should try to convert it into those supported formats.
Also, take a look at HTTP Live Streaming.
HTTP Live Streaming, FFMPEG & FFSERVER, and iPhone OS 3

Related

IPhone Video Streaming Problem

I want to implement video streaming in my project. So, Is there any tutorial that works? Videos are stored at server side. So, to fetch video using url and play it on MPMoviePlayerViewController .
Thank You.
For video streaming in iPhone you can use ffmpeg concept.FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec - the leading audio/video codec library.Have a look at these sites for samples,
https://github.com/FFmpeg/FFmpeg
http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/
Check this solution, it's a full audio and video streamer.

Open Source program for converting wave files for RTMP streaming

Can anyone suggest any open source linux program for converting .wav files to flash format for RTMP streaming? Does RTMP support any format other than flash?
Flash Media Server supports three audio formats for streaming: Nellymoser, MP3, and ACC. You also can play MP3 files directly from the Flash Player view HTTP download, you don't really need to use RTMP (which is more advantageous for video due to higher bitrate).
Here's a good article on streaming audio with FMS:
http://www.adobe.com/devnet/flashmediaserver/articles/beginner_audio_fms3.html
For conversion, you can use ffmpeg.
http://fosswire.com/post/2007/11/using-ffmpeg-to-convert-to-mp3/
You can stream via the CRTMP server to flash clients. VLC can play RTMP streams.

iPhone: streaming WMA, MP3 and AAC

I need to create a simple media player that can stream internet radio stations in WMA, MP3 and AAC formats as part of a bigger app.
I was wondering if someone could please give me some pointers on where to start and how to go about tackling each of these formats? never really handled this topic before..
Thanks!
For audio streaming on the iPhone you'll have to use the AudioQueue framework. This framework has native support for mp3 and aac but is not easy to get started with. There's an open source project by Matt Gallagher that can play mp3 and aac audio streams by using the AudioQueue framework: AudioStreamer.
If you also need to play wma audio streams you have to use the open source FFmpeg library. Decoding wma audio streams with the FFmpeg library is not that hard but integration with the AudioQueue framework for playback is not that straightforward.
If you are familiar with handling this problem in a web app, you could try having a UIWebView in your app.

http live streaming for mp3 files

I need help in converting mp3 files to Apples Http Live Streaming protocol files. I am working on a music application and wants to use Live streaming in this app.
I got this link http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/ from google but it contains how to live stream video files.
Can anybody help me with mp3 files.
Thanks
With ffmpeg you're also able to convert mp3-files only (no video).
Just use:
ffmpeg -i yourmp3.mp3 ...your arguments... output.mp3
To add to Tim's answer, HLS supports mp3 codec. So if your audio is already in mp3, all you would need is the segmenter

What format should I be publishing my videos in?

Just wondering what format is accepted as "the best" to have your video content on. We currently have our videos in FLV format being played by a JW Player. Are FLV's iPhone compatible or should we be encoding in another format? Thanks!
FLV video is not supported on the iPhone. H.264 should be you choice if you plan on targeting the iPhone.
If you're looking into streaming the video have a look at Apple HTTP streaming which is supported by the iPhone.
HTTP Streaming Architecture - Might need Apple ID to view it.
According to the iPhone SDK, You can use -
Media Player framework to display
full-screen video from files in either
H.264 (Baseline Profile Level 3.0)
format or MPEG-4 Part 2 video (Simple
Profile) format.
So I gather that the FLV video is not supported on the iPhone and you should encode the videos in one of these two formats. Also note that only full-screen video playback is supported on the device, with a fade-in transition to the player when video is started.