[FFmpeg-user] removing audio from section of video

Liam Condron-Farnos 23liam at googlemail.com
Thu Jan 17 19:08:29 CET 2013


I think you could also do something with the split, aselect, volume and
concat filters.

On 17 January 2013 18:02, Liam Condron-Farnos <23liam at googlemail.com> wrote:

> You can mute the sound (rather than deleting the audio track) with the volume
> filter <http://ffmpeg.org/ffmpeg-filters.html#volume>, use `-filter:a
> 'volume=0'`. If you can get your head around it, you can probably use
> asendcmd <http://ffmpeg.org/ffmpeg-filters.html#volume> in combination
> with the volume filter to do what you want, but
>
>
> >instead of battling with archane and seldom-used command-line
> >options (to me) in cases like this, I normally just open the file in a
> video
> >editor and mute the required segment.
>
> ^this is probably the easiest answer.
>
>
>
> On 16 January 2013 06:19, Francois Visagie <francois.visagie at gmail.com>wrote:
>
>> > -----Original Message-----
>> > From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
>> > bounces at ffmpeg.org] On Behalf Of johnd
>> > Sent: 15 January 2013 23:26
>> > To: FFmpeg user questions
>> > Subject: Re: [FFmpeg-user] removing audio from section of video
>> >
>> > On Tue, Jan 15, 2013 at 08:22:13PM +0000, Carl Eugen Hoyos wrote:
>> > > johnd <john <at> jjdev.com> writes:
>> > >
>> > > > If I want to say remove the audio from a part of a video,
>> > > > must I first break that out then replace the audio for
>> > > > the entire piece, then concat back together?
>> > >
>> > > (I find this very difficult to understand, typical
>> > > questions on this list are: "I tried ffmpeg -i input
>> > > -c copy out.avi - see complete, uncut console output
>> > > at the end of my email - how can I remux only the
>> > > video?")
>> >
>> > I'm trying to understand things conceptually.  I am describing
>> > a process I am trying to accomplish.
>> >
>> > For example:
>> >
>> > I have an input video.  At 10 seconds into the video I want to remove
>> > audio for 5 seconds, then have the audio continue.
>> >
>> > I am trying to understand the general steps so I can then decide
>> > how to construct the command line args.
>> >
>> > I was assuming (from the little I have learned) that I would
>> > have to first cut the video into three, remove sound from the section
>> > from 10 seconds in (duration 5) and then concat all three.
>> >
>> > Then I'd have a file that was missing sound from the 10 second point
>> > for 5 seconds.  (question? shouldn't it have sound that is muted as
>> > opposed to no sound track?)
>> >
>> >
>> > I just want to understand if this is the way it would be done (at
>> > a high level), or if there is another process I should follow
>> > to get my end goal.
>>
>> Although I haven't tried it, I suspect what you're describing is possible
>> with ffmpeg.
>>
>> However, instead of battling with archane and seldom-used command-line
>> options (to me) in cases like this, I normally just open the file in a
>> video
>> editor and mute the required segment.
>>
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>


More information about the ffmpeg-user mailing list