[FFmpeg-user] Required guidence for merging two audio packet

Pradeep K C pradeep.kumarche at gmail.com
Tue Oct 30 04:42:01 CET 2012


I need to do this using C Apis not with command prompt.
As i understood i need to use filter_complex or lavfi.
Can any one help me with sample code.

On Mon, Oct 29, 2012 at 5:59 PM, Nilesh Gupta <mnileshgupta at gmail.com>wrote:

> Of course you can have examples.
> first is :
>
> http://broadcasterproject.wordpress.com/2010/05/18/how-to-layerremix-videos-with-free-command-line-tools/
> second:
> http://how-to.wikia.com/wiki/How_to_combine_multiple_video_or_audio_files
>
> You can merge two video too.. using mencoder. this is very easy.
>
>
> On Mon, Oct 29, 2012 at 2:53 AM, Pradeep K C <pradeep.kumarche at gmail.com
> >wrote:
>
> > I found some parts of the code in this
> > https://ffmpeg.org/pipermail/libav-user/2012-April/001695.html.
> > But which is not complete.
> > I tried to follow filtering_audio.c example given in the docs, but not
> > understood how to do for complex filters.
> > I am trying in windows. Can i get any example for this.
> >
> >
> > On Mon, Oct 29, 2012 at 2:54 PM, Nilesh Gupta <mnileshgupta at gmail.com
> > >wrote:
> >
> > > use mencoder for that.. this would be very good thing for that.
> > >
> > > On Mon, Oct 29, 2012 at 1:50 AM, Pradeep K C <
> pradeep.kumarche at gmail.com
> > > >wrote:
> > >
> > > > I need to mix the two rtp packet audio content using ffmpeg.
> > > >
> > > > I tried using ffmpeg command as below, which is working perfectly.
> > > >
> > > >  ffmpeg -f lavfi  -i "amovie=Voice-0001.amr [l];
> amovie=Voice-0002.amr
> > > [r];
> > > > [l][r] amerge" -ac 1 a4.amr
> > > >
> > > > But i want to convert this one into C program.
> > > > In that case inputs are not file based it is data.
> > > >
> > > > Please guide me that how can do this.
> > > >
> > > > Thanks & regards,
> > > > Pradeep
> > > > _______________________________________________
> > > > ffmpeg-user mailing list
> > > > ffmpeg-user at ffmpeg.org
> > > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > > >
> > >
> > >
> > >
> > > --
> > > Best Regards,
> > > *Nilesh Gupta * | Web Developer (PHP) *
> > > *Handphone:- +91 8347872125*
> > > *Home Town:- Jabalpur (M.P.) | Current Location:- Vadodara (G.J.)
> > > * *
> > > _______________________________________________
> > > ffmpeg-user mailing list
> > > ffmpeg-user at ffmpeg.org
> > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > >
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
>
>
>
> --
> Best Regards,
> *Nilesh Gupta * | Web Developer (PHP) *
> *Handphone:- +91 8347872125*
> *Home Town:- Jabalpur (M.P.) | Current Location:- Vadodara (G.J.)
> * *
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list