Reputation: 115
i got an mp4 and i want to remove 3 minutes of sound on 4h video (to upload on youtube).
i try : ffmpeg -i video.mp4 -c copy -an video-sansson.mp4
the full audio is deleted.
I personally just want to remove 3 minutes of it ?
Upvotes: 3
Views: 2945
Reputation: 8238
this should work:
ffmpeg -i video.mp4 -af "volume=enable='between(t,5,10)':volume=0" -c:v copy video-sansson.mp4
this applies a volume filter between 5 and 10 seconds - obviously you'll want to adjust that
Upvotes: 8