Forum › Forums › General › Tips and Tricks › tip: A quick way to convert video container of a file › Reply To: tip: A quick way to convert video container of a file
June 17, 2019 at 11:42 am
#23205
Member
You could make yourself a little script to do the conversion for you, only needing the file name (less extension) as the parameter ($1) – might make it easier for you in the future. 🙂
# Just use the filename less extension as parameter
ffmpeg -i $1.mp4 -vcodec copy -acodec copy $1.mkv
Then you just call it mp4-2-mpv, (or anything else you like), & run it as so,
mp4-2-mpv filename
Linux (& BSD) since 1999
Ultra Small Form Factor & thin client computers