lavf/segment: add function set_segment_filename()