Chage output file duration calculation based on -ss or -t flag if present. It is currently based on input file duration.