[FFmpeg-devel] [PATCH] libavformat: add "capture:" protocol using AVIO

2017-04-10 Thread Timothy Lee
ure.c @@ -0,0 +1,112 @@ +/* + * Input capture protocol. + * Copyright (c) 2017 Timothy Lee + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; ei

Re: [FFmpeg-devel] [PATCH 1/3] libavformat: add "capture:" protocol

2017-04-03 Thread Timothy Lee
On 04/03/2017 06:35 PM, Nicolas George wrote: Hi. Thanks for the patch. Le quartidi 14 germinal, an CCXXV, Timothy Lee a écrit : Capture is an input stream capture protocol that dumps the input stream to a file. The default name of the output file is "capture.dat", but it can be cha

[FFmpeg-devel] [PATCH 2/3] doc: add capture protocol documentation

2017-04-02 Thread Timothy Lee
Document the capture protocol, with description for the accepted option, and an example of it being used under ffplay. --- doc/protocols.texi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/doc/protocols.texi b/doc/protocols.texi index a7968ff56e..89a1f2afa8 100644

[FFmpeg-devel] [PATCH 3/3] Add capture protocol to Changelog

2017-04-02 Thread Timothy Lee
--- Changelog | 1 + 1 file changed, 1 insertion(+) diff --git a/Changelog b/Changelog index ad53c9dd55..4b7553a4b5 100644 --- a/Changelog +++ b/Changelog @@ -32,6 +32,7 @@ version : - Removed the legacy X11 screen grabber, use XCB instead - MPEG-7 Video Signature filter - Removed asyncts

[FFmpeg-devel] [PATCH 1/3] libavformat: add "capture:" protocol

2017-04-02 Thread Timothy Lee
--- /dev/null +++ b/libavformat/capture.c @@ -0,0 +1,321 @@ +/* + * Input capture protocol. + * Copyright (c) 2017 Timothy Lee + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + *

Re: [FFmpeg-devel] [PATCH 1/2] cache protocol: allow cache files to be retained

2017-03-31 Thread Timothy Lee
On 03/31/2017 09:09 PM, Michael Niedermayer wrote: On Fri, Mar 31, 2017 at 01:27:11PM +1100, Timothy Lee wrote: Hi, This patch allows the name of the cache file to be specified, and retains the file after use. This was marked as a TODO item inside cache.c If the filename is not specified

[FFmpeg-devel] [PATCH 2/2] doc: update cache protocol documentation

2017-03-30 Thread Timothy Lee
This patch updates the cache protocol documentation to describe the cache_file option added by the previous patch. >From 42e09bc8c6a27c760c1fba23ba9591a521768b36 Mon Sep 17 00:00:00 2001 From: Timothy Lee <timothy.ty@gmail.com> Date: Fri, 31 Mar 2017 12:54:57 +1100 Subject: [PATCH

[FFmpeg-devel] [PATCH 1/2] cache protocol: allow cache files to be retained

2017-03-30 Thread Timothy Lee
rom 762ca838ecd60e007285bd30df0a3f95c07cfae4 Mon Sep 17 00:00:00 2001 From: Timothy Lee <timothy.ty@gmail.com> Date: Fri, 31 Mar 2017 11:34:33 +1100 Subject: [PATCH 1/2] cache protocol: allow cache files to be retained A 'cache_file' option is added to the cache protocol handler, which when