[vlc-devel] [PATCH] Naming patterns for HLS segments

Łukasz Korbel korbel85 at gmail.com
Mon Apr 16 18:55:06 CEST 2012

On Mon, 16 Apr 2012 11:28:30 +0300, Ilkka Ollakka <ileoo at videolan.org>
> How about just change formatSegmentPath so user could define own
> outputformat like %Y-%M-%D-%H%:M.%SS.ts etc? similar that marquee etc use
> to present time and title and stuff?

I like the idea. But if we want to have plain indexed names as well we
cant use strftime directly.
We could either give up on indexed names completely or write own
parsing function (in that case list of symbols must be determined).
Unless index-based names are useful for someone i am for first
solution (its simpler and solves segment overwriting problem
permanently). In that case I'm eager to modify the source code.

Łukasz Korbel

More information about the vlc-devel mailing list