[FFmpeg-devel] Java Api's (Android) for ffmpeg

Michael Niedermayer michaelni at gmx.at
Tue Apr 2 12:57:08 CEST 2013


On Tue, Apr 02, 2013 at 12:35:53PM +0200, Maxim Polijakowski wrote:
> Am 31.03.2013 16:56, schrieb Talha Malik:
> >Hi
> >We are trying to develop a media player on android platform. The idea of
> >the android application is that it records a video with modified sound i.e.
> >pitch and frequency is changed.
> >For this purpose we are trying to use some open source libraries since
> >Android audio libraries do not provide such features.
> >
> >We have done some research and found *ffmpeg* to be one of the most widely
> >used libraries by developers.
> >
> >I am wondering whether you can point me to any *java api's* for *ffmpeg.*
> 
> One possible solution woul be JavaCPP: http://code.google.com/p/javacpp/
> Its author - Samuel Audet - has already wrote a Java wrapper for
> libavcodec and libavformat, named as avcodec.java and avaformat.java
> respectively. You can find those in the JavaCV package:
> http://code.google.com/p/javacv/source/browse/src/main/java/com/googlecode/javacv/cpp/avcodec.java?r=5bbb841a1d9b03328ad0c3dbc723ad6903220d62
> http://code.google.com/p/javacv/source/browse/src/main/java/com/googlecode/javacv/cpp/avformat.java?r=5bbb841a1d9b03328ad0c3dbc723ad6903220d62
> 

> You probably need to access libavresample. JavaCV doesn't provide
> any wrapper for that but you could easily derive your own by looking
> at the above mentioned sources.

i would strongly suggest libswresample instead of libavresample.
libavresample is not really supported by ffmpeg and not enabled by
default.

Also if someone knows of a single advantage of libavresample over
libswresample, i would be very interrested in what it is

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130402/a799d4e6/attachment.asc>


More information about the ffmpeg-devel mailing list