>>565
-map 0:aだと当方の環境(debian stretch ffmpeg 昨日のsnapshot)だと主ストリームしかとれませんでした。
あと、#numberofmapは$numberofmapの間違いです。(bashのシェルスクリプトで利用)