I am on the lookout for some sample code to help me learn how to play movie files (.mp4) on the iPad.
Can anyone help? I can only find a iPhone sample which doesn't work.
See the AVFoundation framework, particularly AVPlayer. There’s also a higher-level class called MPMoviePlayerController that offers simple video playback (it’s easier to use but cannot be customized).
Related
I am trying to play YouTube videos in IOS App and it working fine. But the issue is in quality, Quality is not same in MPMoviePlayer as video's are on YouTube.
I have tried different approaches but did not get any solutions.
like : YTPlayerView,LBYouTube etc...
Please help me if anyone have a solution for that.
Thanks in advance.
I read this somewhere...it working fine...
Try it by using
LBYouTubePlayerViewController
It is a subclass of MPMoviePlayerViewController.
LBYouTubeView is a small view that is able to display YouTube videos in a MPMoviePlayerController.
you have choice to select between high-quality and standard quality.
LBYouTubeView doesn't use UIWebView which makes it faster .
Any one please help me… my app is based on showing subtitles under video…I did little bit in that by using Movie Player project from developer.apple, I can play and pause the subtitle while play and pause the video. I have a problem with how to synchronize the video with subtitle such as forward, backward, slider,entering full screen. I looking for an example like synchronize .srt file with MPMoviePlayerController in Xcode and also other..Please discuss your idea in that with me... Thank you
I have an app that has some video editing tools. I mix photos and videos and I am running into an odd issue. When i arrange a video composition with a video, then a photo, then back to the video it plays fine until the transition back to the video at which point it freezes! I still hear the audio, and if i seek around the video starts playing again. I dont know how I can error check this! Anyone have any ideas?
The fix more my situation, I created a 1 second clip of blackness and injected that into my composition at the photo spot and now it works fine
I was able to display a video using NSURL from a webpage into a UIView, but i need to be able to find a way to stream a video from a web server into my iphone using avfoundation. i am a little confused as to what i have to do in order to do this. any pointers would be helpful. thank you.
If you just need simple movie playing then take a look at MPMoviePlayerController. For more advanced needs start at AVPlayer
I want to embed a video player in an NSView. I also want to play different files, passing the path of these files. Is it possible to implement in a Mac application?
For QTKit, the QTKit Application Tutorial - Creating a Simple QTKit Media Player Application takes you through the basic steps.
Take a look at the AVFoundation frameworks now in 10.7 - AVPlayer looks like a good start.