zshrc.avenc: split time_to_seconds function