[FFmpeg-user] Add background music after every 5 seconds in .mp3 file usinf ffmpeg

nilesh nilesh.abstain at gmail.com
Wed Mar 5 05:36:57 CET 2014


Hi Carl,

I want to do something like
http://www.pond5.com/stock-music/1548490/pulse-full-track.html. Here the
site name is audible after some duration and i want to do same thing using
ffmpeg for windows operating system.

Thanks in advance


On 5 March 2014 09:59, Nilesh Kumar <nilesh.abstain at gmail.com> wrote:

> Hi Carl,
>
> 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
>> filter.
>>
>> Carl Eugen
>>
>> _______________________________________________
>> ffmpeg-user mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4664186&i=0>
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://ffmpeg-users.933282.n4.nabble.com/Add-background-music-after-every-5-seconds-in-mp3-file-usinf-ffmpeg-tp4664180p4664186.html
>>  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==>
>> .
>> NAML<http://ffmpeg-users.933282.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>




--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Add-background-music-after-every-5-seconds-in-mp3-file-usinf-ffmpeg-tp4664180p4664194.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list