Dedup works with AVI container GUIDE
Thursday, July 19th, 2007Dedup 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.
below is the translation of niiyan-san (part).
DeDup プラグインを AVI フォーマットで使用する手順(Leiming’s media-related blog » Blog Archive » Dedup works with AVI container GUIDE より)
i.DeDup を使用し、timecode v2 を作成。
ii.tc2asc を使って、timecode v2 を asc ファイルに変換。
iii.圧縮後、AVI を MKV には格納せず、AVIRead で開く。
iv.Edit -> insert drop frames using script file(60fps) -> Browse ボタンを押して asc ファイルを開き、OK ボタンを押す。
v.ドロップフレームが挿入されるが、ただしフレームレートが間違っているので、Edit -> Change frame rate でフレームレートをソースと同じに戻す。
vi.AVI ファイルを保存(開いたファイルを上書きしないこと)。
vii.AVI ファイルを音声と合成する。
tc2asc の使用法
tc2asc [fps] <timecode>
fps のデフォルトは 23.976。