FFmpeg command to apply multiple filters and limit the final file size
<p>I'm using <a href="/questions/tagged/ffmpeg" class="post-tag" title="show questions tagged &#39;ffmpeg&#39;" rel="tag">ffmpeg</a> command below to convert video to a format of the defined scale and in order to hardcode the subtitles</p>

<h3>Original syntax</h3>

<pre><code>ffmpeg -i "Original File.mov"  -vf subtitles=Subtitles.srt -vf scale=1920:1080 \
       -crf 12 "Final File".mov
</code></pre>

<h1>Problem</h1>

<p>I would like to expand this command further and:</p>

<ul>
<li>ensure that the produce file is <em>under</em> 2GB</li>
<li>I would like to include additional parameters with <a href="https://ffmpeg.org/ffmpeg.html#Subtitle-options" rel="nofollow">advanced subtitle options</a>, like setting the canvas size and fixing the potential delay </li>
</ul>

<h2>Side notes</h2>

<p>I reckon that in case of predefining the file size the <a href="http://slhck.info/articles/crf" rel="nofollow"><strong><code>-crf 12</code></strong></a> paramater will be redundant?</p>