SHOW:
|
|
- or go back to the newest paste.
1 | function myFFInfo(clip c, string "bonusText") { | |
2 | ||
3 | varprefix = FFVAR_PREFIX | |
4 | bonusText = default(bonusText, "") | |
5 | ||
6 | c.frameevaluate(""" | |
7 | fftempstring = "" | |
8 | varprefix = """" + varprefix + """" | |
9 | bonusText = """" + bonusText + """"""") | |
10 | ||
11 | frameevaluate("""fftempstring = fftempstring + "Frame Number: " + string(current_frame) + " of " + string(framecount()) + "\n" """, after_frame=true) | |
12 | frameevaluate("""fftempstring = fftempstring + "Picture Type: " + chr(eval(varprefix + "FFPICT_TYPE")) + "\n" """, after_frame=true) | |
13 | frameevaluate("""fftempstring = fftempstring + bonusText """, after_frame=true) | |
14 | ||
15 | return scriptclip("subtitle(fftempstring, lsp = 1)", after_frame=true) | |
16 | ||
17 | } |