avconv: split subtitle transcoding out of output_packet().