MPMoviePlayer « video « iPhone iPad Media Q&A

Home
iPhone iPad Media Q&A
1.animation
2.audio
3.AVAudioPlayer
4.box2d
5.cocos2d
6.CoreGraphics
7.CorePlot
8.Flash
9.graphics
10.icon
11.image
12.photo
13.plot
14.sound
15.video
iPhone iPad Media Q&A » video » MPMoviePlayer 

1. How do you get an iphone MPMoviePlayer video's total time?    stackoverflow.com

I just want to figure out how to get a video's total time in seconds. Is there video metadata that loads or something?

2. Taking video from video camera and displaying it with MPMoviePlayerController IPhone SDK    stackoverflow.com

Has anyone tried taking a video from the camera and then using the video player provided to play it? When you take the video in portrait mode, sometimes the movie will ...

3. How to play next video in MPMoviePlayer?    stackoverflow.com

I have implement an application.In which there is list of videos.when user touch on the video then video play in MPMoviePlayer.But when video is finished then i want to play another ...

4. How to play video file in MPMOviePlayer?    stackoverflow.com

I have implementing uITabbar application in which i want to play video file.Video file is playing but not seen.And simulator is Landscapmode bu MPMoviePlayer in Potrait mode.How to solve this problem. ...

5. MPMoviePlayerController play video second time    stackoverflow.com

I need to have the possibility to play more than one video in an app. Unfortunately, the second time I press play, video appears blinking. I use only this code for playing ...

6. How to play sequence video continuously on iPhone?    stackoverflow.com

I'm trying to play two videos continuously using MPMoviePlayer. I let the second video play when the MPMoviePlayerPlaybackDidFinishNotification is posted.

[[NSNotificationCenter defaultCenter] addObserver:self 
        ...

7. Error Playing video from server with MPMoviePlayerController    stackoverflow.com

I try to play a video on the server with this code. I have a error.

//Play the video from server
    - (IBAction)playVideo:(id)sender;
    {
  ...

8. problem using MPMovieController in iPhone SDK 4.0    stackoverflow.com

I was using MPMoviePlayer to play a short video in my app with no problems in SDK 3.1.3. I made the changes to the code in SDK 4 but the video ...

9. iPad MPMoviePlayer hiccups    stackoverflow.com

I'm working on an iPad app, it has a few videos within views using the MPMediaPlayer framework. Videos are working nice but on viewLoad there is a flashing of the video area ...

10. how to play live streaming video using mpmovieplayer in iphone sdk?    stackoverflow.com

how to play live streaming video using mpmovieplayer in iphone sdk ?

11. Play video's audio track when enter background?    stackoverflow.com

I'm using mpmovieplayer to play video on ios 4, and I want to keep the audio playing when my app enter background, but it doesn't work. I thing it's because video ...

12. iPhone SDK - presentMoviePlayerViewControllerAnimated no video but audio    stackoverflow.com

I'm trying to show a MPMoviePlayerViewController.

MPMoviePlayerViewController* theMoviePlayer = [[MPMoviePlayerViewController alloc]
                      ...

13. MPMoviePlayerController streaming video to Apple TV    stackoverflow.com

Since the new update came out for apple tv where you can stream video to it from any iOS device running 4.2, I was trying to stream a video from my ...

14. iphone:How to stream and play youtube video with in application using MPMoviePlayer?    stackoverflow.com

I want to make a youtube app like this (Youtube Stream) http://itunes.apple.com/us/app/youtube-stream/id384383425?mt=8# app for the iphone, where some videos are streamed/downloaded from a youtube and played within same app ...

15. MPMoviePlayerContentPreloadDidFinishNotification seems more reliable than MPMoviePlayerLoadStateDidChangeNotification    stackoverflow.com

I am streaming small movies (1-3MB) off my website into my iPhone app. I have a slicehost webserver, I think it's a "500MB slice". Not sure off the top ...

16. display two different Video-Streams at the same time    stackoverflow.com

I try to display two different http/rtsp-Video-Streams at the same time on the same UIView. So my first thought was to use the UIViews of two MPMoviePlayerController. But the documentation says: Note: Although you ...

17. MPMoviePlayer Bad-Access error after playing video    stackoverflow.com

I´ve created an new ViewController (only with the .h and .m file) and added that code to play a video. After the video has finished, i get a "Exe_bad_access" error. Error ...

18. how to stream a video in iphone    stackoverflow.com

does initWithContentURL: in MPMoviePlayerController download the video file at first and then start playing or will it stream file like in youtube? I want to play an video located in server through ...

19. How to handle when mpmovieplayer have problems    stackoverflow.com

I have subclassed MPMoviePlayerController and implement loading movie from stream in my app and everything works just fine. But now I have interesting situation. I play movie from stream. Sometimes it happens that ...

20. How to play video in iphone sdk 4.0?    stackoverflow.com

I played video in iphone by using this code

-(IBAction)btnNew_clicked:(id)sender {  

NSURL *url = [NSURL URLWithString:@"http://www.businessfactors.de/bfcms/images/stories/videos/defaultscreenvideos.mp4"];
MPMoviePlayerViewController *mp = [[MPMoviePlayerViewController alloc] initWithContentURL:url];
[[mp moviePlayer] prepareToPlay];
[[mp moviePlayer] setShouldAutoplay:YES];
[[mp moviePlayer] setControlStyle:2];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(videoPlayBackDidFinish:) ...

21. MPMoviePlayer unable to play video stream from a url without extension    stackoverflow.com

I am trying to play a video(mp4) file from a url with MPMoviePlayer (e.g.: http://localhost/api?file_id=2313mk) but unable to get it working, wonder if there is any solution. Few tests are ...

22. Asking for advice on playing movies on iPhone    stackoverflow.com

Hia, I'm looking for a way to play a movie as background in portray mode in my app. The movie should not respond to any taps and my app would have its ...

23. How to achieve adding vintage video effect to a existing video using movie maker in iPhone app    stackoverflow.com

Hi,

Im my application, I can play a video using Movie player class. For that video I want to add 
vintage video effect. How can we acheive this by using Movie Maker ...

24. How do you hide MPMoviePlayer video controls?    stackoverflow.com

I have managed to make my app play a video, but I am a beginner and I don't know how to code that well, I can't figure out how to hide ...

25. Playing URL (live streaming) in iphone app    stackoverflow.com

I'm writing and app in which live stream video is playing; The video is played from a certain url. how can i do it?

26. iPhone MPMoviePlayer no video    stackoverflow.com

This is code supposed to play live video/audio stream, it work's fine, but the single problem is that it doesnt show the video, only the audio comes not the video...

#import <MediaPlayer/MediaPlayer.h>

@implementation ...

27. iPhone: Play audio and video simultaneously    stackoverflow.com

I am building a game application where I need to play animation videos and their corresponding sounds(may be different depending on situation). I have all videos and sounds file are ready ...

28. jerk while paying a video - MPMoviePlayerController    stackoverflow.com

I have used a MPMoviePlayerController object to play a movie in my app but as soon as I call [moviePlayer play] in a function there is a small jerk and then ...

29. Audio only when trying to play http live stream videos    stackoverflow.com

since I moved to sdk 4.3 my app is not able to play streaming videos anymore (I only get the audio). I tried to look the MoviePlayer sample code but it's ...

30. IOS Developer, working on a basic MPMoviePlayer app. Cant get the video to stop playing using navigationbar    stackoverflow.com

Hi i am designing a basic iPhone/iPad app that has a UINavigationController. The user clicks on the table row and it opens up a video in full screen. This works well ...

31. MPMoviePlayer automatically rewinds the video by 2 seconds on setting currentPlaybackTime. Is there a way i can get rid of this?    stackoverflow.com

I have a UISlider which controls the playback seek of the video. However, when i drag this slider to a certain position and set the currentPlaybackTime to the appropriate float value, ...

32. iPhone: initWithContentURL not playing the video    stackoverflow.com

I have a .mp4 video url in my server and trying to play by using the following code. But it doesn't do any actions when click on play button. I'm trying ...

33. using MPMoviePlayer controller Not playing video programmatically using url in iphone    stackoverflow.com

hello friend i am trying to play video programmatically using url, I'm using web services to get url and i added media player frame kit also, i am getting url ...

34. Playing HTTP Stream (non Live) using AVFoundation/MPMoviePlayer    stackoverflow.com

I have been writing a video streaming app that receives non-Live HTTP Stream over Wifi. (for an example of what "non Live HTTP streaming": http://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples#HTTP_streaming) It used to work with ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.