Add subtitle function and avconv test function