make portinfo more concise, remove duplicated avdump of input