title: FFMPEG filter_complex wih speedup and subtitles and scaling
body: <p>Hi I am trying to convert a file to a specific framerate and remove any jittering, jumping of the screen. I also try to boost the volume and add a subtitle overlay. I get an error with the curent line than it is not allowed to use complex_filter in combination with vf and af. as an extra I also would like to add text in the left corner (this i did not try yet) and would want the screen to be sized to full hd (changed scale to 1920:1080 but no succes).</p>
  
  <pre><code>ffmpeg -i movie.mp4 -r 25 -filter_complex "[0:v]setpts=0.959*PTS[v];[0:a]atempo=1.0427[a]" -map "[v]" -map "[a]" -vf subtitles=sub.srt,scale=1920:1080 -af volume=2 -strict -2 -preset veryfast movie_new.mp4
  </code></pre>
  
  <p>Got it!</p>
  
  <p>New:</p>
  
  <pre><code>ffmpeg -i inside.mp4 -r 25 -filter_complex "[0:v]setpts=0.959*PTS[i];[i]scale=1920:1080[j];[j]subtitles=inside.srt[k];[0:a]atempo=1.0427[p];[p]volume=2[q]" -map "[k]" -map "[q]" -strict -2 -preset veryfast inside_new.mp4
  </code></pre>
  
  <p>But now there is a new issue. Subs out of sync :P is there a easy fix for this or do i first need to encode without subs then resync then encode with subs?</p>
  
  <p>found this link by the way <a href="http://subshifter.bitsnbites.eu/" rel="nofollow">Subtitle Resync Tool</a></p>
  
  <p>moviespeed is changed by 0.959. is there a calculation i can do to adjust the subtitles by x miliseconds?</p>
  
  <p>EDIT: Got the subtitles fixed with subtitle workshop. Was just a small setting to change which directly shifted all the text :)</p>