Set video width/height and create audio stream in read_packet instead of