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

Ilkka Ollakka ileoo at videolan.org
Tue Apr 17 09:23:17 CEST 2012


On Mon, Apr 16, 2012 at 06:55:06PM +0200, Łukasz Korbel wrote:
> On Mon, 16 Apr 2012 11:28:30 +0300, Ilkka Ollakka <ileoo at videolan.org>
> wrote:
> > 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 just include strftime() in formatSegmentPath, as currently
index-number is #. But I'm not sure how well formating survives in
current code.

Index-numbering should be kept, as it seems to be pretty widely used
numbering format in those streams.

-- 
Ilkka Ollakka
Just when you thought you were winning the rat race, along comes a
faster rat!!!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120417/6a146f57/attachment.sig>


More information about the vlc-devel mailing list