| Printable Version of Topic
Click here to view this topic in its original format |
| Unofficial VirtualDub Support Forums > Advanced Video Processing > Removing Duplicate Frames In Avi |
| Posted by: virtualdumb Jan 19 2003, 10:56 PM |
| How do i remove duplicate frames using virtualdub? I have an uncompressed .avi about 4gigs big. My problem is most of the frames in there are duplicates. I just want the nonduplicates to stay in the avi. I'm not worrying about the timing/frame rate and all that. I just want to get rid of the duplicates. Any ideas how to do that? |
| Posted by: Morsa Jan 19 2003, 11:02 PM |
| There is a filter at Donald Graft's page that performs that task. |
| Posted by: virtualdumb Jan 20 2003, 12:14 AM |
| ooh thank you...nice thing that was, but it's missing the fundamental function i need: deleting the duplicate frames. |
| Posted by: ChristianHJW Jan 20 2003, 09:27 AM |
| 'This thing' ?? Donald has a few dozen filters on his page, and for sure there is one that can do this. What filter have you found ? |
| Posted by: virtualdumb Jan 20 2003, 08:25 PM |
| 'this thing' = filter/plug-in.. i got confused what to call it. Sorry.. I got the Duplicate detector, but it only detects and not deletes duplicates. I tried the Decimate plug-in/filter, but I'm afraid it's also going to take out non-duplicate frames. Has anyone done this? I was hoping this was a relatively easy thing to do..turned out it's not. |
| Posted by: virtualdumb Jan 20 2003, 08:43 PM |
| I guess Decimate it the only thing i can use for this. |
| Posted by: fccHandler Jan 20 2003, 08:49 PM |
| IIRC, Donald Graft has a "Dup" plugin filter for Avisynth which will remove duplicate frames. |
| Posted by: jcsston Jan 20 2003, 09:43 PM |
| The 'Dup' filter for AviSynth doesn't really remove duplicate frames. It compares the difference between two frames and if they are similar enough it replaces the second frame with the first frame, increasing compressibility. I thought this would be easy too |
| Posted by: virtualdumb Jan 20 2003, 09:51 PM |
| from what i understand, that plugin only blends the "duplicate"** frames but doesn't take them out. In the original version, I think the original frame is copied inplace of the "duplicate"** frames. That only allows better compression because the little variances from frame to frame are eliminated all together. ** = duplicate being the frames which actually vary some due to noise. |
| Posted by: virtualdumb Jan 20 2003, 09:55 PM |
| I've made a script utilizing PHP's md5() function and MySQL using .bmp sequences of .avi files before. It's the best thing that worked for me, but with a file with 500,000+ frames, I don't think my method is very practical. I've seen programs(limited shareware..yuck) that did what I want but they usually crashed |
| Posted by: virtualdumb Jan 23 2003, 08:18 AM |
| Donald replied to my email. He might make something to take care of this little(big?!) problem. |
| Posted by: movmasty Feb 4 2003, 03:51 AM |
| where do you think all those duplicate frames come from? sometimes are avis at 15fps encoded in mpg at 30 if so decimate by 2 will resolve. |