Skip to content

Commit d1083e0

Browse files
authored
Merge pull request #464 from amiaopensource/nostdin
add -nostdin note
2 parents 6303394 + 08a2705 commit d1083e0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

index.html

+12
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,18 @@ <h5>Streaming vs. Saving</h5>
108108
<div class="well">
109109

110110
<h2 id="concepts">Learn about more advanced FFmpeg concepts</h2>
111+
<!-- Loop usage explanation -->
112+
<label class="recipe" for="batch-loop">Batch and Loop script usage</label>
113+
<input type="checkbox" id="batch-loop">
114+
<div class="hiding">
115+
<h5>Batch and Loop script usage</h5>
116+
<p><code>ffmpeg -nostdin -i <em>input_file</em> ...</code></p>
117+
<p>One of the frequent uses of FFmpeg is to run batch commands within loops to, for example, generate access files for an entire collection at once.</p>
118+
<p>When running an FFmpeg command within a loop it is often necessary to use the <code>-nostdin</code> flag prior to the input in order to ensure successful execution of the commands. This is needed to override FFmpeg's default behavior of enabling interaction on standard input which can result in errors as loop inputs are fed to the ongoing command.</p>
119+
<p class="link"></p>
120+
</div>
121+
<!-- End loop usage explanation -->
122+
111123
<!-- Codec Defaults explanation -->
112124
<label class="recipe" for="codec-defaults">Codec defaults</label>
113125
<input type="checkbox" id="codec-defaults">

0 commit comments

Comments
 (0)