avconv: do packet ts rescaling in write_packet()