Re: [FFmpeg-devel] [PATCH] Add mkdir support for HLS localtime-generated segment files

2016-02-17 Thread Michael Niedermayer
On Tue, Feb 16, 2016 at 09:03:52PM +0100, Johan Ström wrote: > On 16/02/16 00:59, Michael Niedermayer wrote: > >On Mon, Feb 15, 2016 at 10:35:57PM +0100, Johan Ström wrote: > >>Thanks for your attention! > >> > >>Updated patch attached. It has been rebased against current master >

Re: [FFmpeg-devel] [PATCH] Add mkdir support for HLS localtime-generated segment files

2016-02-16 Thread Johan Ström
On 16/02/16 00:59, Michael Niedermayer wrote: On Mon, Feb 15, 2016 at 10:35:57PM +0100, Johan Ström wrote: Thanks for your attention! Updated patch attached. It has been rebased against current master (avio_open2->ffio_open_whitelist changes) with no issues. On 14/02/16 01:29, Michael

Re: [FFmpeg-devel] [PATCH] Add mkdir support for HLS localtime-generated segment files

2016-02-15 Thread Michael Niedermayer
On Mon, Feb 15, 2016 at 10:35:57PM +0100, Johan Ström wrote: > Thanks for your attention! > > Updated patch attached. It has been rebased against current master > (avio_open2->ffio_open_whitelist changes) with no issues. > > On 14/02/16 01:29, Michael Niedermayer wrote: > >On Wed, Feb 03, 2016

Re: [FFmpeg-devel] [PATCH] Add mkdir support for HLS localtime-generated segment files

2016-02-15 Thread Johan Ström
Thanks for your attention! Updated patch attached. It has been rebased against current master (avio_open2->ffio_open_whitelist changes) with no issues. On 14/02/16 01:29, Michael Niedermayer wrote: On Wed, Feb 03, 2016 at 10:44:28PM +0100, Johan Ström wrote: Hi, this patch adds

Re: [FFmpeg-devel] [PATCH] Add mkdir support for HLS localtime-generated segment files

2016-02-13 Thread Michael Niedermayer
On Wed, Feb 03, 2016 at 10:44:28PM +0100, Johan Ström wrote: > Hi, > > this patch adds -use_localtime_mkdir option to the HLS encoder. > Use with -use_localtime, and set -hls_segment_filename to a path > which contains a subdirectory i.e. > /some/path/%Y%m%d/%Y%m%dT%H%M%S-%s.ts > This will mkdir

[FFmpeg-devel] [PATCH] Add mkdir support for HLS localtime-generated segment files

2016-02-03 Thread Johan Ström
Hi, this patch adds -use_localtime_mkdir option to the HLS encoder. Use with -use_localtime, and set -hls_segment_filename to a path which contains a subdirectory i.e. /some/path/%Y%m%d/%Y%m%dT%H%M%S-%s.ts This will mkdir the %Y%m%d-part of the path if it does not already exist. In addition,