((Jann Gobble)) 🏳️🌈<p>Hey <a href="https://mastodon.social/tags/FFMPEG" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FFMPEG</span></a> users! I know you can specify extracting <a href="https://mastodon.social/tags/subtitles" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>subtitles</span></a> by language with a command like: </p><p> -map 0:s:m:language:eng</p><p>But how do you specify by FORMAT or CODEC like VTT/SRT?</p><p>I have files with english SRTs and english PGSes and I want to specify eng lang but not <a href="https://mastodon.social/tags/PGS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PGS</span></a>. Currently I know most of them are PGS as <a href="https://mastodon.social/tags/subtitle" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>subtitle</span></a> index 2 so I do:</p><p>-map 0:s:m:language:eng -map -0:s:2</p><p>and that works, but I'd much rather something like: </p><p>-map 0:s:m:language:eng -map -0:s:m:format:pgs</p><p>Ideas?</p>