iPhone Smooth Transition from One Video To Another -
I have to know the best way to transition from one video to another
Basic IDEA: A The example would be that a person's video is playing ... the user taps the video and has a seamless transition to play a person's video (on a simplified example)
My first thoughts 2 movie The player had to make and use the transition between 2 visual elements but the movie-player could use it Udder does not.
It is a solution to stop an existing video, load new content, and start up again, but it is not very beautiful We are creating an interactive sales tool for our representative, and we may as a professional Want to see
Current Thoughts: If there was some sample code for AVPlayer, it would seem that I can use video to switch between AVVideoComposition? But information on how this can happen is not currently available.
Probably short: I thought it would be easy because I purchased an app called Live Ched HD, which once appeared 16 different video feeds.
Any thoughts? thank you in advanced!
Steve, the answer in a nutshell is that you will not be able to get such results which you Want to use AVPlayer. H.264 Video Logic included in iOS is really good at playing video and video / audio, but this is really useless because of starting / closing and switching from one clip to another. That loads lots of buffering and hardware Switch to the need to start playing a H.264 video. Basically, you have to roll your own code which sets UIImage / CGImageRef for your ideas so that switching from one array of UIMaj objects to another makes it easy to switch from one clip to another. Of course, this It is easy to say that implementing so far is not so easy.
I suggest that you evaluate the existing code that already applies this argument, for example, to see this demo app shows that like an iPhone UI a lot Simple game can be created using a series of clips that show a character throwing a kick, a punch, or a fireball. The result looks like this:
I have also written a blog post about it. You can definitely roll your code to do all this, but I would suggest reading more about my library on the linked website as this will save you a lot of time.
Comments
Post a Comment