How to change the video container using ffmpeg (avoiding re-encoding):

ffmpeg -i inputfile.mp4 -vcodec copy -acodec copy outputfile.mkv

Advertisements