X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=hacks%2Fstress.py;h=34fe17b0774c5e63c8033aeaafcffc44df79cc87;hb=7e6fa2a2d848f81d82d6ae5151b5ef851b4b720a;hp=4e20fa23617ee441d508082c5594eff675e31c65;hpb=fbde12105a43cddb32ef2736cafd540cc5a70dda;p=dcpomatic.git diff --git a/hacks/stress.py b/hacks/stress.py index 4e20fa236..34fe17b07 100644 --- a/hacks/stress.py +++ b/hacks/stress.py @@ -22,12 +22,11 @@ def make_repeated_play(dcp, output, plays): # Hackily ignore frames here length = int(length_parts[0]) * 3600 + int(length_parts[1]) * 60 + int(length_parts[2]) with open(output, 'w') as f: - print("O %s" % dcp, file=f) for i in range(0, plays): + print("O %s" % dcp, file=f) print("P", file=f) print("W %d" % (length * 1000), file=f) print("S", file=f) - print("K 0", file=f) make_seeks("/home/carl/DCP/Examples/BohemianRhapsody_TLR-7_S_DE-XX_DE_51_2K_TCFG_20180514_TM_IOP_OV/", "boho_seek", 64) make_repeated_play("/home/carl/DCP/Examples/BohemianRhapsody_TLR-7_S_DE-XX_DE_51_2K_TCFG_20180514_TM_IOP_OV/", "boho_long", 1000)