summaryrefslogtreecommitdiff
path: root/doc/protocols.texi
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-12-26 20:26:08 +0100
committerNicolas George <nicolas.george@normalesup.org>2013-01-01 19:29:04 +0100
commitecda1d3cbe1cfb3311c2866d9130c37070dd8b38 (patch)
tree41b14c4af0364356907f35674fbacc5eb88559d8 /doc/protocols.texi
parentba1cbf40cebfa75d683d3d0444059ea633a27cf8 (diff)
downloadffmpeg-ecda1d3cbe1cfb3311c2866d9130c37070dd8b38.tar.gz
lavf: add data: URI scheme.
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r--doc/protocols.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index e7904590d2..a36d2a3804 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -75,6 +75,15 @@ ffplay concat:split1.mpeg\|split2.mpeg\|split3.mpeg
Note that you may need to escape the character "|" which is special for
many shells.
+@section data
+
+Data in-line in the URI. See @url{http://en.wikipedia.org/wiki/Data_URI_scheme}.
+
+For example, to convert a GIF file given inline with @command{ffmpeg}:
+@example
+ffmpeg -i "data:image/gif;base64,R0lGODdhCAAIAMIEAAAAAAAA//8AAP//AP///////////////ywAAAAACAAIAAADF0gEDLojDgdGiJdJqUX02iB4E8Q9jUMkADs=" smiley.png
+@end example
+
@section file
File access protocol.