How to BATCH remux combine video and audio to one file?
for f in .mkv;do ffmpeg -i &quot;$f&quot; -map 0:1 &quot;${f%mkv}wav&quot;;done &amp;&amp; for i in .mkv; do mkdir -p &quot;${i%.}&quot; &amp;&amp; mkvmerge -o &quot;${i%.}/${i%.}.mkv&quot; -A &quot;$i&quot; &quot;${i%.}.wav&quot;; done