Graphical Audio player in iOS - iphone

Is there a library or built in graphical player to represent a playing audio file in iOS.
I dont want a full screen player, but a small inline player that can be embedded into a UIView.
Does this exist in iOS?

Apple has a good example of this, avTouch. I have successfully adapted parts of their code to display audio levels in the past.
avTouch

Related

Can I avoid the native fullscreen video player in Jwplayer on iPhone

I came across this ans to avoid fullscreen video player in iPhone.Can we use this module to create video player custom controls.
I have using jwplayer and have own custom video controls (fast forward/backward, transcript, slow/fast, volume control, fullscreen).This controls gets hidden in iPhone and native iPhone video player is shown.
Is there any way to avoid this iphone fullscreen and still bring own custom controls.
Can this module be used for jwplayer? to bring own custom video control with jwplayer.
I have not seen that particular library in use with our player, so you're more than able to try it - but I cannot guarantee any success, nor can we provide support for its use.
With that being said, iOS 10 is slated to bring inline video playback to Safari for iPhone and the good news is our player is already set up in the way it needs to take advantage of this. Obviously, iOS 10 is in beta and not final yet so things are subject to change, but this is good news for those customers looking for inline video playback in Safari on iPhone.

Video Stream of NSView

I want to create a video stream of a View in iOS. For example place a View in iPhone and draw something on it and I want to create a video stream (H.264 or MP4 or any famous standard) so that I can save a video file which contain recording of my NSView and all drawing and other operations that I perform.
Any idea where to start? Is there some API available in iOS to record video iPhone screen or a specific view??
Thanks in advance.
This blog post contains a link to sample project that shows how to capture screen content on iOS and add it to an AVFoundation asset.
Download the sample project called VTMScreenRecorderTest.zip
Also take a look on the slides (the screen capture part starts at slide 44).
The capture code is based on Apple's Technical Q&A 1703.

How to programmatically produce a video on the iPad platform?

I would like to programmatically produce a video using the microphone on the iPad (for sound) and the screen display (for visual)? Is this possible? How should I proceed?
Possible, but not easy. A rough outline:
Start capturing the audio: How do I record audio on iPhone with AVAudioRecorder?
Capture individual images of the screen as fast as you can: How to capture current view screenshot and reuse in code? (iPhone SDK)
Later, combine the two into a video. I have no clue how to do this part.

help me pick the right iPhone audio class - MPMoviePlayer vs AVAudioPlayer vs MPMusicPlayer

Does anyone know of a good tutorial on the distinction between the MPMoviePlayer vs AVAudioPlayer vs MPMusicPlayer?
I want to play audio from an mp3 file available at an external URL.
Ideally it is played in an iPod-like audio view. I toyed with MPMoviePlayer but it appears to be more suitable for video, as when audio starts a "movie playing" message displays, the controls disappear and a white quicktime splash page displays.
I would like the standard ipod audio controls to display all the time, and to customize the image behind them.
Here's a great little group of articles from Ray Wenderlich. Not specifically what you're after but might come in handy.
Audio 101 for iPhone Developers: Playing Audio Programmatically
Audio 101 for iPhone Developers: File and Data Formats
Audio 101 for iPhone Developers: Converting and Recording

Playing video in a Customview like iPad feature

When we call MPMoviePlayerController.play method, the movie player is opened and the video is played in a separate full screen. is it possible to play a video in a custom view, that is I have an image added on a view, when this image is clicked, the image has to be removed and the video has to play there itself as the feature in iPad.
Non-full screen playback of video is possible in iPhone OS 3.2 for iPad.
If you are porting an application that uses the MPMoviePlayerController class of the Media Player framework, you must change your code if you want it to run in iPhone OS 3.2. The old version of this class supports only full-screen playback using a simplified interface. The new version supports both full- and partial-screen playback and offers you more control over various aspects of the playback.
On the full-screen question, see this section of the iPad Programming Guide for further information, and this property of MPMoviePlayerController specifically.
Bear in mind that you can still only play one video at a time, and that this is only currently possible for iPad.
Not using MPMoviePlayerController, no.
You might be able to achieve this using a custom movie player, but I haven't seen one in the wild yet, and I don't know how it would be done.