View Full Version : How to delete irregular duplicate frames ?
varunb
24th January 2007, 17:01
Is there any filter available that allows me to delete only certain frames from a video. Basically i have a video having irregular duplicate pattern, so i cant use decomb or tdecimate. But i have noted down the frames which I need to delete so that i can get a smooth motion output avi. I cant use trim()++trim() command as it will take a lot of time. What i want is a function like deleteframe which can delete the frame I specify in one go like deleteframe(162,166,170,183,187,....).
scharfis_brain
24th January 2007, 17:07
provide a sample, in order to check whether it is really an irregular pattern.
Guest
24th January 2007, 17:34
You have to be careful doing arbitrary frame decimation because you can ruin AV sync.
varunb
25th January 2007, 12:44
OK here's an unprocessed sample.
http://www.sendmefile.com/00498383
varunb
27th January 2007, 13:50
I m sorry if i m breaking any rule but its been a long time & no one has answered to my reply yet. Pls guyz i need some advice !
Guest
27th January 2007, 14:44
The clip is too short to draw any definitive conclusions.
Anyway, if you just remove arbitrary duplicates, you going to end up with a weird frame rate.
Finally, the dups appear to be associated with skips. And the clip is a movie so it's unlikely the base frame rate is equal to the value that deleting the duplicates would imply. How did you obtain this footage? Better to solve the problem at the source.
njahnke
2nd February 2007, 00:13
i am also experiencing this problem coming off my hollywood dv bridge (old pos but only way i have to capture pal 50 atm). one field will be duplicated from the same field in the previous frame resulting in a twitch after separatefields(). seems to be totally random which frame is affected. sample vid (after separatefields()) is here:
http://speeddemosarchive.com/demo.pl?Sonic3Knuckles_eu_SS_Sonic_4937
can check out the embedded flash or else just download h.264 mpeg-4 high quality from dreamhosters (medium and low won't work as those are half framerate to avoid the problem). can be seen quite clearly about 20 seconds into the video (approach to angel island). pattern of an affected sequence is 1 2 3 2 5.
basically just need to check whether the current frame is quite similar to the penultimate frame and if so then copy the ultimate frame to the current frame to maintain sync (-> 1 2 3 3 5). any insight would be greatly appreciated. thanks.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.