1

I Know how to add audio to video with Ffmpeg. But it works like that :

This is the input - Video.mov (mute) - Audio.wav

This is the output VideoWithSound.mov

Is it possible to add audio to the video without generating a new file ? Simple by modifying the Input file ?

My command line is :

ffmpeg -probesize 50M -analyzeduration 100M -i /Users/xxx/Documents/ReplaceScript/video.mov -i /Users/xxx/Documents/ReplaceScript/Audio.wav -af apad -shortest -map 0:0 -map 1:0 -c:a pcm_s24le -async 1 -t " & valeur & " -c:v copy -aspect 16:9 -metadata creation_time=now -sn -y /Users/xxx/Documents/ReplaceScript/VideoWithSound.mov

1
  • 2
    Not possible. ffmpeg can't modify a file in-place.
    – llogan
    Jan 23, 2020 at 0:23

1 Answer 1

1

Not possible.

You have to delete the old file and rename the new one.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .