[FFmpeg-user] removing audio from section of video

Paul B Mahol onemda at gmail.com
Tue Jan 22 10:57:54 CET 2013


On 1/22/13, johnd <john at jjdev.com> wrote:
> On Mon, Jan 21, 2013 at 01:26:33PM -0900, Lou wrote:
>> On Tue, 15 Jan 2013 13:25:51 -0800
>> johnd <john at jjdev.com> wrote:
>>
>> > I have an input video.  At 10 seconds into the video I want to remove
>> > audio for 5 seconds, then have the audio continue.
>>
>> You can use the afade filter by Paul B Mahol that was committed today.
>> This means that you will have to find a very recent build or compile
>> ffmpeg yourself. It will allow you to fade the audio at specific
>> interval(s).
>>
>> http://ffmpeg.org/ffmpeg-filters.html#afade
>>
>> You can copy the video stream with "-c:v copy" to prevent video
>> re-encoding.
>
> this looks great but I can't figure out how to set more
> than one event
>
> How do I pass more stuff like 'turn back on at a time'

You actually want to apply filter only at certain interval in stream.
So IMHO new filter should be added (if there is no already one) instead
of adding extra filter just for this functionality or adding extra options in
already available filters.....

>
>
> I tried this:
> ffmpeg -y  -i withsound.mp4  -c:v copy -af
> "afade=t=out:st=2,afade=t=in:st=5"   done.mp4
>
> but my end video was all silent
>
>
> I'd like to be able to tell it to turn off audio then back, then repeat
> that process...
>
>
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list