提取音轨
ffmpeg -i mda-pe0974vkhnbw2z76.mp4 -vn -codec copy out.m4a
去除音轨
ffmpeg.exe -i videoWithAudio.mp4 -c:v copy -an videoWithoutAudio.mp4
生成高质量gif
ffmpeg -i input.mp4 -vf "split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -r 15 out.gif
提取音轨
ffmpeg -i mda-pe0974vkhnbw2z76.mp4 -vn -codec copy out.m4a
去除音轨
ffmpeg.exe -i videoWithAudio.mp4 -c:v copy -an videoWithoutAudio.mp4
生成高质量gif
ffmpeg -i input.mp4 -vf "split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -r 15 out.gif