[FFmpeg-devel] Patch to add automatic file splitting when recording.

2018-09-22 Thread James Courtier-Dutton
Hi, Please can someone consider adding this patch to ffmpeg. I find it useful, for example to record from a CCTV camera and have it automatically split the stream into 10 minute files, storing them and automatically creating subdirectories by date. The patch is already here: https://patchwork.ffm

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-24 Thread James Courtier-Dutton
From 6c74670e047bfc9e995c0f968c1688be768d13bd Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Mon, 24 Sep 2018 12:34:54 +0100 Subject: [PATCH] avformat/segment: strftime date sub-directories Automatically create sub-directories if needed based on date. E.g. ffmpeg ... -timelimit

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-24 Thread James Courtier-Dutton
Updated patch is here: https://patchwork.ffmpeg.org/patch/10469/ Functionalist has not changed. It has been updated to apply to the latest master branch. On 22 September 2018 at 17:26, Michael Niedermayer wrote: > On Thu, Nov 30, 2017 at 11:07:03PM +0000, James Courtier-Dutton wr

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-24 Thread James Courtier-Dutton
On 24 September 2018 at 13:48, Moritz Barsnick wrote: > On Mon, Sep 24, 2018 at 12:39:42 +0100, James Courtier-Dutton wrote: > > > Automatically create sub-directories if needed based on date. > > E.g. > > ffmpeg ... -timelimit 2147483647 -f segment -strftime 1 -segment_t

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-25 Thread James Courtier-Dutton
On 25 September 2018 at 10:22, Moritz Barsnick wrote: > > Steven already posted a patch proposal to this list, factoring out the > function: > https://patchwork.ffmpeg.org/patch/10471/ > http://ffmpeg.org/pipermail/ffmpeg-devel/2018-September/234538.html > > That looks fine by me. I can resubmit

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-25 Thread James Courtier-Dutton
Updated patch. This one applies on top of commit bb660800a55f5171f77316941afe2e62534ee72c On 25 September 2018 at 15:00, Steven Liu wrote: > > > > On Sep 25, 2018, at 20:33, James Courtier-Dutton > wrote: > > > > On 25 September 2018 at 10:22, Moritz Barsnick

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-25 Thread James Courtier-Dutton
> > Automatically create sub-directories if needed based on date. > E.g. > ffmpeg ... -timelimit 2147483647 -f segment -strftime 1 -segment_time 10 > "%Y/%m/%d/%Y-%m-%d_%H-%M-%S.mkv" > > > > > Maybe you want add an option named “strftime_mkdir” not > “use_localtime_mkdir”. > You should add the opti

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-26 Thread James Courtier-Dutton
On 26 September 2018 at 00:18, Steven Liu wrote: > > > > On Sep 26, 2018, at 06:49, James Courtier-Dutton > wrote: > > On 25 September 2018 at 23:24, Steven Liu wrote: > yes, the error message is confusing, maybe change it here is better. > > > > +

[FFmpeg-devel] AMD Vega 56, UVD and OpenCL

2018-12-08 Thread James Courtier-Dutton
Hi, I little off topic, but hopefully someone here might be able to help me as it is video processing related. I wish to use UVD to send a video stream to the GPU, and then have OpenCL process the output video frames. Can anyone point me to example source code to achieve this in Linux. Kind Reg

Re: [FFmpeg-devel] AMD Vega 56, UVD and OpenCL

2018-12-09 Thread James Courtier-Dutton
On Sun, 9 Dec 2018 at 13:37, Mark Thompson wrote: > On 09/12/2018 01:22, James Courtier-Dutton wrote: > > Hi, > > > > I little off topic, but hopefully someone here might be able to help me > as > > it is video processing related. > > > > I wish to use

Re: [FFmpeg-devel] AMD Vega 56, UVD and OpenCL

2018-12-09 Thread James Courtier-Dutton
On Sun, 9 Dec 2018 at 23:21, Mironov, Mikhail wrote: > There is one potential way to do it: > Decode using AMF on Vulkan, then Vulkan has interop to OpenGL and OpenGL > has interop to OpenCL. > AMF on Vulkan on Linux was released (decoder and encoder). > To integrate it to FFmpeg we need FFmpeg A

[FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2017-11-30 Thread James Courtier-Dutton
From b6a6f6d577e562c09c7cc1fc0befd2d73a9c0f32 Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Thu, 30 Nov 2017 22:56:04 + Subject: [PATCH] libavformat/segment: strftime date sub-directories Automatically create sub-directories if needed based on date. E.g. ffmpeg ... -timelimit