Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
16th July 2010, 13:27 | #1 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,352
|
custom frame dropping
I would like to know how to drop ocasional corrupt frames. I thought of modifying the .txts from multidecimate but it comes to be a huge load of work.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
16th July 2010, 15:32 | #3 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,352
|
yes, I always wondered how avisynth looking a so powerful tool couldnt handle sample tasks like this. Im more worried on the visual aspect rather than audio, normally I edit audio to sync with content, although I work a lot with no audio content. thanks for freezeframe it may work, although creating a stutter. Something like Drop(frame=13540) would be really cool.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
16th July 2010, 15:52 | #4 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
It's not a deficiency of Avisynth but rather of your creativity in using it.
This will drop frames and the audio for them: Trim(0,a-1) ++ Trim(b+1,0) It's cumbersome but you can use it to make a Drop() function as you describe (exercise for student). Better to support a range as above than a single frame. |
16th July 2010, 17:28 | #5 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,352
|
Creativity is not the problem, RAM is. You havent discovered anything, only a workaround I dont want to deal with because I suspect it's a performance killer. but thanks for the input, will check anyway.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
16th July 2010, 17:30 | #6 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Quote:
And BTW, if you don't care about audio, there is DeleteFrame(). |
|
16th July 2010, 17:35 | #7 | Link |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
It's called DeleteFrame.
Will even do a list of frames, eg DeleteFrame(3, 9, 21, 42) It doesn't modify the sound track, so you'll want neuron2's suggestion if you need to preserve audio sync. Ah, I see neuron2 has addressed that too now. What was that about 'great minds..." Last edited by Gavino; 16th July 2010 at 17:37. |
16th July 2010, 17:37 | #8 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,352
|
That is all I was aking for.
PD: just in time, thank you too Gavino!!
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
16th July 2010, 18:21 | #11 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,352
|
I suggest you to dont look down people you dont know.
And... Reorganize (suggest) the documentation for better searching. Gavino: I had in mind that triming was keeping in cache (RAM) the range to be joint with other trims, like variables do.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
16th July 2010, 19:44 | #12 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Don't make it personal buddy, I'm not looking down on you. It's always a good idea to read documentation before jumping to erroneous conclusions.
The documentation is superbly organized, in my view. Last edited by Guest; 16th July 2010 at 19:48. |
16th July 2010, 20:22 | #13 | Link | ||
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
Quote:
Quote:
If you already know the filter name, but want more details, a useful alphabetic index is here. And of course the documentation installed on your hard disk has similar info. |
||
16th July 2010, 20:44 | #14 | Link | |
Registered User
Join Date: Nov 2009
Posts: 2,352
|
Quote:
I actually searched on google/doom9: remove/delete/drop frames avisynth, and looked into external filters (I have it on my favourites). I didnt think it was internal, but after almost 1 hour searching, I thought it was easier to just ask (As easy it is for me to reply)
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
|
17th July 2010, 23:30 | #16 | Link | |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
Quote:
I overlooked this yesterday - still trying to get my brain in gear after the World Cup celebrations. Dogway. ) Last edited by Guest; 18th July 2010 at 03:49. Reason: 13 |
|
18th July 2010, 03:47 | #17 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,352
|
@Gavino:
Finally I used Deleteframe, its better for random frames deletion, although I had to install v2.58. I know there are many ways for doing the same, only this came to be the fastest for my purposes. Hope next time somebody finds out this thread when searching for delete frame on avisynth: I wont misslook the internal filters either... : D
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread Last edited by Guest; 18th July 2010 at 03:49. Reason: 13 |
18th July 2010, 23:38 | #20 | Link | |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
Quote:
Or define a wrapper function for it with a name of your choice, eg Code:
function DeleteFrameA(clip c, int frame) { c.Loop(0, frame, frame) } |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|