avformat/hlsenc: enhanced %v handling with variant names