Also add support for format tags. Also change default fragment_duration to 10s, i.e. to have the same value as --segment_duration. So by default, only one fragment per (sub)segment is generated. Change-Id: I21123723c3998b656037a397eb7b58b3d91721bb
Did some re-factoring to share code with upcoming (multi stream) packager. Change-Id: I2b3845e48ba6aa63a95ecc276abcb52c8355d8d5