avconv: improve -re implementation