#Extract audio
ffmpeg -i mad-pi.mp4 -map 0:a:0 mad-pi_audio.wav
#Extract reinsert new audio
ffmpeg -i mad-pi.mp4 -i mad-pi_audiohd.mp3 -c:v copy -map 0:v:0 -map 1:a:0 new.mp4
#reencode for whatsapp
ffmpeg -i new.mp4 -c:v libx264 -profile:v baseline -level 3.0 -pix_fmt yuv420p working.mp4
No comments:
Post a Comment