Is it possible to make a seamless loop on an embedded video?

Hello!
I have an embedded 10-second video (of water ripples, for example) that I would like to loop continuously without displaying an obvious break/jump from the end frame to the first frame.The video itself does not end at the beginning, so it cannot simply be looped. The only way I can think of to simulate a seamless loop it to use the alpha/fade tween somehow, but I have no clue where to begin, or if this is even possible in flash. I just have these two theories:
THEORY #1:
If a movie clip can be reversed, then I can append a reversed copy of the clip on the end, which would create an actual seamless loop.
THEORY#2:
If I can cut the first 2 seconds of the clip, and paste it over the last 2 seconds of the clip, then fade in on the first one, this would create a virtual seamless loop.
Of course, I have no idea if these options are possible in Flash (I have CS3).
Many thanks in advance for any assistance,
Davide

Unfortunately, fading out at the end and fading in at the beginning does not create a seamless loop, since there are a few moments when the clip alpha is 0% and everything is completely black.This might be ok for some situations. But for creating a seamless loop, I need to have something, well, more seamless.
Actually, I think I may have come up with a possible workaround to simulate a true seamless loop of an embedded video (at least get closer to it) by placing a still image (which has been converted into a movie clip) of the first frame on a new layer at the last frame, and then copying that keyframe and pasting it about 25 frames before the end, then alpha fading from the first keyframe to the final frame.
It is not perfect, but it's something.
Perhaps someone else might have a better solution?

Similar Messages

  • Is it possible to add a logo layer to an H264 video

    I just found out the following Adobe FAQ :
    quote:
    Q: Does the H.264 implementation in Flash Player support
    alpha channel?
    A: No. Our first implementation does not support alpha
    channels using H.264...
    Would that means that it is not possible to add a logo layer
    to an MPEG4/h264 video

    Unfortunately, fading out at the end and fading in at the beginning does not create a seamless loop, since there are a few moments when the clip alpha is 0% and everything is completely black.This might be ok for some situations. But for creating a seamless loop, I need to have something, well, more seamless.
    Actually, I think I may have come up with a possible workaround to simulate a true seamless loop of an embedded video (at least get closer to it) by placing a still image (which has been converted into a movie clip) of the first frame on a new layer at the last frame, and then copying that keyframe and pasting it about 25 frames before the end, then alpha fading from the first keyframe to the final frame.
    It is not perfect, but it's something.
    Perhaps someone else might have a better solution?

  • It's possible to make Hierarchical Tree from multiple tables ?

    the famous example for Hierarchical Tree is about employee_id and manager_id field in employees table ............ so I was wondering it's possible to make[b] Hierarchical Tree from multiple tables ? and How ??
    if the answer associate with example that will be so kind of you :D
    and thanks in advance.

    HI
    use curose in when new form instance or procedure then u can got data more then one table like that
    DECLARE
    htree ITEM;
    top_node FTREE.NODE;
    new_node FTREE.NODE ;
    child_node ftree.node ;
    item_value VARCHAR2(30);
    cursor prime_cur is select main_desc mgr_name, main_code dept
    from pur_item_group_mst;
    cursor child_cur(v_dept number) is select sub_desc,sub_code
    from pur_item_group_dtl where main_code = v_dept ;
    BEGIN
    htree := Find_Item('tmp.tree4');
    for dummy in prime_cur loop
    new_node := Ftree.Add_Tree_Node(htree,
    ftree.root_node,
    Ftree.PARENT_OFFSET,
    Ftree.LAST_CHILD,
    Ftree.EXPANDED_NODE,
    dummy.mgr_name,
    'D:\ORYX_POLYBAGS\accept',
    dummy.dept);
    for child in child_cur(dummy.dept) loop
         child_node := Ftree.Add_Tree_Node(htree,
    new_node,
    Ftree.PARENT_OFFSET,
    Ftree.LAST_CHILD,
    Ftree.EXPANDED_NODE,
    child.sub_desc||' '||'('||child.sub_code||' '||')',
    'D:\ORYX_POLYBAGS\next',
    child.sub_code);
    end loop;
    end loop;
    END;
    Rizwan Shafiq
    www.rizwanshafiq.blogspot.com

  • Can I make a crossfade loop?

    So lets say I have a minute of room ambience or mood music. I need to chop out 30 seconds and loop it totally seamless for a website—not just picking a good start and stop but grabing a little from each end and crossfading. This is something you can do in Peak and Sound Forge.
    Again, not looking to simply make a music loop but a loop that crossfades the head and tail of the clip with each other.
    Thanks

    Hi,
    you just need to add "X" to iteration number of outer loop "I" and wire the result to the number of iterations of the inner loop "N".
    Look on the diagram of attached example.
    Good luck.
    Oleg Chutko.
    Attachments:
    2loop.vi ‏19 KB

  • Is it possible to make a 2D array (or whatever-dimension) array like..

    Is it possible to make a 2D array (or whatever-dimension) array like this...
            collumn 1                   collumn 2
    Emulated Address   Real Memory address*
               (int)                            (int *)
    +----------------------+----------------------------+
    |            0                |              0xA0               | <-- row 1
    |            1                |              0xA1               | <-- row 2
    |            2                |              0xA2               | <-- row 3
    +----------------------+----------------------------+
    * A = Address.
    is it possible to make an array like that?
    if it is, please tell me how to do it...
    thanks.
    ... I'm trying to make an emulator to emulate the simplest memory.

    Given your other posts, I'm assuming you mean in C, right?
    If so, the answer is yes, but specifically how will depend on a needed clarification of your question.  What you present doesn't really need to be a 2 dimensional array, just one: that looks like a simple list of memory addresses, right?
    At the simplest you can declare an array with two dimensions `iny myarray[2][3];` but to make the table you put up there you'd only need `int *myarray[3];`
    If you also wanted space allocated somewhere that each element of that list pointed to, you could allocate them separately:
    int *myarray[3];
    myarray[0] = (int *) malloc(sizeof(int));
    myarray[1] = (int *) malloc(sizeof(int));
    myarray[2] = (int *) malloc(sizeof(int));
    Obviously with many entries this should be in a loop.  Perhaps not as obviously, why would you not just malloc a larger block of memory to start with?
    What is the end goal?
    EDIT: actually, upon rereading your question, the mallocs are probably irrelevant.  `int *myarray[3]` will get you the array you are looking for.  Just realize that until you point those pointers to memory you 'own' you shouldn't assign to or read from them.
    Last edited by Trilby (2013-04-19 10:06:31)

  • Rotating Animation with a Seamless Loop

    Hey all,
    I'm trying to do something very simple in PS CS6 that's proving to be, well, not so simple (for me at least). All I want to do is animate a layer in a clockwise direction and end up with a seamless looping animated gif. I discovered rotation can't even be animated unless you convert the layer to a smart object, first of all (and by accident. And the "Motion" function doesn't seem to work much at all, where there is a "Rotate" option.). And of course simply copy-pasting the first keyframe in the timeline to the end of the timeline just makes the layter rotate clockwise, then counterclockwise back to it's original position.
    So.. I'm sure this is a simple task for experienced animators in Photoshop, so if someone could fill me in I'd greatly appreciate it.
    Thanks!
    Andy

    Thanks for replying conroy,
    Well, PS only lets you rotate up to 180 or -180 degrees for starters, and also if I do like you suggest with 0* at the start and end, it will just cause the last rotation to turn counterclockwise back to the initial position of the smart object, which is not what I want. I want the smart object to keep rotating clockwise. But thanks anyway for the input, and maybe I've misunderstood in some way.
    In the meantime, I have actually figured out a crude way to achieve the continuous clockwise rotation of the smart object... Simply use the Shift key and rotate in 15* increments, making keyframes along the way until the layer is rotated back to it's initial position. Unless someone else has a better method, it looks like I'll have to live with that.
    Thanks again!

  • Is it possible to make consumption as 101 Q -- 543 Q.

    Is it possible to make consumption as 101 Q -->543 Q.
    Means for getting final product into Unrestricted project stcok  through subcontracting order is it possible to do default consumption as 543 Q
    Edited by: Csaba Szommer on Aug 13, 2011 5:36 PM

    Yes, you can make any kind of logic in LV. Some would say even illogic. To implement a latch or any other logic with memory you can use a while loop with a shift register. If the shift register is uninitialized (nothing wired to the left terrminal from outside the loop), it will retain the previous value. You can use case statements to control when various pieces of the logic execute. It would not be difficult to construct a flip-flop which could be type D or JK or T depending upon the value of and input selector.
    Lynn

  • For loop, possible to increment counter/exit loop?

    I would like to know if it is possible to exit a For loop. I know
    I can use a while loop but it would be nice to be able to
    increment the loop counter in a for loop. Is this possible?
    Thanks,
    Mike

    Jim,
    OK, that clears it up. Coming from VB I'm still figuring out the
    differences.
    Thanks,
    Mike
    James Morrison/Joan Lester wrote:
    >
    > Also remember you can make while loops auto index. Right pop on the tunnel
    > and enable this and the loop will then act more like a for loop.
    >
    > Jim
    >
    > "Kevin B. Kent" wrote:
    >
    > > Mike Scirocco wrote:
    > >
    > > > I would like to know if it is possible to exit a For loop. I know
    > > > I can use a while loop but it would be nice to be able to
    > > > increment the loop counter in a for loop. Is this possible?
    > > >
    > > > Thanks,
    > > > Mike
    > >
    > > No sorry it is not possible.
    > > If you need this kind of functionality you will have to use a while loop.
    > > You can then setup all manner of conditions to exit the lo
    op.
    > > Be aware that the loop will always run at least ONCE.
    > >
    > > A for loop will run X number of times. This is determined either
    > > at compile time (if the count is hard coded) or at run time
    > > (if you use auto-indexing, or the count is a variable).
    > >
    > > Kevin Kent

  • Seamlessly looping FLVPlayback video no longer seamlessly looping

    Hi,
    Back in 2009 I created seamless video loops using the FLVPlayback component and 'addEventListener' (as3)—and they worked great!  looping round and round seamlessly—equally well in browsers as in flash. The videos were of varying lengths, small (all between 50—500K), and they looped perfectly.
    Recently I've gone back to update things and noticed that my video loops are no longer seamlessly looping in any of the web browsers. Now there's a big pause interrupting the seamless flow.
      ??? why?  Has something in the delivery (browsers/flashplayer) changed?  All my video loops still run seamlessly when tested in Flash (CS5).  I spent a good amount of time investigating various angles but could not find any solution.
      Anyhow, here's the actionscript:
      stop();
      import fl.video.*;
      toggleButton.addEventListener(MouseEvent.MOUSE_OVER, rolloverToggle);
      toggleButton.addEventListener(MouseEvent.MOUSE_OUT, rolloutToggle);
      toggleButton.addEventListener(MouseEvent.CLICK, toggleClick);
      toggleButton.buttonState = "off";
          function rolloverToggle(event:MouseEvent):void {
          toggleButton.gotoAndStop(toggleButton.buttonState+" over");
          function rolloutToggle(event:MouseEvent) {
          toggleButton.gotoAndStop(toggleButton.buttonState);
          function toggleClick(event:MouseEvent):void {
              if (toggleButton.buttonState == "on") {
                  toggleButton.buttonState = "off";
             vid_16_monty.pause();
              }else {
                  toggleButton.buttonState = "on";
             vid_16_monty.play();
          vid_16_monty.addEventListener(VideoEvent.COMPLETE, rewind);
          function rewind(event:VideoEvent) {
             vid_16_monty.play();
              toggleButton.gotoAndStop(toggleButton.buttonState+" over");
    the video that goes with the above script can be viewed here:  http://www.designfail.us     cat should be in seamless motion... but it's not.
    Also, not sure it would make much difference, but I'd be happy to attach an fla file—Adobe says it's a good idea but nowhere do they tell you how to attach an fla file... very peculiar, especially in these emphatic UI/UX times we live in.

    I am wondering too, now that you mentioned it
    Here´s my EventHandler-Code:
    unit.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
    private function netStatusHandler(event:NetStatusEvent):void {
        switch (event.info.code) {
            case "NetConnection.Connect.Success":
                break;
            case "NetStream.Play.Start":
                if(!inited) {
                    inited = true;
                    NetStreamWrapper(unit.Stream).path = path;
                    width = video.videoWidth;
                    height = video.videoHeight;
                    log.info(Path+": Size of video: "+video.videoWidth+" "+video.videoHeight);
                    CalculateMemory();
                break;
            case "NetStream.Buffer.Full":
                if (!initializedStream) {
                    log.info(Path+": Pausing and rewinding stream: "+unit.Stream.time);
                    log.info(Path+": Size of video: "+video.videoWidth+" "+video.videoHeight);
                    unit.Stream.pause();
                    //NetStreamWrapper(unit.Stream).initialized = false;
                    initializedStream = true;
                    if(unit.Stream.bytesLoaded == unit.Stream.bytesTotal) {
                        SetCurrentPreparationLevel(CommittedDesiredPreparationLevel);
                break;
            case "NetStream.Seek.Notify":
                break;
            case "NetStream.Play.Stop":
                if(initializedStream) {
                    dispatchEvent(new AssetEvent(END_OF_STREAM, this));
                break;
            case "NetStream.Play.StreamNotFound":
                RaiseError("File for stream not found", event);
                break;
            case "NetStream.Seek.InvalidTime":
                log.warn("Illegal seek(should not happen, but more or less harmless)");
                break;
            case "NetStream.Seek.Complete":
                log.warn("Finished seeking");
                break;
            default:
                if(event.info.level == "error")
                    RaiseError(event.info.code, event);
                break;

  • Is it possible to make an alert message.

    Hi,
    Anyone knows if it Is possible to make an alert-message that pops up ( f.e as a little window) on a specific day to remember me of something I have to do that day?
    Would be handy.
    Is this possible with Tiger or is there a third party application that does the trick?
    Thanks in advance.

    Try a free widget called quikAlert
    http://www.apple.com/downloads/dashboard/business/qwikalert.html
    Regards
    TD

  • Is it possible to make a copy of the Leopard install DVD?

    Is it possible to make a copy of the Leopard install DVD? If so, is there a special way this has to be done? I just found out that we needed to use the Leopard install DVD to recover a complete backup from Time Machine after a recent hard drive failure. We have the family pack of Leopard, so I would like to keep the original at home and send a copy when my daughter goes off to college in case she needs to recover again. Her machine was originally a Tiger MacBook, so those install disks will not work. If it is not possible to copy the DVD, is there a way to create a bootable utility to do a time machine recovery?

    This half-solved my problem. I have had no problems creating a backup copy for my intel based computers, but non-intel based computers are problematic; a G5 powermac tower and a G4 Powerbook. Both with super drives for single density burning. Both have Leopard running, installed from an install disc purchased from Apple. However, neither will mount the copy, but intel based computers will. have burnt/burned with both toast 9 and Disc Utility. Discs won't mount and are "spit out" by the drive.
    Power Mac G5 OS X: 10.5.4
    Model Identifier: PowerMac7,3
    Processor Name: PowerPC G5 (3.0)
    Processor Speed: 2 GHz
    Number Of CPUs: 2
    L2 Cache (per CPU): 512 KB
    Memory: 1.5 GB
    Bus Speed: 1 GHz
    Boot ROM Version: 5.1.8f7
    Any thoughts?
    -Jim

  • I am trying to find out if I can change a setting of the calendar in my iPhone.   When I view calendar, in month, I would like to view it with the starting day of the week being Monday, not Sunday.  Is it possible to make this change? SS

    I am trying to find out if I can change a setting of the calendar in my iPhone. 
    When I view calendar, in month, I would like to view it with the starting day of the week being Monday, not Sunday.  Is it possible to make this change?

    Hello SMEvans32
    You can use iCloud to share the Calendar, that way she will always be up to date on that particular section of your work calendar. If you want to use iCloud, I would recommend backing up so you have a safe copy of your data.
    iCloud: Calendar sharing overview
    http://support.apple.com/kb/PH2689
    iCloud Setup
    http://www.apple.com/icloud/setup/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Top-Level Navigation Bar - Is it possible to make it 3 levels?

    Dear Portal Experts,
    Could someone please advise if it is possible to make the Top-Level Navigation Bar show more than 2 menu levels?  I looked at the document and it said we can only have 1 or 2 levels.  But I'm just wondering if there is any way around it.  Thanks.

    yes you are right .we can set only 1 0r 2 levels but good news is there is a workaround
    follow this blog
    Tag  Libraries: Creating a Hover Menu in SAP NetWeaver Portal
    reward points if helpful

  • Is it possible to make a type cast in TestStand?

    I've got the following problem.
    I use a receive function which waits for an undefined package. (struct package).
    The problem is i can't specify the module with the exaxt package.
    Generally in C i define a Pointer and create enough buffer for it. Is it the same in TestStand?
    Is it possible to make a type cast?
    for example:
    i've got these packages
    struct packet;
    struct  data;
    the function does not know which structure to receive.
    err = receive(buffer,maxlen);
    how do i specify the buffer variable?
    can i create a type "void" with a String to have enough buffer.
    and then to make a type cast, for example "Locals.dataobject = ((data)Locals.buffer)"
    any ideas?
    thx for help

    Unfortunately there is no way to do type-casts in TestStand. What you could do is write a wrapper-dll in C, that has for example two parameters for both possible structs. The dll then takes one of the parameters, does the typecast and passes it on to your original dll.
    From TestStand you can pass the struct(or better container in the "TestStand language") you want to use to the accoridng parameter of the wrapper-dll, leaving the other parameter empty or with some default-value.
    Hope this helps!
    André

  • What are the steps to make it seamless for a customer to use the install program and then use the installed program?

    I wrote an install program (.exe) that is downloaded from a website.  When run, it 1) leads a customer to browse to a directory, and 2) copies files (.exe, .dll, etc.) from a website to that directory.  When I run, the installed program works.
    What are the steps to make it seamless for a customer to use the install program and then use the installed program? 
    bhs67

    This site https://msdn.microsoft.com/en-us/library/vstudio/2kt85ked%28v=vs.110%29.aspx provides a basic description of the Visual Studio Windows Installer. 
    Near the bottom of the page is "You can unlock all the features of InstallShield by paying to upgrade to the full version of InstallShield."  Where do I find info that describes the differences between the "free" and the "full"
    versions?
    bhs67
    Hello,
    The default feature does support the task for your requirement, so there is no need to pay for the other features unless you want to use some feature which is not free.
    In addition, as this thread
    InstallShield LE not available with VS 2012 RTM? shared, even through there is a link to InstallShield LE in the New Project dialog under Deployment solutions, but it belongs to third-party that I would recommend you consider posting this issue
    at the following forum to get supports about InstallShield.
    http://community.flexerasoftware.com/forumdisplay.php?133-InstallShield
    Regards.
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for