I have an app, in which i need to split a video into two parts and then concatinate one part with another video.
could any one of you tell me how to split a video into two parts based on duaration.
Thank you
You can use AVFoundation classes and check the editability of your video through UIVideoEditor classes
Related
I should able to capture multiple images (assume I am capturing passport for id proof) using iOS camera AVFoundation. I mean to say that I should have one interface to capture them one by one and merge them together. Is this possible in iOS, if yes is there any samples available for that.
Any help could be appreciated. Thank you
Can't completely get it. You can just take image from photostream one by one, you can take one photo and cut out 2 images, you can use imagepicker to call native camera, where is problem my friend?
I have two video files with sound and I need to play them consecutive. I know I can use AVQueuePlayer to play them consecutive in a layer but I would rather use MPmediaPlayer because of its fetures - nice design, implemented stop, play, fullscreen mode bugless etc... Is it possible to play two consecutive videos (without gap) using default MPmediaPlayer?
Thank you. Have a nice day!
I want to segment a video into 9 sections jumble the sections about and then play them together. I am currently trying to use AVPlayer to do this. I can get the sections to load on the simulator but only the first 4 will load on the actual phone. I guess the resources are topping out.
My question is: Is AVPlayer the best framework to use for this (as it seems a waste to create a player item, player and playerlayer for each segment(Which I think is why the resources are topping out)) or is there a lower framework I can use to load one video and display certain segments of it on certain sreas of the screen?
Thanks
What is the best way to create a numeric pad like the one Apple uses in the telephone app?
I would say just create an array of UIButton objects so that you can utilize UIControlStateSelected and the other button states by using different images for different states.
Another idea is to create something similar to that entire keypad in Photoshop, and then tile it into 12 images using http://www.mikelin.ca/blog/2010/06/iphone-splitting-image-into-tiles-for-faster-loading-with-imagemagick/
That would take some of the work out of get all the images to flow nicely together.
By the way, I just forgot about these until just a minute ago... they have some of the UI graphics from the iPhone and iPad in high res PSD file:
http://www.teehanlax.com/blog/2010/02/01/ipad-gui-psd/
and
http://www.teehanlax.com/blog/2010/08/12/iphone-4-gui-psd-retina-display/
and
http://www.teehanlax.com/blog/2010/06/14/iphone-gui-psd-v4/
I implemented a KeypadView, that is customizable via a delegate.
This github repository has the KeypadView and a delegate-implementation.
As I am still beginner in the field of iOS development I would appreciate, if you share your thoughts with me.
i have a media player in vb form...with 2 files in a listbox as a playlist
now i want to create a fade between changing these files as a transition how can i do that...
You can't do this with the MediaPlayer control, unless you "fake" it by merging the two videos into one (handling the overlap transition from the first to the second in your code) and then playing the single merged video.
DirectShow can do this in theory, but programming DirectShow is difficult (all the more so from .Net) and it's obscure enough now that you won't find many people to help you. Also, from my experiments into this area (I was trying to use DirectShow to transition from one video w/sound to the next without any interruption or slight pausing), it appears that DirectShow can play one video at a time with no problems at all, but on some systems (including mine) it can't handle playing two at once. To do a cross-fade transition, you need to have both graphs running during the overlap time, which my computer at least was never able to handle.
I would check out WPF and see if its controls can do this. I'm not sure they can but it's possible.