8000 Add command line arguments FAQ · stu-github/ffmpeg-python@08e50ac · GitHub
[go: up one dir, main page]

Skip to content

Commit 08e50ac

Browse files
authored
Add command line arguments FAQ
1 parent 4cb7d26 commit 08e50ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,10 @@ This dilemma is intrinsic to ffmpeg, and ffmpeg-python tries to stay out of the
204204

205205
As usual, take a look at the [examples](https://github.com/kkroening/ffmpeg-python/tree/master/examples#audiovideo-pipeline) (*Audio/video pipeline* in particular).
206206

207+
**How can I find out the used command line arguments?**
208+
209+
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.
210+
207211
**How do I do XYZ?**
208212

209213
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.

0 commit comments

Comments
 (0)
0