NUM_SEEDS=1 # number of random graphs to generate for the test. Note that MAX values will be averaged amond runs with different seeds SEEDs=`seq 1 1 $NUM_SEEDS` NUM_PEERSs=1000 # number of peers, including the source DEGREEs=20 MEANBWs=1.0 # mean bandwidth. 1:critical regime; <1:overload regime >1:undeload regime PEERSCLASS1s=0 # ratio of peers in the first class MEANCLASS1s=1.0 # BW of peers in the first class. It can be calcualted based on MEANBW = PC1*MC1 + (1-PC1)*MC2 PEERSCLASS2s=1 MEANCLASS2s=1.0 VARIANCERATEs=0 NUM_CHUNKSs=1000 # number of chunks FIRST_CHUNK=0.001 #a small initial transient LAST_CHUNK=0.9 SCHED_ORDERs="C_P" CSCHEDs="LUc" # chunk scheduling alogorithms used PSCHEDs="RUp" # peer scheduling alogorithms used PSNR_EVERY=100 VIDEORATEs="0.7 0.8 0.9 1.0 1.1" #PSNR_CODER='-f mpeg1video -vcodec mpeg1video -g 12 -bf 1 -b ${VIDEORATE}M ' #PSNR_CODER='-f mpeg2video -vcodec mpeg2video -g 12 -bf 1 -b ${VIDEORATE}M ' #PSNR_CODER='-f m4v -vcodec mpeg4 -g 12 -bf 1 -b ${VIDEORATE}M ' #PSNR_CODER='-f h263 -vcodec h263 -g 12 -b ${VIDEORATE}M ' #PSNR_CODER='-f h264 -vcodec libx264 -vpre libx264-default -keyint_min 12 -g 12 -b ${VIDEORATE}M ' PSNR_CODER='-f h264 -vcodec libx264 -vpre ${FFDIR}/ffpresets/libx264-default.ffpreset -keyint_min 12 -g 12 -b ${VIDEORATE}M ' PLAYOUT_DEADLINEs="12 16 22 30" XLABEL="\"video rate\"" XSHORTNAME=videorate XINDEX=$(linehead_index VIDEORATE) PLOTTITLE='Effect of video rate and playout delay for $CSCHEDs/$PSCHEDs\n homogenous bandwith, set to $MEANBWs \n peers=$NUM_PEERSs; degree=$DEGREEs; chunks=$NUM_CHUNKSs; iterations=$NUM_ITERATIONS; seeds=$NUM_SEEDS' GNUPLOT_XTRA="" CURVEVARS="PLAYOUT_DEADLINE" #variables to use to differentiate curves