Here is a list of some random ffmpeg commands that might prove useful.
Add silent audio track to a video
if there is no audio track in the video file:
ffmpeg -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -i video.mov -c:v copy -c:a aac -shortest output.mov
Ignore existing audio track:
ffmpeg -f lavfi -i anullsrc -i video.mov -c:v copy -c:a aac -map 0:a -map 1:v -shortest output.mp4
Leave a Reply