need help with ffmpeg.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

need help with ffmpeg.

Ahmad-D-Tariq
Hi,

i am working on an android app which modifies the audio of a video. i'm
developing this app using Eclipse IDE and android SDK on ubuntu 10.04. i am
stuck for one month and cannot figure out that how to do it. the
documentation and tutorials on internet is not helping much.. please
anybody help me that how can i perform this functionality using ffmpeg. a
sample code would be much appreciated..

Best Regards,
Ahmed
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: need help with ffmpeg.

Liam Condron-Farnos
>i am working on an android app which modifies the audio of a video.

Modifies it how? What exactly do you want to do? Also, are you planning on
bundling an ffmpeg executable with your app, oruse some of the libraries?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: need help with ffmpeg.

Ahmad-D-Tariq
i want to modify sound like in TomCat app. or like Helium Booth
app(iphone). i want the functionality that when a person speaks then myapp
records make video/audio and plays back it by changing its audio pitch,
like tomcat app.
and
i builded the ffmpeg in ubuntu and included its libraries, libavformat and
libavcodec.

but i don't know now that what i am doing is right or wrong.


On Fri, Apr 12, 2013 at 4:59 PM, Liam Condron-Farnos
<[hidden email]>wrote:

> >i am working on an android app which modifies the audio of a video.
>
> Modifies it how? What exactly do you want to do? Also, are you planning on
> bundling an ffmpeg executable with your app, oruse some of the libraries?
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: need help with ffmpeg.

Ahmad-D-Tariq
actually i followed this tutorial
http://dmitrydzz-hobby.blogspot.com/2012/04/how-to-build-ffmpeg-and-use-it-in.html



On Fri, Apr 12, 2013 at 5:11 PM, Ahmad-D-Tariq <[hidden email]>wrote:

> i want to modify sound like in TomCat app. or like Helium Booth
> app(iphone). i want the functionality that when a person speaks then myapp
> records make video/audio and plays back it by changing its audio pitch,
> like tomcat app.
> and
> i builded the ffmpeg in ubuntu and included its libraries, libavformat and
> libavcodec.
>
> but i don't know now that what i am doing is right or wrong.
>
>
> On Fri, Apr 12, 2013 at 4:59 PM, Liam Condron-Farnos <
> [hidden email]> wrote:
>
>> >i am working on an android app which modifies the audio of a video.
>>
>> Modifies it how? What exactly do you want to do? Also, are you planning on
>> bundling an ffmpeg executable with your app, oruse some of the libraries?
>> _______________________________________________
>> ffmpeg-user mailing list
>> [hidden email]
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: need help with ffmpeg.

Liam Condron-Farnos
>i want the functionality that when a person speaks then myapp
>records make video/audio and plays back it by changing its audio pitch,
>like tomcat app.

I'm not 100% certain, but I don't think ffmpeg can do this (that's only
from a quick look over the documentation, so I may be mistaken). Maybe try
another tool, like sox.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: need help with ffmpeg.

Ahmad-D-Tariq
Thanks very much.
but i never used sox. actually never heard of it before. so by considering
the functionality i want, could you plz give me some links for sox or like
guidelines so that i may be able to achieve my desired functionality using
sox.


On Fri, Apr 12, 2013 at 5:38 PM, Liam Condron-Farnos
<[hidden email]>wrote:

> >i want the functionality that when a person speaks then myapp
> >records make video/audio and plays back it by changing its audio pitch,
> >like tomcat app.
>
> I'm not 100% certain, but I don't think ffmpeg can do this (that's only
> from a quick look over the documentation, so I may be mistaken). Maybe try
> another tool, like sox.
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: need help with ffmpeg.

Carl Eugen Hoyos
In reply to this post by Ahmad-D-Tariq
Ahmad-D-Tariq <ahmedtariq.nu <at> gmail.com> writes:

> actually i followed this tutorial
>
http://dmitrydzz-hobby.blogspot.com/2012/04/how-to-build-ffmpeg-and-use-it-in.html

From a (very) quick look, the build script on this
site looks completely broken and should not be used.

Please do not top-post here, it is considered rude.

Carl Eugen

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: need help with ffmpeg.

Carl Eugen Hoyos
In reply to this post by Liam Condron-Farnos
Liam Condron-Farnos <23liam <at> googlemail.com> writes:

> I'm not 100% certain, but I don't think ffmpeg can do
> this (that's only from a quick look over
> the documentation, so I may be mistaken). Maybe try
> another tool, like sox.

Given that FFmpeg can use sox, I am not sure above is
100% accurate.

Carl Eugen

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: need help with ffmpeg.

Pavel Koshevoy
In reply to this post by Liam Condron-Farnos
On Apr 12, 2013 6:39 AM, "Liam Condron-Farnos" <[hidden email]>
wrote:
>
> >i want the functionality that when a person speaks then myapp
> >records make video/audio and plays back it by changing its audio pitch,
> >like tomcat app.
>
> I'm not 100% certain, but I don't think ffmpeg can do this (that's only
> from a quick look over the documentation, so I may be mistaken). Maybe try
> another tool, like sox.

Pitch shifting may be possible by chaining together audio tempo and audio
resampling filters.  The steps would be to double the audio tempo and
resample the waveform at twice the sample rate (this may require to fix up
the timestamps as well) -- the result should be audio of same duration at
lower pitch.   However, I haven't tried it myself.

Pavel
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user