ffmpeg -ss <hh>:<mm>:<ss> -t <hh>:<mm>:<ss> -i <input-file>.mkv -avoid_negative_ts 1 -codec copy <output-file>.mkv
ffmpeg -f concat -i list.txt -c copy final.mkv
# list.txt
file 1st_part.mkv
file 2nd_part.mkv
file 3rd_part.mkv
ffmpeg -i <input-file>.mkv -vcodec libx265 -crf 28 <output-file>.mp4
转 mp4 格式: ffmpeg -i <source> -codec copy <name>.mp4
wmv 转 mp4: ffmpeg -i <input-file>.wmv -c:v libx264 -crf 23 -c:a aac -q:a 100 <output-file>.mp4
rmvb 转 mp4: ffmpeg -i <input-file>.rmvb -c:v libx264 -strict -2 <output-file>.mp4