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
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
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
---
---
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 filt
--- /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
+ * License
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
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
Date: Fri, 31 Mar 2017 12:54:57 +1100
Subject: [PATCH 2/2] doc: update cache proto
rom 762ca838ecd60e007285bd30df0a3f95c07cfae4 Mon Sep 17 00:00:00 2001
From: Timothy Lee
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
specified allows th