资源简介
android版本的arm平台下的ffmpeg+libx264+lib265.其中x264是直接编译到ffmpeg.so文件里面的。x265是以动态库的形式支持的.
代码片段和文件信息
/*
* Copyright (c) 2014 Lukasz Marek
*
* Permission is hereby granted free of charge to any person obtaining a copy
* of this software and associated documentation files (the “Software“) to deal
* in the Software without restriction including without limitation the rights
* to use copy modify merge publish distribute sublicense and/or sell
* copies of the Software and to permit persons to whom the Software is
* furnished to do so subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND EXPRESS OR
* IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER
* LIABILITY WHETHER IN AN ACTION OF CONTRACT TORT OR OTHERWISE ARISING FROM
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include
#include
#include
static const char *type_string(int type)
{
switch (type) {
case AVIO_ENTRY_DIRECTORY:
return ““;
case AVIO_ENTRY_FILE:
return ““;
case AVIO_ENTRY_BLOCK_DEVICE:
return ““;
case AVIO_ENTRY_CHARACTER_DEVICE:
return ““;
case AVIO_ENTRY_NAMED_PIPE:
return ““;
case AVIO_ENTRY_SYMBOLIC_link:
return “nk>“;
case AVIO_ENTRY_SOCKET:
return ““;
case AVIO_ENTRY_SERVER:
return ““;
case AVIO_ENTRY_SHARE:
return ““;
case AVIO_ENTRY_WORKGROUP:
return ““;
case AVIO_ENTRY_UNKNOWN:
default:
break;
}
return ““;
}
static int list_op(const char *input_dir)
{
AVIODirEntry *entry = NULL;
AVIODirContext *ctx = NULL;
int cnt ret;
char filemode[4] uid_and_gid[20];
if ((ret = avio_open_dir(&ctx input_dir NULL)) < 0) {
av_log(NULL AV_LOG_ERROR “Cannot open directory: %s.\n“ av_err2str(ret));
goto fail;
}
cnt = 0;
for (;;) {
if ((ret = avio_read_dir(ctx &entry)) < 0) {
av_log(NULL AV_LOG_ERROR “Cannot list directory: %s.\n“ av_err2str(ret));
goto fail;
}
if (!entry)
break;
if (entry->filemode == -1) {
snprintf(filemode 4 “???“);
} else {
snprintf(filemode 4 “%3“PRIo64 entry->filemode);
}
snprintf(uid_and_gid 20 “%“PRId64“(%“PRId64“)“ entry->user_id entry->group_id);
if (cnt == 0)
av_log(NULL AV_LOG_INFO “%-9s %12s %30s %10s %s %16s %16s %16s\n“
“TYPE“ “SIZE“ “NAME“ “UID(GID)“ “UGO“ “MODIFIED“
“ACCE
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-06-29 15:30 ff-onelib\
目录 0 2018-06-29 15:30 ff-onelib\include\
目录 0 2018-04-26 16:09 ff-onelib\include\libavcodec\
文件 217771 2018-04-26 16:09 ff-onelib\include\libavcodec\avcodec.h
文件 2570 2018-04-26 16:09 ff-onelib\include\libavcodec\avdct.h
文件 3111 2018-04-26 16:09 ff-onelib\include\libavcodec\avfft.h
文件 2853 2018-04-26 16:09 ff-onelib\include\libavcodec\d3d11va.h
文件 4044 2018-04-26 16:09 ff-onelib\include\libavcodec\dirac.h
文件 3715 2018-04-26 16:09 ff-onelib\include\libavcodec\dv_profile.h
文件 2361 2018-04-26 16:09 ff-onelib\include\libavcodec\dxva2.h
文件 1650 2018-04-26 16:09 ff-onelib\include\libavcodec\jni.h
文件 2825 2018-04-26 16:09 ff-onelib\include\libavcodec\mediacodec.h
文件 3763 2018-04-26 16:09 ff-onelib\include\libavcodec\qsv.h
文件 4550 2018-04-26 16:09 ff-onelib\include\libavcodec\vaapi.h
文件 5928 2018-04-26 16:09 ff-onelib\include\libavcodec\vda.h
文件 7865 2018-04-26 16:09 ff-onelib\include\libavcodec\vdpau.h
文件 8269 2018-04-26 16:09 ff-onelib\include\libavcodec\version.h
文件 4029 2018-04-26 16:09 ff-onelib\include\libavcodec\videotoolbox.h
文件 2285 2018-04-26 16:09 ff-onelib\include\libavcodec\vorbis_parser.h
文件 6062 2018-04-26 16:09 ff-onelib\include\libavcodec\xvmc.h
目录 0 2018-04-26 16:09 ff-onelib\include\libavdevice\
文件 17918 2018-04-26 16:09 ff-onelib\include\libavdevice\avdevice.h
文件 1861 2018-04-26 16:09 ff-onelib\include\libavdevice\version.h
目录 0 2018-04-26 16:09 ff-onelib\include\libavfilter\
文件 43095 2018-04-26 16:09 ff-onelib\include\libavfilter\avfilter.h
文件 975 2018-04-26 16:09 ff-onelib\include\libavfilter\avfiltergraph.h
文件 6316 2018-04-26 16:09 ff-onelib\include\libavfilter\buffersink.h
文件 6608 2018-04-26 16:09 ff-onelib\include\libavfilter\buffersrc.h
文件 2696 2018-04-26 16:09 ff-onelib\include\libavfilter\version.h
目录 0 2018-04-26 16:09 ff-onelib\include\libavformat\
文件 115772 2018-04-26 16:09 ff-onelib\include\libavformat\avformat.h
............此处省略138个文件信息
相关资源
- ffmpeg-4.2.2-for-android.zip
- ffmpeg-java
- android-lib.rar
- zw_-ffmpeg-java-20070916-0351.zip
- FFmpeg解码并播放视频
- javaCV+openCV+FFmpeg实现视频帧转为图像并
- java使用ffmpeg的jar包
- ffmpeg的jar包和jffmpeg的 jar包.zip
- Android FFmpeg ANativeWindow视频解码播放器
- java ffmpeg实现视屏剪辑、srt字幕嵌入、
- ffmpeg解码的java项目
- 在Qml中显示FFmpeg解码视频
-
EasyPla
yer-RTSP - Android FFMPEG 的so库
- 完美解决Jave在linux下转为MP3时为0字节
- 支持rtsp的ffmpeg动态库
- opencv-3.1.0-windows-x86_64.jar + ffmpeg-3.1.2
- 最新全套Jar: FFMPEG3.4.1+JavaCV1.4.1+OpenC
- nginx、ffmpeg转流文件
- android 移植ffmpeg源码 实现rtsp流实时播
- FFmpeg for Android(静态库)
- javacv1.4版本视频处理主要使用的jar
- ffmpeg.exe
- FFmpegCommandHandler的jar包
- FFmpegCommandHandler
- FFmpeg android so文件与.h文件含arm、arm
- libffmpeg.so
- ffmpeg+mencoder视频压缩转码,视频截帧
- FFmpeg_audio_video_demo_android
- ffmpeg.exe和jave-2.0.jar获取视频时长
评论
共有 条评论