[FFmpeg-user] Add background music after every 5 seconds in .mp3 file usinf ffmpeg
nilesh.abstain at gmail.com
Wed Mar 5 05:30:09 CET 2014
Yes you are right, i want to combine both audio files . The stock.mp3(2
seconds) should combine after each 5 seconds of interval to sun.mp3(3
minutes 24 seconds). Please give me reference how can i do it...
On 5 March 2014 03:37, Carl Eugen Hoyos [via FFmpeg-users] <
ml-node+s933282n4664186h6 at n4.nabble.com> wrote:
> nilesh <nilesh.abstain <at> gmail.com> writes:
> > I want to add background music after every 5 seconds
> > in .mp3 file using ffmpeg.
> > I have 2 audio files : stock.mp3 of 2 seconds and
> > sun.mp3 of 3 minutes 24 seconds. I want to add
> > stock.mp3 after every 5 seconds in sun.mp3 like
> > after 0,5,10,15,20,... seconds.
> > I tried with : passthru("$ffmpeg -i concat:'sun.mp3|stock.mp3'
> > -acodec copy output.mp3");
> I don't think concat can do what you want (or I completely
> misunderstand): It puts one file after the other and if I
> understand correctly, you want two files combined "at the
> same time" or am I wrong?
> You first have to create a file out of stock.mp3 that is
> as long as sun.mp3 and has the right pattern. This might
> be possible with concat.
> Then you can combine the two files, maybe with the pan
> Carl Eugen
> ffmpeg-user mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4664186&i=0>
> If you reply to this email, your message will be added to the discussion
> To start a new topic under FFmpeg-users, email
> ml-node+s933282n933282h82 at n4.nabble.com
> To unsubscribe from Add background music after every 5 seconds in .mp3
> file usinf ffmpeg, click here<http://ffmpeg-users.933282.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4664180&code=bmlsZXNoLmFic3RhaW5AZ21haWwuY29tfDQ2NjQxODB8MjEzMTA3NDE1Ng==>
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Add-background-music-after-every-5-seconds-in-mp3-file-usinf-ffmpeg-tp4664180p4664193.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user