movie

MPMoviePlayerController alternatives on iPhone?

落花浮王杯 提交于 2019-12-31 10:36:16
问题 I am looking for alternatives to the MPMoviePlayerController on the iPhone. As a video player its functionality is very limited. According to the class reference there is no way to get the current play back time or set a new time, for example. It's just play and stop. Are there any middleware solutions out there for iPhone video playback that offer more functionality? CRI has something in development but it has not been released. I haven't been able to find anything else. Thanks. 回答1: Keep in

Using Movie Maker programmatically or from command line?

僤鯓⒐⒋嵵緔 提交于 2019-12-25 07:18:18
问题 Does anyone know if I can programmatically hook into Movie Maker and therefore make a movie through an API or other form of command line ? I found this Command-line Options for Windows Movie Maker but there is no export command to export the video. 回答1: This one would be the official API: http://msdn.microsoft.com/en-us/library/windows/desktop/bb288384(v=vs.85).aspx However I found nothing on exporting either. http://avisynth.nl/index.php/Main_Page Looks like a powerful alternative though (my

How to screen capture screenshots or movies on the Linux framebuffer

▼魔方 西西 提交于 2019-12-24 13:28:44
问题 How can the linux frame buffer, on Cell Linux, be captured to obtain either screen shots or movies? Is there a tool to do this for a running program, or must the program writing to, and presumably controlling, the frame buffer also handle capture and recording? If so, how would the program do so? 回答1: Many tools for doing so, for example FBGrab and fbdump; look at the sources for those two, it would be pretty easy to extend either one or write your own which captures video instead of just

MPMoviePlayerController movie length

安稳与你 提交于 2019-12-24 05:20:43
问题 The question is - how to get the movie length from MPMoviePlayerController object? I need this to create a progress bar. I have the method [myPlayer currentTime] to move progress bar while movie is playing. And the [myPlayer setCurrentTime: doubleVal] to rewind the movie. But I can't use all this without information about movie length, or movie end time. Also, maybe exists another player to use in iPhone, instead of MPMoviePlayerController ? 来源: https://stackoverflow.com/questions/1188543

Extracting movie name and year from string were year is optional

本小妞迷上赌 提交于 2019-12-23 04:52:53
问题 I'm missing a really obvious thing here, but I'm new to regex so be kind ;-) I have a number of films in an arbitrary format that may or may not have the year attached. My Movie Name 2010 Some.Other.Super.Cool.Movie The~Third|Movie.2010 Now, using (.+)\W(\d{4}) I can extract the two movies with dates into two groups one containing the name and the other the year, but the middle one gets ignored? I'm just a little unsure on how to actually make the year segment optional. Ideally, ;-), I could

java/xuggle - encode array of images into a movie

筅森魡賤 提交于 2019-12-23 03:46:11
问题 how can I encode a array of images into a movie using xuggle and java? I would like this to be at 30 fps. I would be willing to use another framework than xuggle, but i believe xuggle would be easiest. Probably a novice question, but thanks anywhay!!! 回答1: There is an example for this on Xuggle Wiki (Wayback Archive link, as it appears to be dead) (obviously, replace calls to Balls with your array). 来源: https://stackoverflow.com/questions/6933708/java-xuggle-encode-array-of-images-into-a

Given a URL to a movie, how can retrieve it's info?

假如想象 提交于 2019-12-22 17:47:13
问题 Under iOS, I need to get the codec used to make the move (H.264, MJPEG and so on), the movies' width and height, the file size, and the number of frames in the movie. I tried using AVAsset for the movie duration and such but the duration was always zero. Same for the width/height. I also tried using a movie player controller but that did not work either (see code below). The docs are a bit confusing and with multiple ways of getting to the same place you can't seem to get to the same spot.

PHP function/library to create screenshot from movie [closed]

帅比萌擦擦* 提交于 2019-12-22 09:26:45
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I have a site where users upload movies (MP4, FLV, OGV). I need a PHP function to generate a poster/screenshot in JPG automatically from an uploaded movie. The screenshot should be for the opening scene of the

Automatic saving a figure as an image file in Matlab

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-22 08:38:47
问题 I'm creating 49 figures in Matlab, they are all created automatically one after the other. I want them to also automatically be saved as .tif or .jpg images with names corresponding to their figure number. Can I do it? And if so,how? the code for the creation of the figures is: for num_picture=0:48 ... figure (num_picture+1) imshow (screen_im) end The ... part is where all the calculations of screen_im are. I want those images in order to create a movie from them, If there is a way where I

MPMoviePlayerController with a Custom Button on its toolbar

China☆狼群 提交于 2019-12-20 15:17:14
问题 You might have seen video through you tube in iPhone. Normal MPMoviePlayerController has previous, next & play/pause buttons. You tube - player has additional two buttons on it. => Add to favorites on the left side. => Email this video on right side. I want to implement the same for my application. But I am failed to find out the property or methods regarding - implementing this. How do I need buttons on it? When User is watching video there should no buttons on screen. When user taps on