How can I use a FLV/MOV as one of 2 inputs?

I was wondering if anyone knew of good way to add a video to
a 2 input filter (that isn't a blend)?
I'm using a filter that is a lot like (Ryan Taylor's)
DisplacementMapFilter:
http://www.boostworthy.com/blog/?p=245
Which I've seen work with still images, but I would love to
see it work with a movie as 1 of the inputs.
If I can get help to make Ryan's filter to work with a FLV or
MOV, then I can get it to work on the filter that I'm working on.
I've got it to work with JPGs (by applying it to a BitmapData
object). And I've got a movie to work with a filter with 1 input
(which is pretty easy). But this one has really stumped me.
When it's a blend its really easy, but filters like (Ryan
Taylor's) DisplacementMapFilter.pbk won't work with just a
blendShader.
PLEASE HELP!

Quick and easy way to do it:
1) Load each video into an FLVPlayback instance. Listen for
the PLAYHEAD_UPDATE event.
2) onPlayheadUpdate, grab your frames with bitmapData.draw().
3) Supply those bitmapDatas to the shader:
shader.data.image1.input = bitmapData1
shader.data.image2.input = bitmapData2
4) Draw the result with the drawing API's beginShaderFill
method.

Similar Messages

  • How can I use different iTunes accounts on one iPad?

    How can I use different iTunes accounts on one iPad?

    You can't, well not easily anyway.  The iPad is not meant as a multi account device. 
    You can Sign Out of your iTunes account in Settings->iTunes and App Stores->Apple ID->Sign Out
    However if you sign in with another ID and then download past purchases with it you will lock out the previous ID for 90 days. Which means it will not be able to be used on the iPad for 90 days. 

  • How can i transfer a digital movie from one apple id to another apple id?

    how can i transfer a digital movie from one apple id to another apple id?

    You buy it from that ID or ask the iTunes Store staff for assistance.
    (80985)

  • How can I use two differant iphones on one itunes

    I can i use two differant iphones on one itunes, and keep the content seperate?

    You can sync as many iphones/ipod/ipads as you like to one computer.
    Each is different and is recognized as such

  • How can I use a sound file on one slide, which fades to another sound file on the next?

    I am trying to make a slide show that begins with a certain sound file, which then I hope to fade out to the second slide which uses a different sound file, I've followed Apple's online tutorials, but what happens is I get two sound files playing simultaneously. Also, I'd like to add sounds files to different individual slides throughout the presentation, which I want to play independently from the entire slide show's sound track. I have programmed the slides to change automatically. Is there any way I can have multiple sound files on multiple slides all playing independently, without playing over the top of the previous sound file? I imagine this is a simply task, so my apologies if this is the case. Thanks in advance for any help!
    kind regards,

    Getting sound to work right in Keynote requires a basic understanding that:
    1. Sound played during slide transitions (from one slide to the next) must be placed in the Document Inspector > Audio > Soundtrack Well - there can only be one audio file and it plays across all slides
    2. Additional sounds files can be placed on individual slides as sound objects - each object can have build-in and build-out assignments, but sound files need at least a Build-In > Start Audio (done in the Build Inspector) - each object, wether a shape, image, sound or movie can have discrete start timing such that the start of one sound object can be delayed X seconds after the previous event. This can be used to avoid overlapping starts or playing. If you know the length of each sound file object, you can adjust the start to occur after the end of a previous sound using the Build Inspector. Click on the More Options Button to display the event build-order list and click on the event to reveal how the build starts and add any delays to start there.
    3. Keynote does not have a Fade Feature - any fade-in or fade-out (sound up/sound down) of audio files must be done to the sound file using third party applications and then brought into Keynote. If you'd like to join the crowd wishing Apple might add this feature in the future, you can provide feedback to Apple here:
    http://www.apple.com/feedback/
    4. If you need an audio file to play across a few slides and another audio file to play across another few slides, break the presentation into seperate documents, place the audio in the soundtrack well for each document and then add a hyperlink object to connect to the next Keynote document in the series. Note: all files must be "opened" in the background and ready to play or else the next file will attempt to start but stall just when you don't need it to.
    Hope this helps.

  • How can I publish my flash movie in one swf file in V.2

    Hi
    When I publish my movie to flash format , skin swf file is
    segregated from main movie swf file . How can I publish my movie
    only in one swf file ? I want to merge skin and main movie files
    together in one swf file .

    Hi Corona,
    The screen size is whatever you captured or specified during
    the recording or new movie setup process. This will cause the
    playback control to be placed "on top of" some portion of the
    captured background, but there are two ways around that problem.
    1) When you set the red recording area before recording, drag
    the bottom of the recording area downward about 35 pixels below the
    application window (assuming you are capturing an area that
    includes a "bottom" or even an application window - grin). For this
    to work, it is best if you do your recording against a
    solid-one-colored desktop background, so the "extra" area at the
    bottom doesn't include desktop images that you don't want in the
    capture (even though that area will not be visible in the end ...)
    OR...
    2) Use the Project > Resize Project dialog to increase the
    palette size on the bottom, taking care to leave the original movie
    the same size. This will effectively do the same thing as
    Suggestion #1, create a "blank" area at the bottom of the movie on
    which there is room to mount the playback control bar.
    Best of luck, Corona, and omid02. Hope this helps, in
    conjunction with the advice that Rick has already offered.
    .

  • How can I get 20 different movies onto one dvd and have them play consecutively?

    I am having a hard time converting all of the videos I've taken of my kids from my iphone onto a dvd. I would like the videos to play consecutively as if we were watching home movies from our regular video recorder. How can I convert my videos to one dvd?

    If the total playing time for all of the videos is less than 120 minutes create a slideshow in iDVD and add the movies to it in the order you want them to play.  Select any slide duration time except manual.  Do not add any music to the slideshow as it will override the audio in the video files and do not add any transition as it won't be a smooth transition.
    Follow this workflow to help assure the best qualty video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process.
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.

  • How can I use a generic indifferently in one of the generic's member functions?

    I'm curious about the following situation:
    I'd like to access another generic's private member in a constructor. How can I do that irrespective of the generic's actual type?
    Here's a sample of what I'm trying to accomplish:
    public class C<T>
    private int _hdc;
    // private T _someMember;
    public C()
    this._hdc = CreateHdc();
    public C(C src) // what would be the correct signature here to be able to run the assignment in ::f() below?
    this._hdc = src.hdc;
    function f()
    C<int> a = new C();
    C<string> b = new C(a); // how can I get this to work?
    Do I need to create a non-generic base class to be able to use a differently typed object in the construtor? Or is there some C# construct that will allow me to define an untyped generic parameter and only use the untyped members from that parameter?
    Still people out there alive using the keyboard?
    Working with SQL Server/Office/Windows and their poor keyboard support they seem extinct...

    >>I'd like to access another generic's private member in a constructor.
    You cannot access a class' private member from any other class directly. You could expose a private field through a property or define a public method (or constructor) that sets the private field though.
    >>How can I do that irrespective of the generic's actual type?
    You cannot assign a string field to an int value or the other way around without converting the value to a string/int first.
    A C<int> object always has an int field - the generic class is not really a type of its own but rather a "blue-print" or a template for a type - and you cannot assign this one to a string value.
    Since the C<string> class Always has a string field you need to convert the int value of the C<int> object to a string before you can ever assign the string field to this value:
    C<int> a = new C();
    C<string> b = new C(a.ToString());
    C<int> and C<string> are two completely different types. They are not related to each other and as mentioned you cannot assing a string field to an int value.
    >>Or is there some C# construct that will allow me to define an untyped generic parameter and only use the untyped members from that parameter?
    There is no such thing as "an unyped generic parameter" in C#. T always refers to a type and you must specify the type when you create an instance of the generic type.
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question.

  • How can I use two single-dimensional arrays-one for the titles and array

    I want to Use two single-dimensional arrays-one for the titles and one for the ID
    Could everyone help me how can i write the code for it?
    Flower
    public class Video
    public static void main(String[] args) throws Exception
    int[][] ID =
    { {145,147,148},
    {146,149, 150} };
    String[][] Titles=
    { {"Barney","True Grit","The night before Christmas"},
    {"Lalla", "Jacke Chan", "Metal"} };
    int x, y;
    int r, c;
    System.out.println("List before Sort");
    for(c =0; c< 3; ++c)
    for(r=0; r< 3; ++ r)
    System.out.println("ID:" + ID[c][r]+ "\tTitle: " + Titles[c][r]);
    System.out.println("\nAfter Sort:");
    for(c =0; c< 3; ++c)
    for(r=0; r< 3; ++ r)
    System.out.println("ID:" + ID[c][r]+ "\tTitle: " + Titles[c][r]);

    This is one of the most bizarre questions I have seen here:
    public class Video
    public static void main(String[] args) throws Exception
    int[] ID = {145,147,148, 146,149, 150};
    String[] Titles= {"Barney","True Grit","The night before Christmas", "Lalla", "Jacke Chan", "Metal"};
    System.out.println("List before Sort");
    for(int i = 0; i < Titles.length; i++)
       System.out.println("ID:" + ID[i]+ "\tTitle: " + Titles);
    System.out.println("\nAfter Sort:");
    for(int i = 0; c < Titles.length; i++)
    System.out.println("ID:" + ID[i]+ "\tTitle: " + Titles[i]);
    Generally you don't use prefix (++c) operators in you for loop. Use postfix (c++).
    Prefix means that it will increment the variable before the loop body is executed. Postfix will cause it to increment after.

  • How can I use multiple iTunes accounts on one phone?

    I Have an iTunes account with iTunes match enabled. I've just moved in with my gf and want to be able to share music on our phones. I've enabled her computer and put my Apple ID in and I now have all her music on my phone (thanks to iTunes match) but when I try and **** her phone it ignores all my music. How can I get all my music on her phone? The only way I have managed it is to sign out of her account on the phone and sign in with my ID but that would mean all her purchases would be charged to me etc so this isn't a solution really

    Put everything on the computer to which she syncs, and sync them to her iPhone.

  • How can I use FlexMotion vector move function for cartesian coordinate system to other coordinate.

    I have problem with convesion from cartesian coordinate system to other one. I need use standard move function for example blend to moving 2 arms manipulator. What i need to do?

    The vector move will probably not give the results you are looking for. The vector move calculates the trajectory based on unit vectors in cartesian space. For a 2 arm robot (ex. 2 rotation joints), you would be able to move from point A to point B as desired, however the path would not be a straight line. The path may also not be suitable for the mechanism, which could cause a collision or maybe a singularity.
    The best solution is probably the contour move. You can use the inverse kinematic routine you wrote and send the results to a contour move. Contour moves are a little more complicated to use than the simple one axis or vector moves, however they are also much more flexible. I do not know of any functions already written for your system,
    but it sounds like you are already on the right path.
    Regards,
    Brent Runnels
    Applications Engineer
    National Instruments

  • How can I transfer a rented movie from one Ipad to another Ipad?

    I rented a movie on Itunes from a PC, and transferred it to an Ipad. I now would like to transfer it to another Ipad. Does anyone know how to do this? B

    Hi Technician7,
    It is true that you can "return" app licenses to Apple Configurator and redistribute that license to another iPad. The key is that both iPads must be "Supervised" in order to return the app license. See this from Apple:
    Removing apps from devices
    If you use Apple Configurator to remove a redeemed VPP app from a supervised device, Apple Configurator marks the corresponding redemption code as available. It can be reassigned to a different device supervised by this copy of Apple Configurator for this Mac only. It is not available for redemption by other Macs or iOS devices.
    If you unsupervise a supervised device, all apps will be removed from the device and the redemption codes used to install those apps will be marked available for reassignment. If you simply remove a device record from Apple Configurator, the redemption codes for any apps on that device will not be available for reassignment.
    I hope this answers your question!
    ~Joe

  • How can I use two screens to display one window

    Before Mavericks, MAC OS allowed you to use two screens (next to each other) in order to display one (big) window of one application.
    That would mean that a window would start on your left screen en would continue on the right screen.
    With Mavericks, however, this not possible any more. The window of the application can only be seen on ONE of the screens (i.e. the left one).
    Can any one tell me whether I've missed certain options or how to adjust my settings in order to get this feature back?

    Hey CGNL,
    First, if you haven't already, set up the displays as an extended desktop:
    Choose Apple menu > System Preferences, click Displays, then click Arrangement.
    Follow the onscreen instructions.
    Then, use Mission Control preferences to uncheck/turn off the option for "Displays have separate Spaces":
    Choose Apple menu > System Preferences, click Mission Control
    Uncheck "Displays have separate Spaces"
    That should enable you to stretch whatever window you want across multiple displays.
    via: OS X Mavericks: Connect multiple displays to your Mac
    http://support.apple.com/kb/PH13814
    and
    OS X Mavericks: Mission Control preferences
    http://support.apple.com/kb/PH13925
    Welcome to Apple Support Communities!
    Have a good one,
    Delgadoh

  • How can you use multiple stream types with one socket?

    Hi,
    I'm working on a large program that currently uses Object Input/Output streams for all of the messaging in a client/server application. This works fine except when files need to be transferred. In many cases using a Object stream to send a file can be 30 times slower than using a Buffered input/output stream. I've found I can combined the two. Here are some code snippets to give you a basic idea of what's happening...
    BufferedInputStream bis = new BufferedInputStream( serverSocket.getInputStream( ) );
    ObjectInputStream ois = new ObjectInputStream( serverSocket.getInputStream( ) );
    //this code runs on a thread on the server
    while( true ){
    switch( whichKindOfStreamUsedNext ){
    case OBJECT_STREAM:
    Object object = ois.readObject( );
    doSomethingWithObject( object );
    break;
    case BUFFERED_STREAM:
    readFromBuffer( bis );
    break;
    Obviously there is a lot missing here. Basically the variable whichKindOfStreamUsedNext is changed in the methods doSomethingWithObject( ) and readFromBuffer depending on what the current state of the server is and what is passed to these methods from the client.
    Here is the problem. If readFromBuffer( ) does a very small task and the client sends an object through an object stream everything is okay. I've switched whichKindOfStreamUsedNext = OBJECT_STREAM before that point and by the time the client sends the object the server is waiting on Object object = ois.readObject( );. However if the method readFromBuffer( ) does a very time intensive task and it takes a while to return and meanwhile the client sends an object then the server never gets that object. Does anyone have an easy solution to this problem. (Changing the whole program to just using BufferedStreams is not a solution).
    Thanks.

    Thanks a lot for the response.
    I guess I didn't realize I could do that.
    I changed how I am doing the program anyways. Sending flags to switch streams was a little messy. but now I have a new problem. I've discovered that mixing object streams with buffered streams also leads to significant speed increases. I do that in this manner...
    int ONE_MEG = 1024*1024;
    ObjectInputStream ois = new ObjectInputStream( new BufferedInputStream( socket.getInputStream( ), ONE_MEG ) );
    and I do the same thing for the ObjectOutputStream. It works very well when I just set up the client's output stream and the servers input stream in this manner. Upload times are increased from 60 seconds to 2-5 seconds.
    Unfortunately when I try to do the same thing with the servers output stream and the clients input stream to speed up downloads I get deadlock! As soon as the socket connection is opened and I try to set up the streams in this manner I get deadlock. Does anyone have any idea why this occurs and what I can do to fix it?

  • How can I use multiple ipad's on one account without sharing individuals personal email accounts?

    Is it possible to have multiple ipads on one account and share info, but also allow the individual users to have personal email that is not seen on the other ipad's? We have all ipads on same icloud account because we all need to see the same ical. It seems like that's the problem. If it IS related to icloud then if we have separate icloud accounts, how would we share the main ical otherwise? Sharing the ical is very important for this business so everyone can access the daily schedule. Of course each user still wants to have private email.
    Hope this wasn't too confusing!
    Thanks!
    Doreen

    you could set up the main icloud itunes acount for ical and not have in setup on the devices
    and share the calandar with the other itunes accounts on the devices
    or only have it on one device
    devices have the users indervidual itunes icloud setup
    they should be able to access the shared "main" itunes icloud ical account once it's shared
    http://howto.cnet.com/8301-11310_39-57542557-285/three-methods-for-sharing-an-ic loud-calendar/
    if the devices are company owned you could go futher and setup find my iphone on the main itunes account
    and not on the user icloud accounts

Maybe you are looking for