【实例简介】
一直苦于没办法用JAVA解码H.264,而且FMJ什么的非常难用,终于发现这个FFMPEG-JAVA既可以解决问题,库函数什么又和FFMPEG一致的类库了!而且连例程都非常相拟。
【实例截图】
【核心代码】
e25056db-5c0e-4d4e-81c0-9f8147d31e7a
└── ffmpeg-java-20070916-0351
├── bin
│ ├── balloons.264
│ ├── net
│ │ └── sf
│ │ └── ffmpeg_java
│ │ ├── AVCodecLibrary$AVBitStreamFilter.class
│ │ ├── AVCodecLibrary$AVBitStreamFilterContext.class
│ │ ├── AVCodecLibrary$AVCodec.class
│ │ ├── AVCodecLibrary$AVCodecContext.class
│ │ ├── AVCodecLibrary$AVCodecParser.class
│ │ ├── AVCodecLibrary$AVCodecParserContext.class
│ │ ├── AVCodecLibrary$AVFrame.class
│ │ ├── AVCodecLibrary$AVOption.class
│ │ ├── AVCodecLibrary$AVPaletteControl.class
│ │ ├── AVCodecLibrary$AVPanScan.class
│ │ ├── AVCodecLibrary$AVPicture.class
│ │ ├── AVCodecLibrary$AVSubtitle.class
│ │ ├── AVCodecLibrary$AVSubtitleRect.class
│ │ ├── AVCodecLibrary$RcOverride.class
│ │ ├── AVCodecLibrary.class
│ │ ├── AVFormatLibrary$AVFormatContext.class
│ │ ├── AVFormatLibrary$AVFormatParameters.class
│ │ ├── AVFormatLibrary$AVFrac.class
│ │ ├── AVFormatLibrary$AVIndexEntry.class
│ │ ├── AVFormatLibrary$AVInputFormat.class
│ │ ├── AVFormatLibrary$AVOutputFormat.class
│ │ ├── AVFormatLibrary$AVPacket.class
│ │ ├── AVFormatLibrary$AVPacketList.class
│ │ ├── AVFormatLibrary$AVProbeData.class
│ │ ├── AVFormatLibrary$AVStream.class
│ │ ├── AVFormatLibrary$ByteIOContext.class
│ │ ├── AVFormatLibrary$Destruct.class
│ │ ├── AVFormatLibrary$URLClose.class
│ │ ├── AVFormatLibrary$URLContext.class
│ │ ├── AVFormatLibrary$URLOpen.class
│ │ ├── AVFormatLibrary$URLPollEntry.class
│ │ ├── AVFormatLibrary$URLProtocol.class
│ │ ├── AVFormatLibrary$URLRead.class
│ │ ├── AVFormatLibrary$URLSeek.class
│ │ ├── AVFormatLibrary$URLWrite.class
│ │ ├── AVFormatLibrary.class
│ │ ├── AVUtilLibrary.class
│ │ ├── custom_protocol
│ │ │ ├── CallbackURLProtocolHandler.class
│ │ │ ├── CallbackURLProtocolMgr$1.class
│ │ │ ├── CallbackURLProtocolMgr$2.class
│ │ │ ├── CallbackURLProtocolMgr$3.class
│ │ │ ├── CallbackURLProtocolMgr$4.class
│ │ │ ├── CallbackURLProtocolMgr$5.class
│ │ │ ├── CallbackURLProtocolMgr.class
│ │ │ └── FileCallbackURLProtocolHandler.class
│ │ ├── example
│ │ │ ├── AVCodecSample.class
│ │ │ ├── ok.htm
│ │ │ ├── PlayerExample$1.class
│ │ │ ├── PlayerExample.class
│ │ │ └── URLProtocolTest.class
│ │ ├── FFMPEGLibrary$AVClass.class
│ │ ├── FFMPEGLibrary$AVRational.class
│ │ ├── FFMPEGLibrary.class
│ │ ├── gui
│ │ │ ├── ImageFrame$1.class
│ │ │ ├── ImageFrame$ImageComponent$ImageRunnable.class
│ │ │ ├── ImageFrame$ImageComponent.class
│ │ │ └── ImageFrame.class
│ │ └── util
│ │ └── FrameDataToImage.class
│ └── overview.html
├── build.xml
├── ffmpeg_headers
│ ├── libavcodec
│ │ ├── avcodec.h
│ │ └── opt.h
│ ├── libavformat
│ │ ├── avformat.h
│ │ └── avio.h
│ └── libavutil
│ ├── avutil.h
│ ├── log.h
│ ├── mem.h
│ └── rational.h
├── ffmpeg-java.jar
├── lib
│ └── jna.jar
├── LICENSE
├── native
│ └── avcodec_sample.0.4.9.cpp
├── README
├── src
│ ├── net
│ │ └── sf
│ │ └── ffmpeg_java
│ │ ├── AVCodecLibrary.java
│ │ ├── AVFormatLibrary.java
│ │ ├── AVUtilLibrary.java
│ │ ├── custom_protocol
│ │ │ ├── CallbackURLProtocolHandler.java
│ │ │ ├── CallbackURLProtocolMgr.java
│ │ │ └── FileCallbackURLProtocolHandler.java
│ │ ├── example
│ │ │ ├── AVCodecSample.java
│ │ │ ├── PlayerExample.java
│ │ │ └── URLProtocolTest.java
│ │ ├── FFMPEGLibrary.java
│ │ ├── gui
│ │ │ └── ImageFrame.java
│ │ └── util
│ │ └── FrameDataToImage.java
│ └── overview.html
└── version-history.txt
23 directories, 88 files