ffmpeg -i a.mp4 -i b.wav -shortest -q:v 0 a_av.mp4 -loglevel error -y
Add an audio to a silent video. The -y
means overwriting same output video.
ffmpeg -i a.wav -ss ${hour}:${min}:${sec} clip.wav -loglevel error -y
Clip the audio from a specific time step.
ffmpeg -i a.mp4 b.acc -y
ffmpeg -i b.acc b.wav -y
Extract the wav audio from a mp4 video.