1.不解码和从新编码,只是换个格式封装。 ffmpeg -i test.mp4 -c copy test.h264 2. 解码再编码 ffmpeg -i test.mp4 -c h264 test.h264