add playlist reader
add format generation to playlist item
add format generation to segment item
make playlist item use width, height, and bitrate
refactor playlist to use items for generation
rename time to duration for consistency