|
|
| FrameMan |
| Posted: Nov 4 2002, 02:29 PM |
 |
|
Unregistered

|
Hi I need a filter for VirtualDub that would exchange single frame (stored as BMP files) with frame number X. More precisely: having video as: Frame1, Frame2, ..., FrameN
Exchange Frame2 with frame stored in BMP file:
Frame1, Frame from BMP, Frame3, ..., FrameN
This BMP file would have exactly the same size as other frames in the video. This filter would allow for something like: copy current frame to clipboard, run Your favourite image editing program, edit this frame, save it as BMP, insert it back into the video, recompress the video.
If You know any filter that does it, let me know, please...
ps. I have never posted anything enywhere, so if I am doing something wrong - let me know. |
 |
| Morsa |
| Posted: Nov 4 2002, 02:39 PM |
 |
|
Moderator of the Vdub support board
  
Group: Moderators
Posts: 640
Member No.: 246
Joined: 9-September 02

|
You don´t need a filter to do that!! just split into an image sequence the video fragment you need, retouch the frames you want, and open the video sequence again with Vdub, append the rest of your video and recompress. For this task you should use VirtualdubAVS&OGM which has PNG support appart from BMP.( 65% less storage space)
http://www.cyrius.bunkus.org |
 |
| FrameMan |
| Posted: Nov 4 2002, 02:53 PM |
 |
|
Unregistered

|
| QUOTE (Morsa @ Nov 4 2002, 08:39 AM) | You don´t need a filter to do that!! just split into an image sequence the video fragment you need, retouch the frames you want, and open the video sequence again with Vdub, append the rest of your video and recompress. |
I agree. But I do not want to use the image sequence. It is much more difficoult than it is worth. If I want to change a single frame (numbered "k") then I must (with Your approach): 1. Save the sound into file.wav 2. Break the entire video into 2 videos: file1.avi: Frame1, Frame2, ..., Frame k-1 and file2.avi: Frame k+1, Frame k+2,..., last frame getting rid of the sound in both files (otherwise VDub will not append them in step 4) 3. Make a single-frame video from the BMP file (let's call it file3.avi) 4. Open file1.avi, append file3.avi, append file2.avi 5. Add sound file "file.wav" 5. Recompress the video. I know, it can easier be done with AviSynth but I do not know if this process can be fully automated. |
 |
| Spire |
| Posted: Nov 4 2002, 03:03 PM |
 |
|
Unregistered

|
You can use Donald Graft's Logo Filter to do this. For each frame you want to replace, create a new instance of the filter, then load the .BMP file, set the Starting Frame to the number of the frame you want to replace, set the Duration to 1, set Alpha Blending to 255, and disable Transparent Color. |
 |
| Morsa |
| Posted: Nov 5 2002, 01:25 AM |
 |
|
Moderator of the Vdub support board
  
Group: Moderators
Posts: 640
Member No.: 246
Joined: 9-September 02

|
I agree. But I do not want to use the image sequence. It is much more difficoult than it is worth. If I want to change a single frame (numbered "k") then I must (with Your approach):
@1. Save the sound into file.wav YES
@2. Break the entire video into 2 videos: Nop, just a large image sequence.. @ getting rid of the sound in both files (otherwise VDub will not append them in step 4)
You only need one wav file, so after you open and append several video sequences, you open the wav file and , voilá!!
@3. Make a single-frame video from the BMP file (let's call it file3.avi) What for???
@4. Open file1.avi, append file3.avi, append file2.avi Forget about this....
5. Add sound file "file.wav" 5. Recompress the video.
Is it more clear?? regards. |
 |
| FrameMan |
| Posted: Nov 5 2002, 09:36 AM |
 |
|
Unregistered

|
Thank You very much! It works like magic! |
 |
| dphirschler |
| Posted: Jan 22 2003, 10:46 PM |
 |
|
Unregistered

|
> You can use Donald Graft's Logo Filter to do this.
I would have never thought of that. Great idea.
Darryl |
 |
|