资源简介
3.1版本开始支持硬解码 vs2013编译的FFmpeg动态库和静态库包括头文件,里面还有详细的编译方法txt文档,授人予鱼不如授人予渔!
代码片段和文件信息
/*
* 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-10-17 13:35 vs2013_build_shared\
目录 0 2018-10-17 12:58 vs2013_build_shared\bin\
文件 12960256 2018-10-17 12:58 vs2013_build_shared\bin\avcodec-58.dll
文件 57678 2018-10-17 12:58 vs2013_build_shared\bin\avcodec.lib
文件 297472 2018-10-17 12:58 vs2013_build_shared\bin\avdevice-58.dll
文件 6422 2018-10-17 12:58 vs2013_build_shared\bin\avdevice.lib
文件 2715136 2018-10-17 12:58 vs2013_build_shared\bin\avfilter-7.dll
文件 18888 2018-10-17 12:58 vs2013_build_shared\bin\avfilter.lib
文件 2459136 2018-10-17 12:58 vs2013_build_shared\bin\avformat-58.dll
文件 41672 2018-10-17 12:58 vs2013_build_shared\bin\avformat.lib
文件 805376 2018-10-17 12:58 vs2013_build_shared\bin\avutil-56.dll
文件 119424 2018-10-17 12:58 vs2013_build_shared\bin\avutil.lib
文件 494080 2018-10-17 12:58 vs2013_build_shared\bin\ffmpeg.exe
文件 373760 2018-10-17 12:58 vs2013_build_shared\bin\ffprobe.exe
文件 324608 2018-10-17 12:58 vs2013_build_shared\bin\swresample-3.dll
文件 6530 2018-10-17 12:58 vs2013_build_shared\bin\swresample.lib
文件 781824 2018-10-17 12:58 vs2013_build_shared\bin\swscale-5.dll
文件 8944 2018-10-17 12:58 vs2013_build_shared\bin\swscale.lib
目录 0 2018-10-17 12:58 vs2013_build_shared\include\
目录 0 2018-10-17 12:58 vs2013_build_shared\include\libavcodec\
文件 1207 2018-10-17 12:58 vs2013_build_shared\include\libavcodec\ac3_parser.h
文件 1354 2018-10-17 12:58 vs2013_build_shared\include\libavcodec\adts_parser.h
文件 211684 2018-10-17 12:58 vs2013_build_shared\include\libavcodec\avcodec.h
文件 2570 2018-10-17 12:58 vs2013_build_shared\include\libavcodec\avdct.h
文件 3111 2018-10-17 12:58 vs2013_build_shared\include\libavcodec\avfft.h
文件 2853 2018-10-17 12:58 vs2013_build_shared\include\libavcodec\d3d11va.h
文件 4044 2018-10-17 12:58 vs2013_build_shared\include\libavcodec\dirac.h
文件 3715 2018-10-17 12:58 vs2013_build_shared\include\libavcodec\dv_profile.h
文件 2361 2018-10-17 12:58 vs2013_build_shared\include\libavcodec\dxva2.h
文件 1650 2018-10-17 12:58 vs2013_build_shared\include\libavcodec\jni.h
文件 2825 2018-10-17 12:58 vs2013_build_shared\include\libavcodec\mediacodec.h
............此处省略380个文件信息
相关资源
- ffmpeg实现直播功能
- linuxubuntu下ffmpeg + alsa 的音频播放器
- 内存H264+PCM发布rtmp.rar
- ffmpeg-4.2.1-win32-dev.zip
- M3U8视频PC机64位辅助工具2.0 —&md
- ffmpeg-3.2.tar.bz2
- 适用于VC的FFMpeg静态库已编译)
- 使用ffmpeg api解码h264视频码流,并且能
- MP4v2录制rtsp流存为MP4文件
- [8] ffmpeg + SDL2 实现的视频播放器「快
- ffmpegexe文件
- qt5.8实现rtsp流播放
- OpenCV 1.0.0 patch for ffmpeg errors
- ffmpeg将一个视频文件解码输出bmp和j
- 支持OpenCV3.2的opencv_ffmpeg.7z
-
Mpla
yer.exe 最新版 - ffmpeg 硬件加速
- FFmpeg解码MP4分别播放YUV视频和PCM音频
- ffmpeg(amr转换mp3).exe.zip
- zw_csharp_ffmpeg_rtsp_demo.zip
- 比较新版本的ffmpeg.exe
-
ijkpla
yer-anddroid编译好的so库 已经非 - 编译FFmpeg3.2.2生成的库文件及头文件
- decode_video.tar.gz
- ffmpeg的so文件
- ffmpeg的avi转flv
- ffmpeg 支持水印
- FFmpeg-full-SDK-3.2.zip
- 一个可以解码并实时播放H264的播放器
- QT+ffmpeg+多摄像头+实时Ubuntu直接可用(
评论
共有 条评论