From 08e50ac02c3e2188135ddcb27f98749cb2772a09 Mon Sep 17 00:00:00 2001
From: Iulian Onofrei <6d0847b9@opayq.com>
Date: Sun, 8 Nov 2020 12:51:35 +0200
Subject: [PATCH] Add command line arguments FAQ

---
 README.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/README.md b/README.md
index 5989ae6..8cfe89a 100644
--- a/README.md
+++ b/README.md
@@ -204,6 +204,10 @@ This dilemma is intrinsic to ffmpeg, and ffmpeg-python tries to stay out of the
 
 As usual, take a look at the [examples](https://github.com/kkroening/ffmpeg-python/tree/master/examples#audiovideo-pipeline) (*Audio/video pipeline* in particular).
 
+**How can I find out the used command line arguments?**
+
+You can run `stream.get_args()` before `stream.run()` to retrieve the command line arguments that will be passed to `ffmpeg`. You can also run `stream.compile()` that also includes the `ffmpeg` executable as the first argument.
+
 **How do I do XYZ?**
 
 Take a look at each of the links in the [Additional Resources](https://kkroening.github.io/ffmpeg-python/) section at the end of this README.  If you look everywhere and can't find what you're looking for and have a question that may be relevant to other users, you may open an issue asking how to do it, while providing a thorough explanation of what you're trying to do and what you've tried so far.
-- 
GitLab