Is there a way to remove dropped frames in one go or in an automatic way? I've been looking around the web and I can't believe there's not much talk about it.
I do ingame movie capture with FRAPS and when the computer lag it produce some dropped frames when the FPS goes lower than the specified constant FPS.
Right now I'm using premiere to cut and edit my movies and I suppress the dropped frames manually but it a tedious task for long movies and a high number of clips.
I heard about some decimate filters thing but it only work when the dropped frames follow a pattern, which can't be my case because the dropped frames are completely random depending on the performances the computer captured the clips at their moments.
Any ideas?
TIA
+ Reply to Thread
Results 1 to 28 of 28
-
-
Do you mean 'dropped' frames, or 'duplicate' frames. If they've been dropped they've already been removed.
If you mean duplicate frames, there are several ways to do this, but it's at the risk of losing audio synch. Maybe you don't care about that. One way is with AviSynth's MultiDecimate filter by Donald Graft:
http://neuron2.net/multidecimate/multidecimate.html -
Hi thanks for the response.
About Dropped frames or dupes, in Premiere's properties they show up as dropped frames but the frames remains duplicate in the timeline.
I don't know AviSynt, I tried to download it from your link but the program does'nt install correctly it have no .exe. There's only the uninstall .exe
Thanks for the helpLast edited by Jonz; 26th May 2012 at 13:51.
-
If the frames are absolute duplicates, it'll be easy to remove, but if they are random then you will lose audio sync unless you make the video VFR.
-
You forget about the sounds, I can sort this problem. I removed many frames manually to figure it have no impacts on my movies the way I edit them in Premiere.
-
https://forum.videohelp.com/threads/346031-Deleting-duplicate-frames-on-clip?p=2161292
But he's looking to cut the corresponding audio segment as well. There is no filter in avisynth for that
If you cut out video frames, but not audio, it will go out of sync. So this is basically useless for you
If you make it VFR, you cannot edit it in premiere . You can only make VFR after you've edited it and exported from premiere (premiere doesn't read VFR timecodes)
I would just get a faster GPU/ CPU /hardware and/or play at lower resolution so there are no drops -
Like I said, I can sort the audio. I could only care about the video and it will be fine. Upgrade?? lol I got the most recent hardware. But anyway that doesn't answer my current question.
-
Recent hardware? They why are you dropping frames? or lagging? What is your recording setup? to single HDD ? What FPS are you recording ?
Avisynth is script driven. You basically write a text file and frameserve it into premiere, or encode it into a lossless video for import into premiere
http://avisynth.org/mediawiki/Main_Page#New_to_AviSynth_-_start_here -
hmm, is there something more graphical interface available? I'm not really into programming stuff
-
Yes, I too was looking for a deldup tool that affects audio a while ago. I oughta revisit that thread because people misunderstood the problem.
I don't think this guy understands what really happens when frames are dropped without dropping audio, though. He says he can deal with it, but if the duplicates are indeed random, he'll have a lot of fun fixing the audio manually or just... removing duplicates manually in Premiere... oh wait, back to where he started. -
Me too... I looked hard, it would be a useful function.
I don't think this guy understands what really happens when frames are dropped without dropping audio, though. He says he can deal with it, but if the duplicates are indeed random, he'll have a lot of fun fixing the audio manually or just... removing duplicates manually in Premiere... oh wait, back to where he started. -
well what if I deal with this in the past without problem? All I do is to cut the missing frame (as well the audio) and pull the remaining clip into the deleted spot... As long the clips has enough steady FPS there's no noticeable impact on the sound and frame rate. It just tedious to do it for every clip if the project is huge.
-
Yes, that works, because you're cutting video AND audio. There will be a "glitch" where you make the cuts, but everything is in sync and lined up
But the approach with avisynth mentioned doesn't do that. They decimate duplicate video frames , not audio. Even a few frames missing is easily detectable and will shift everything out of sync, forget about multiple sections - trust me this won't work for you, unless you have a no audio project , or you intend to keep the audio as is (for a VFR project) -
well if a program do it with the video, even with unsynced audio I'll be happy. I always find a way around it, most of the time I replace by another sample anyway, but the most important is the video.
-
Whatever you say. You have an option to use the MultiDecimate filter by neuron2 or DeDup. Both require avisynth.
I recommend DeDup, so download dedup.dll and put it in the plugins folder in your Avisynth directory.
Make a new file with .AVS extension, open with Notepad. Type in the following content and save. Edit accordingly.
Code:LoadPlugin("C:\Program Files\avisynth 2.5\plugins\dedup.dll") avisource("C:\video.avi") DupMC(log="log.txt") #DeDup(threshold=0.00001, trigger2=100, show=false, dec=true, maxcopies=20, maxdrops=20, log="log.txt", times="times.txt")
You now have a log.txt file in the same directory as your video. Open the AVS with notepad again, this time prepend a # to the DupMC line and remove the one behind DeDup. Save and close. Open AVS with Premiere. The duplicates are gone, yeehaw! -
I did google but I get nothing but the kind of "is this file a virus" web pages or anything that doesn't seems to relate.
Edit: I think I got it, I found it there: http://avisynth.org/warpenterprises/
I did create an AVS file and I don't know how to open it in Premiere now. I tried import and says file not supported. How I am supposed to open it?Last edited by Jonz; 26th May 2012 at 18:09.
-
Are you sure???? It will actually be WAY more work trying to sync it up than doing what you did before
If it's just background audio track (not in the video game sounds), and you replace the entire audio - then it might be ok
You can look at the log file - so you can identify sections with duplicates - this way you can manually do it in premiere , but you have a list ahead of time where the dup sections are
I think you should ask yourself why you are getting these duplicates in the first place instead of trying a half ass fix -
For CS4 and below use the premiere avs import plugin for
http://videoeditorskit.sourceforge.net/
for CS5, you need 64bit avisynth + 64bit plugin
http://pwolfamv.com/programs/csavs64/
Or use avisynth virtual file system (avfs)
You need to run 2 passes for dedup, I would run the first pass in vdub (file=>video analysis pass), it will be faster than premiere . Read the instructions on how to tweak the settings for dedup -
Most of the time the frames I had to cut were so minimal that I just need to speed upt the sound or just scrub the audio. I deal with footages that are like 30-1 minute long so there's no noticeable iches. The only problem sometimes is when I deal with characters talking but I rarely focus on that.
You can see them in Premiere without refering to any log. Just right click the clip and get properties, you have a graph with a timeline showing where there's drop frames and it pretty accurate.
By upgrading? sorry but that's sounds more like trouble than a fix. And there's no guaranties to whatever I upgrade or lower settings to get rid of drop frames in any way. I could record with the most powerful computer in the world but that wouldn't certify a capture without dropping frames which can be to caused to any random factors.Last edited by Jonz; 26th May 2012 at 18:33.
-
I'm just asking why are you getting drops? You didn't answer any of the other questions asked or provide any more info
Put it this way: many people use fraps and other recording software without issues. Why are you getting these problems ?
When those people come here or on other boards to complain - 99% of the problems can be explained from inadequate hardware or too high settings. If it's the 1%, then it's something else like storage issue (eg. Fragged HDD), or maybe it was online game and you had lag - but those are very specific . I think it's worth investigating, that's all. Surely it's worth considering and probably less work than learning avisynth or doing it manually in premiere -
Other people maybe lying? For every games I have recorded, dropping frames were always there, no matter which config I had or computer. Understand me I don't always have drops. Sometime it just because of unoptimized games or random read write in the computer that I have no control over. But because I can't relive the moment I have captured the clip the only thing I can do is to optimize the clips.
I don't want to discuss about it anymore because it not what the topic is about.
Back to topic, I have managed to install the plugin but I get this:
I don't understand thought, the path is correct but it still cannot locate the .dll? -
I'm just asking why are you getting drops? You didn't answer any of the other questions asked or provide any more info
Put it this way: many people use fraps and other recording software without issues. Why are you getting these problems ?
When those people come here or on other boards to complain - 99% of the problems can be explained from inadequate hardware or too high settings. If it's the 1%, then it's something else like storage issue (eg. Fragged HDD), or maybe it was online game and you had lag - but those are very specific . I think it's worth investigating, that's all. Surely it's worth considering and probably less work than learning avisynth or doing it manually in premiere
The OP should too. -
This is the key information
If it didn't go lower than the minimum FPS, there wouldn't be an issue would there?
So why are you lagging?
If you reduce the quality settings and resolution (thus get higher ingame FPS) and the minimum FPS NEVER drops below the recording FPS then there should be no lag or recording issues . Just do some quick tests. This will tell you if you have to upgrade or not, or play at lower settings
If it's some other factor (maybe your internet connection is bad for online game), or HDD issue, etc... but you have to provide more info
Other people maybe lying? For every games I have recorded, dropping frames were always there, no matter which config I had or computer. Understand me I don't always have drops. Sometime it just because of unoptimized games or random read write in the computer that I have no control over. But because I can't relive the moment I have captured the clip the only thing I can do is to optimize the clip.
There's other stuff you can do too, like turn off scheduled tasks, uncessary processes (e.g. if you have a virus scan in the middle of a game = bad) , etc... -
OK fine, I'm just saying it's usually better to fix the underlying problem (for anything, not just video) than to go looking for other approaches..
Did you run the pass in vdub ? did it give you an error message? Why is there a question mark in the error message for the path?
(\\?\C:\Program Files
-
Thank you,
I get the similar message in vdub:
http://prntscr.com/9qjo2
Code:LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DeDup.dll") avisource("H:\DXTORY\test.avi") DupMC(log="log.txt") #DeDup(threshold=0.00001, trigger2=100, show=false, dec=true, maxcopies=20, maxdrops=20, log="log.txt", times="times.txt"
http://prntscr.com/9qjuh
Similar Threads
-
Virtualdub VCR capture no dropped frames but 5400 inserted frames in 1 hour
By suloku in forum Capturing and VCRReplies: 12Last Post: 17th Aug 2011, 22:33 -
Dropped Frames
By SudsMalone in forum Capturing and VCRReplies: 4Last Post: 21st Feb 2011, 05:31 -
subtitle workshop automatic delete lines with numbers only
By newnews in forum SubtitleReplies: 3Last Post: 20th Aug 2008, 11:53 -
Dropped Frames
By dano404 in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 2Last Post: 8th Mar 2008, 13:57 -
inserted frames without dropped frames in VirtualDub capturing VHS
By whschlebaum in forum Capturing and VCRReplies: 0Last Post: 23rd Aug 2007, 20:59