leiming2006
19th July 2007, 04:04
Dedup is an avisynth plugin, it makes the number of frames less while the video seems no change. It makes a clip VFR and it always works with MKV container.
But in fact, if fill the room of frames that it deletes with drop frames it can work with AVI container well, too. So I find a way that can make dedup work with AVI container.
There is a tool called AVIRead(AVIRead is a tool made by sswroom), can insert drop frames in a AVI by loading a script. So I make a tool to convert timecode format v2 to the script it needed (called ASC).
usage: tc2asc <timecode v2> [fps]
by default, the fps is 23.976.
after using dedup, you'll get a timecode v2 file. converting it into asc with the tool. the parameter fps is what the framerate of source is before using dedup.
After compressing, don't mux that AVI into MKV, just open it with AVIRead. then Edit->insert drop frames using script file(60fps), press the browse button and open the asc file. then press OK button. After do this, drop frames is inserted. but the framerate becomes wrong. Edit -> Change frame rate, restores its framerate to the same as source, then save the AVI file. (don't overwrite the avi file you open, it leads to error)
At last, mux the AVI file with audio. Finish!
My English is poor, so if there is anything confused please leave a comment.
download tctoasc and aviread:
http://leiming.fre3.com/2007/07/19/dedup-works-with-avi-container-guide/
edit: there is a newer and better "tc2asc" by muken-san
please consider using that.
But in fact, if fill the room of frames that it deletes with drop frames it can work with AVI container well, too. So I find a way that can make dedup work with AVI container.
There is a tool called AVIRead(AVIRead is a tool made by sswroom), can insert drop frames in a AVI by loading a script. So I make a tool to convert timecode format v2 to the script it needed (called ASC).
usage: tc2asc <timecode v2> [fps]
by default, the fps is 23.976.
after using dedup, you'll get a timecode v2 file. converting it into asc with the tool. the parameter fps is what the framerate of source is before using dedup.
After compressing, don't mux that AVI into MKV, just open it with AVIRead. then Edit->insert drop frames using script file(60fps), press the browse button and open the asc file. then press OK button. After do this, drop frames is inserted. but the framerate becomes wrong. Edit -> Change frame rate, restores its framerate to the same as source, then save the AVI file. (don't overwrite the avi file you open, it leads to error)
At last, mux the AVI file with audio. Finish!
My English is poor, so if there is anything confused please leave a comment.
download tctoasc and aviread:
http://leiming.fre3.com/2007/07/19/dedup-works-with-avi-container-guide/
edit: there is a newer and better "tc2asc" by muken-san
please consider using that.