FFMPEG-JAVA

所属分类:Java编程
开发工具:Java
文件大小:412KB
下载次数:69
上传日期:2009-08-10 19:01:01
上 传 者skarabey
说明:  ffmpeg-java is a Java wrapper around ffmpeg, using JNA.

文件列表:
doc (0, 2009-07-26)
ffmpeg_headers (0, 2009-07-26)
ffmpeg_headers\libavcodec (0, 2009-07-26)
ffmpeg_headers\libavcodec\avcodec.h (92166, 2007-08-29)
ffmpeg_headers\libavcodec\opt.h (2999, 2007-08-29)
ffmpeg_headers\libavformat (0, 2009-07-26)
ffmpeg_headers\libavformat\avformat.h (31943, 2007-08-29)
ffmpeg_headers\libavformat\avio.h (9132, 2007-08-29)
ffmpeg_headers\libavutil (0, 2009-07-26)
ffmpeg_headers\libavutil\avutil.h (6036, 2007-08-29)
ffmpeg_headers\libavutil\log.h (3599, 2007-08-29)
ffmpeg_headers\libavutil\mem.h (1979, 2007-08-29)
ffmpeg_headers\libavutil\rational.h (2943, 2007-08-29)
lib (0, 2009-07-26)
lib\jna.jar (268395, 2007-08-29)
native (0, 2009-07-26)
native\avcodec_sample.0.4.9.cpp (4917, 2007-08-29)
src (0, 2009-07-26)
src\net (0, 2009-07-26)
src\net\sf (0, 2009-07-26)
src\net\sf\ffmpeg_java (0, 2009-07-26)
src\net\sf\ffmpeg_java\AVCodecLibrary.java (135762, 2007-09-16)
src\net\sf\ffmpeg_java\AVFormatLibrary.java (40486, 2007-09-16)
src\net\sf\ffmpeg_java\AVUtilLibrary.java (1200, 2007-09-16)
src\net\sf\ffmpeg_java\custom_protocol (0, 2009-07-26)
src\net\sf\ffmpeg_java\custom_protocol\CallbackURLProtocolHandler.java (1130, 2007-08-29)
src\net\sf\ffmpeg_java\custom_protocol\CallbackURLProtocolMgr.java (6021, 2007-08-29)
src\net\sf\ffmpeg_java\custom_protocol\FileCallbackURLProtocolHandler.java (3554, 2007-08-29)
src\net\sf\ffmpeg_java\example (0, 2009-07-26)
src\net\sf\ffmpeg_java\example\AVCodecSample.java (7017, 2007-08-29)
src\net\sf\ffmpeg_java\example\PlayerExample.java (6829, 2007-09-16)
src\net\sf\ffmpeg_java\example\URLProtocolTest.java (7440, 2007-09-16)
src\net\sf\ffmpeg_java\FFMPEGLibrary.java (11131, 2007-08-29)
src\net\sf\ffmpeg_java\gui (0, 2009-07-26)
src\net\sf\ffmpeg_java\gui\ImageFrame.java (2544, 2007-09-16)
src\net\sf\ffmpeg_java\util (0, 2009-07-26)
src\net\sf\ffmpeg_java\util\FrameDataToImage.java (1380, 2007-08-29)
src\overview.html (100, 2007-08-29)
build.xml (5391, 2007-08-29)
ffmpeg-java.jar (64156, 2007-09-16)
... ...

README for ffmpeg-java NOTE: ffmpeg-java is not the same thing as FMJ, which stands for "Freedom for Media in Java". ffmpeg-java is a subproject of FMJ. ffmpeg-java is a Java wrapper around ffmpeg, using JNA. It assumes that dynamic libraries for ffmpeg have been compiled, and are in your library path. Note: mmx is disabled in this example, as it has caused problems in the past. Step 1: Get ffmpeg sources from http://ffmpeg.mplayerhq.hu/ Step 2: build/install ffmpeg ./configure --disable-mmx --enable-shared make sudo make install Step 3. run one of the sample programs with a media file as the first parameter. You may need to set your library path in order to find the installed ffmpeg dynamic libraries, for example: export LD_LIBRARY_PATH=/usr/local/lib PlayerExample: plays a movie in a window java -cp ./ffmpeg-java.jar:./lib/jna.jar net.sf.ffmpeg_java.example.PlayerExample http://www.javasaver.com/testjs/jmf/anim/2005-11-26.mov AVCodecSample: creates 5 ppm files in the current directory with the first 5 frames of the movie: java -cp ./ffmpeg-java.jar:./lib/jna.jar net.sf.ffmpeg_java.example.AVCodecSample http://www.javasaver.com/testjs/jmf/anim/2005-11-26.mov Notes from Stephan Goetter: Very good documentation how to setup build environment (msys and mingw) and how to build ffmpeg on windows can be found here: http://arrozcru.no-ip.org/ffmpeg_wiki/tiki-index.php The ffmpeg builts provided at http://arrozcru.no-ip.org/ffmpeg_builds/ have worked too, but some image codec/format were missing.

近期下载者

相关文件


收藏者