title: FFMPEG - chaining - Video, audio, ASS subtitle, then overlay logo?
body: <p>I have this to use a video, replace audio, and add subtitles:</p>
  <blockquote>
  <p>ffmpeg -vsync 0 -hwaccel cuda -an -i &quot;E:\video.mp4&quot;  -vn -i
  &quot;E:\audio.mp3&quot;  -vf &quot;subtitles=E\:\\sub.txt&quot; -map 0:v -map 1:a -b:v
  4M -maxrate 4M  &quot;E:\output.mp4&quot; -y</p>
  </blockquote>
  <p>I could not figure out how to add one more to the chain, such as adding a logo at the bottom right</p>
  <p>What I've tried so far, after hours (still not working)</p>
  <blockquote>
  <p>ffmpeg -vsync 0 -hwaccel cuda  -an -i &quot;E:\video.mp4&quot;  -vn -i
  &quot;E:\audio.mp3&quot; -i &quot;E:\logo.png&quot; -vf &quot;subtitles=E\:\\sub.txt&quot; -map
  0:v -map 1:a -preset ultrafast -filter_complex
  &quot;[1]format=rgba,colorchannelmixer=aa=0.5[logo];[0][logo]overlay=(W-w)/2:(H-h)/2:format=auto,format=yuv420p&quot; &quot;E:\output.mp4&quot;   -y</p>
  </blockquote>