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

Rémi Denis-Courmont remi at remlab.net
Mon Apr 16 11:52:02 CEST 2012


On Mon, 16 Apr 2012 12:37:15 +0300, Ilkka Ollakka <ileoo at videolan.org>
wrote:
> On Mon, Apr 16, 2012 at 11:25:35AM +0200, Rémi Denis-Courmont 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 think you mean strftime().
> 
> Actually str_format() from vlc_strings.h was the one that I ment. But
> not sure if it matter if using str_format() or strftime() in those
> cases.

str_format() *is* a bug. It takes the metadata from the playlist. You
definitely do not want that in HLS, or generally in the stream output.

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list