ffmpeg
映像と音声を結合
Section titled “映像と音声を結合”ffmpeg -i video.mp4 -i audio.wav -c:v copy -c:a aac -map 0:v:0 -map 0:a:0 output.mp4m2ts -> mp4 by intel GPU encode
Section titled “m2ts -> mp4 by intel GPU encode”ffmpeg -i input.m2ts -c:v h264_qsv -b:v 2000k -r 30 -s 1280x720 output.mp4良い感じに圧縮
Section titled “良い感じに圧縮”$ ffmpeg -i input.mp4 -map_metadata 0 -c:v libx264 -crf 23 -c:a copy output.mp4