1 2 3 4 5
#!/bin/bash -x FILE="$1" mkvextract -f tracks "${FILE}" 0:"$( basename "${FILE}" .mkv )".h264 --fullraw