|
|
| virtualdumb |
| Posted: Jan 19 2003, 10:56 PM |
 |
|
Unregistered

|
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? |
 |
| Morsa |
| Posted: Jan 19 2003, 11:02 PM |
 |
|
Moderator of the Vdub support board
  
Group: Moderators
Posts: 640
Member No.: 246
Joined: 9-September 02

|
There is a filter at Donald Graft's page that performs that task. |
 |
| virtualdumb |
| Posted: Jan 20 2003, 12:14 AM |
 |
|
Unregistered

|
ooh thank you...nice thing that was, but it's missing the fundamental function i need: deleting the duplicate frames. |
 |
| ChristianHJW |
| Posted: Jan 20 2003, 09:27 AM |
 |
|
Advanced Member
  
Group: Moderators
Posts: 1768
Member No.: 2
Joined: 7-July 02

|
'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 ?
-------------------- Visit the unofficial Virtualdub support forum on http://forums.virtualdub.org - help to reduce the big number of emails Avery Lee is getting every day !! Support matroska as container and Gstreamer as the only truely open, x-platform multimedia platform .... |
 |
| virtualdumb |
| Posted: Jan 20 2003, 08:25 PM |
 |
|
Unregistered

|
'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. |
 |
| virtualdumb |
| Posted: Jan 20 2003, 08:43 PM |
 |
|
Unregistered

|
I guess Decimate it the only thing i can use for this. |
 |
| fccHandler |
| Posted: Jan 20 2003, 08:49 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
IIRC, Donald Graft has a "Dup" plugin filter for Avisynth which will remove duplicate frames.
-------------------- May the FOURCC be with you... |
 |
| jcsston |
| Posted: Jan 20 2003, 09:43 PM |
 |
|
Matroska Dev
  
Group: Moderators
Posts: 553
Member No.: 652
Joined: 3-November 02

|
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 I cannot think of anything that would do it.
-------------------- Use the Matroska file format |
 |
| virtualdumb |
| Posted: Jan 20 2003, 09:51 PM |
 |
|
Unregistered

|
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. |
 |
| virtualdumb |
| Posted: Jan 20 2003, 09:55 PM |
 |
|
Unregistered

|
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 |
 |
| virtualdumb |
| Posted: Jan 23 2003, 08:18 AM |
 |
|
Unregistered

|
Donald replied to my email. He might make something to take care of this little(big?!) problem. |
 |
| movmasty |
| Posted: Feb 4 2003, 03:51 AM |
 |
|
Unregistered

|
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. |
 |