PDA

View Full Version : [all variants] mkvtoolnix cli merge select tracks of two mkvs



brw02005
August 5th, 2010, 03:09 AM
I am trying to write a bash script that will allow me to merge select tracks from two mkv files. I know this is possible as it is done quite easily with the gui. The possible formats this must handle is video in either h.264 or VC1 with audio in AC3,TrueHD,DTS-MA,and with subs sup and pgs. I found a way to detect the english track numbers with makemkvcon and now I just want to be able to automatically cherry pick them as this results in typically almost a gig in space savings and then merge the video from a compressed mkv from handbrake. The merging of the handbrake video is easy but picking select tracks from the first one is not apparent.