FFmpeg命令

0

MKV转MP4

# 很慢
/usr/local/ffmpeg/bin/ffmpeg -i source.mkv -vcodec h264 target.mp4
/usr/local/ffmpeg/bin/ffmpeg -i source.mkv -c copy target.mp4
# 音频
/usr/local/ffmpeg/bin/ffmpeg -i source.mkv -vcodec copy -acodec aac target.mp4

-y 默认覆盖