VideoHelp Forum




+ Reply to Thread
Results 1 to 27 of 27
  1. Hi,

    I have a problem about virtualdub and aplying filters. I will try to explain the problem.

    1. I open Virtualdub (VirtualDub-1.9.11
    2. Drag and drop a picture
    3. I change the frame rate to 25
    4. I press CTRL+C on the image frame and i pressCTRL+V to paste it 24 times and make/prepare 1 second video and i apply copy and paste process again and i prepare 1 munite video whitin a few seconds
    5. I chose a filter and try to apply on the video( actually it is a project file as it is not saved yet) but the filter is only applied to the first frame but not until the end of the video.

    I want to know how i can apply filter on the whole video. I have tried other filters and also built-in ones bu the result is same. The filter is only applied /works if i save the video as avi and open it again. I use 1920x1080 photo so it becomes a 8gb uncpomressed video. I dont want to work on this huge video and i do not want to compress untill i finish all my works on the video.

    Thanks
    Quote Quote  
  2. Member Sartori's Avatar
    Join Date
    Nov 2002
    Location
    United Kingdom
    Search Comp PM
    Use a lossless codec (search the codec section) , it`ll be a fraction of the 8gb . Until you save the file as an avi , it wont apply the effect , thats how it works . If you want to see whats happening , just watch the output screen and you drag the time slider across .
    Last edited by Sartori; 25th Jan 2011 at 04:22.
    Llamas are for life , not just for christmas
    Quote Quote  
  3. Thanks for your fast reply. I was wondering if there was a way/solution for cheating or tricking that virtualdub can be able to apply the filter to all frames without saving the projest as a avi.

    I will use one of the loseless codecs in the site according to your advice . I monitor the output windows and i only see that filter is applied for the 1. frame and with the silde bar nothing changes.
    Quote Quote  
  4. He means first save it in that lossless codec, load the new AVI, and then use your filter.
    Quote Quote  
  5. Member Sartori's Avatar
    Join Date
    Nov 2002
    Location
    United Kingdom
    Search Comp PM
    That might be a glitch of using still pictures , Ive used stills like you in the past but Ive saved them as lossles avi`s (and converted to mpg separately) , so I cant recall sliding . Ive mostly used Vegas though on stills which allows a lot more flexibility of fading in / out effects on stills , Sony gave copies away with digital cameras so I got my copy from someone selling theirs on ebay - the only way I could afford it . If the project youre doing is a one off , Vegas can be used as a 30 day trial download , hope this helps .
    Llamas are for life , not just for christmas
    Quote Quote  
  6. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by frmys View Post
    I monitor the output windows and i only see that filter is applied for the 1. frame and with the silde bar nothing changes.
    What you are seeing is just the input pane.
    With a large frame size (eg from a digital photo input), it is likely that only one of the (input or output) panes will fit on the screen.
    In the View menu, select both 'Output pane' and 'Swap input/output panes'.
    (Note that deselecting 'Input pane' just stops the pane being updated, it is still shown on the screen.)

    You can also right-click on the panes to adjust their size.
    Quote Quote  
  7. First of all thanks for all your answers,

    @manono
    Yes , i have saved as a avi and after i have applied the filter. As you've all agreed that there is now way doing without saving (no way to do it in a way like "on the fly") , i will first save and than work on the video.

    @Sartori,
    Virtualdub is a great avi tool but this simple feature is not implemented in the program code is very strange. I have used it more than 10 years but mostly on Tv capture and simple avi cut-join operations. I have now completed all i want with virtualdub alsa apllied the filter.

    @Gavino
    I always right clik on the pics and make both of them %25 and vertical alignment mode for better and easy operation. I also dont understand why vertical alignment is not set up as default. Side bye side is set as default and covers all the scren area and always need to be adjusted.

    I prepare 1500 frames and i click on "play output button " on the left down corner. Only first frame is altered by the filter and the others are not. Also when i save it the video, it is not changed , i only notice the chance in a glimpse of a eye in the first frame. Is there something that i miss or forget according to you?
    Quote Quote  
  8. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by frmys View Post
    I prepare 1500 frames and i click on "play output button " on the left down corner. Only first frame is altered by the filter and the others are not. Also when i save it the video, it is not changed , i only notice the chance in a glimpse of a eye in the first frame.
    Do you inadvertently have Blend mode selected for your filter? (is there a [B] at the start of the line in the filter list?)

    I tried exactly what you described and it works for me, ie filter result is shown in the output pane without need to save first.
    Quote Quote  
  9. To make a 1 minute video from a single frame: Open your single frame. Select Video -> Frame rate... In the top section, "Source rate adjustment", tick "Change frame rate to (fps):" and set the rate to 0.01667 (1/60). In the middle section, "Frame rate conversion", tick "Convert to fps" and set the frame rate you want, 24 or 23.976.
    Quote Quote  
  10. Originally Posted by Gavino View Post
    Do you inadvertently have Blend mode selected for your filter? (is there a [B] at the start of the line in the filter list?)

    I tried exactly what you described and it works for me, ie filter result is shown in the output pane without need to save first.
    Yes i have also tried blend mode and tried curve editor but the output was the same. Filter was not apllied. Could you please tell me which filter you apply and what is the version of your Virtualdub.

    The filter that is try is shiftwrap 1.01 and i use the filter to slide the photo (from settings only continus scroll selected and Xshift value is 4 )

    http://www.softpedia.com/get/Multimedia/Video/Other-VIDEO-Tools/ShiftWrap.shtml
    Quote Quote  
  11. Originally Posted by jagabo View Post
    To make a 1 minute video from a single frame: Open your single frame. Select Video -> Frame rate... In the top section, "Source rate adjustment", tick "Change frame rate to (fps):" and set the rate to 0.01667 (1/60). In the middle section, "Frame rate conversion", tick "Convert to fps" and set the frame rate you want, 24 or 23.976.
    Your way is technically faster ans a smarter way. It takes 20seconds (i measured with a stopwatch) for me to prepare in my copy-paste way but i have the full control on this. But if i make 1 hour video it will be ready in less than 60 seconds with copy-paste method because i will copy 1 minute video and start pasting it. My method is also pretty fast .
    Quote Quote  
  12. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by frmys View Post
    The filter that is try is shiftwrap 1.01 and i use the filter to slide the photo (from settings only continus scroll selected and Xshift value is 4 )
    I had tried with the Invert filter, which worked fine.
    I downloaded and tried shiftwrap and I see your problem. It seems the continuous scroll option does not work with repeated frames like in your case - all frames are shifted by just 4, instead of the shift increasing by 4 for each frame. (It works OK if the input is a movie.)

    I think what is happening is that VirtualDub only renders the frame once and just repeats the rendered frame in the output, so the filter only gets applied once. I don't know whether this is a 'bug' or a 'feature'.
    Quote Quote  
  13. You could frameserve from one instance of VirtualDub to another. Create the minute long video in the first instance, apply the filter in the second. Or use AviSynth to convert the image to a video:

    ImageSource("filename.ext", start=0, end=1438, fps=23.976)

    Regarding whether copy/paste vs. frame rate adjustments is faster: try your method with a 20 image slideshow. Or a 5000 frame animation.
    Last edited by jagabo; 25th Jan 2011 at 10:17.
    Quote Quote  
  14. Gavino thanks for your efforts,

    I have also tried many things ,(disabling audio and sycns, setting default frame rate to 1 from settings, changing the "set range" from video menu, dinamik compilation , show filtered video etc.) but nothing worked. I think they have forget this feature or never noticed that this might be a problem.

    Anyway , i couldn't solve my problem but all i have learned some new things. Thanks to everybody for their answers.
    Quote Quote  
  15. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    The simplest solution is to use Avisynth and ImageSource, as jagabo suggested.
    But by studying the plugin source, I have found a workaround in VDub.
    Make a copy of your image and rename the two files with sequential numbers, eg image001.jpg and image002.jpg.
    Now when you drag in the first file, VDub will also import the second one, giving a two-frame video.
    Replicate only the second frame as before to extend the length as required.
    Now apply shiftwrap and ... it works!!!

    Explanation: the plugin checks the input frame number and sets the initial shift when rendering frame 0, so if frame 0 is repeated, the shift is always the same. By repeating frame 1, the plugin does not reset the shift and continues incrementing it for each repetition.
    Quote Quote  
  16. Originally Posted by Gavino View Post
    Explanation: the plugin checks the input frame number and sets the initial shift when rendering frame 0, so if frame 0 is repeated, the shift is always the same. By repeating frame 1, the plugin does not reset the shift and continues incrementing it for each repetition.
    Nice sleuthing!
    Quote Quote  
  17. Dear jagabo,

    I am not used to AVS scripts.
    I know that AVS is great if you know the script language and you can mek every kind of video alteration with. I have only used it inside an other editor which makes all the necessery changes in the background.

    Dear Gavino ,

    Thanks again. At last i have managed to see a little movement in the shift filter. But i have a problem. For example
    I have copied my source picture file and named it as 002.
    When i have dragged the picture inside Virtualdub, it has also loaded the second file.
    I have copy paste in all possible ways and make 10 frames.
    I have not succesfully manage to copy and paste the 2. frame.
    The result was :
    1. Frame shifted, 2. Frame not shifted , 3. Not shifted ...........10. Shifted
    The frames between 2-9 are just as the same previous stuation that you have find a way to shift frames.

    I have also tried with 001 ,002, and 003 image sequence but not suceeded.
    How could you manage to copy/insert frames between 2-9 in a working way? I have used simple CTRL+C , CTRL+V from keyboard, used Selction Start and End from Virtualdub menu.
    Quote Quote  
  18. Use File -> Open Video File... select the first image. VirtualDub will automatically append sequentially numbered images.
    Quote Quote  
  19. Originally Posted by jagabo View Post
    Use File -> Open Video File... select the first image. VirtualDub will automatically append sequentially numbered images.
    This part is ok. I have 2 files automaticly loaded, no problem with this. The problem is that i can not copy 2. frame as Gavino. He managed to to copy 2. frame and filter to be applied to all frames.
    Quote Quote  
  20. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by frmys View Post
    How could you manage to copy/insert frames between 2-9 in a working way? I have used simple CTRL+C , CTRL+V from keyboard, used Selction Start and End from Virtualdub menu.
    Start with the two frames from the two image files.
    Move the slider to frame 1 (the second frame) and press 'Home' (or Selection Start from the menu).
    Move the slider to frame 2 (ie dummy frame at end of video) and press 'End' (or Selection End from the menu).
    Now press Ctrl-C, followed by as many Ctrl-V's as you need.

    Once you've added a few frames, you can of course select frames 1-end and repeat to copy more frames at each stage.

    It's important not to ever copy the first frame (frame 0), as every time it (or a copy of it) is rendered, the shift is reset to its initial value.
    Quote Quote  
  21. Dear Gavino ,

    Sory for bothering you with my stupid problem. Your explanation for copy-paste is not working with Virtualdub 1.9.11.

    I have now tired with VirtualdubMpeg 1.6.19 and your method works 100%. I will download old versions of Virtualdub, maybe i find a proper working one. There is a bug or lack of something in 1.9.11 version.
    Quote Quote  
  22. Last findings :
    Virtualdub 1.9.11 : Not working
    Virtualdub 1.9.10 : Not working
    Virtualdub 1.8.8 : Working
    Virtualdub 1.8.5 : Working

    It seems like it is not working with 1.9x but works fine with 1.8x
    Quote Quote  
  23. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    I had been using v1.8.6.
    I updated to 1.9.11 and found that, as you say, my workaround no longer works.
    It looks like VirtualDub now only passes each input frame once through the filter chain, so frames copied on the timeline just get their output repeated rather than being filtered again (which is what I was originally thinking at post #12).
    Arguably, that is the 'correct' thing to do, but it means that shiftwrap's continuous scroll option does not work as you might expect, when input frames are repeated on the timeline.

    Seems you will either have to use v1.8.x or switch to the Avisynth solution.
    Quote Quote  
  24. Just frame serve from one instance VirtualDub to another. It's easy and it works with ShiftWrap. Be sure to run AuxSetup.exe once on your system to enable VirtualDub's frame server.

    1) Open your image in the first instance of VirtualDub.
    2) Make it a one minute video via copy/paste or changing the frame rate parameters.
    3) Select File -> Start Frame Server. It will ask for a filename, use WHATEVER.VDR.
    4) Start another instance of VirtualDub.
    5) In the new instance use File -> Open Video File... select the file you created in step 3.
    6) Add the ShiftWrap filter and configure it. Configure compression settings, etc.
    7) File -> Save as AVI.

    Frame serving is the passing of uncompressed video frames directly from one program to another.
    Last edited by jagabo; 25th Jan 2011 at 20:25.
    Quote Quote  
  25. Dear jagabo ,

    Your method is also working with Virtualdub 1.9.11

    Yesterday i have tried to save the file as avi with the 1. Virtualdub which works as a frame server and i opened with the 2. instance of Virtualdub and the filter was not working.

    Today i have tried with a different way from your advice.

    1. I have only started the 1. Virtualdub and drag the picture on it and start frame server. To save the file as a avi or vdr is not important because both works fine.

    2. I have opened 2. Virtualdub and aplly the filter from this and the filter is applied and the picture is shifted by the filter

    If you apply the filter in the 1. Virtualdub and want to see the result in the 2. Virtualdub is not a working way.

    Many thanks to both of you. I have solved my problem and learn a lot of new things by your help.
    Quote Quote  
  26. Member
    Join Date
    Nov 2002
    Location
    United States
    Search Comp PM
    Why not just use Irfanview or any photo software and make copies of the picture and name them 01.bmp, 02.bmp, 03.bmp, 04.bmp etc and load them as a video? That is the preferred method for most Virtualdub users.

    I also thought Jagabo's idea of...

    To make a 1 minute video from a single frame: Open your single frame. Select Video -> Frame rate... In the top section, "Source rate adjustment", tick "Change frame rate to (fps):" and set the rate to 0.01667 (1/60). In the middle section, "Frame rate conversion", tick "Convert to fps" and set the frame rate you want, 24 or 23.976.
    ...and then filtering that AVI was a good idea.
    Quote Quote  
  27. Dear DarrellS ,

    It was an issue related with virtualdub version. Now the problem is solved. Everythings works fine in 2 differents ways with Gavino's and jagabo's advices.

    I have started a new thread about streaming desktop to hdtv under DNLA platform. Aim is to make wireless monitor connection between HDTV and PC usinh wireless modem and under DNLA platform. Here is the link :

    https://forum.videohelp.com/threads/331160-Streaming-PC-Desktop-To-HDTV
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!