mf
30th October 2003, 16:56
Lots of anime raws have screwed up scenechanges (though most encoders simply ignore them cause it's too much work to fix), so I have to manually check it all, and then replace them. The checking isn't so hard, but the replacing is. I have to create a Trim() and Splice() line for every frame replaced. So my idea is to be able to do this:
Mark(1234)
Mark(1432)
etc, and then use IsMarked() as a conditional filter to replace every marked frame with the following frame.
So I ask in the name of the l33t encoders who replace ugly frames, please implement this! :D
Thanks. :)
Edit: In the meantime I've fixed it with this:
function RWNext(clip clip, int frame) {
replacement = clip.Trim(frame+2, frame+2)
before = clip.Trim(0, frame)
after = clip.Trim(frame+2, 0)
final = before+replacement+after
return final
}
Of course, that doesn't mean a Mark() function isn't a welcome addition to AVISynth :D.
PS: 777 posts! I'm holy now :D.
Mark(1234)
Mark(1432)
etc, and then use IsMarked() as a conditional filter to replace every marked frame with the following frame.
So I ask in the name of the l33t encoders who replace ugly frames, please implement this! :D
Thanks. :)
Edit: In the meantime I've fixed it with this:
function RWNext(clip clip, int frame) {
replacement = clip.Trim(frame+2, frame+2)
before = clip.Trim(0, frame)
after = clip.Trim(frame+2, 0)
final = before+replacement+after
return final
}
Of course, that doesn't mean a Mark() function isn't a welcome addition to AVISynth :D.
PS: 777 posts! I'm holy now :D.