
FFmpeg/Libav基础库
等风来不如迎风去
音视频行业深耕多年,熟悉会议、直播、RTC,对在线教育、娱乐秀场等音视频端到端技术及系统架构有深入研究
-
原创 [zz] 腾讯云 AV1落地
【转载】 腾讯云直播+点播全线产品支持AV1,带来极致视频体验腾讯云支持av1日前,腾讯视频云直播、点播、媒体处理全线产品均已支持AV1标准,据悉,腾讯云也是国内首家直播+点播同时支持AV1视频处理业务的公有云厂商。AV1(Alliance for Open Media Video 1)据悉,AV1(Alliance for Open Media Video 1)是由AOM(Alliance for Open Media,开放媒体联盟)制定的一个开源、免版权费的视频编码格式,目标是解决H2020-09-19 18:37:35475
0
-
转载 【zz】H.264开源解码器评测
【zz】H.264开源解码器评测2011-02-23 01:24:001000
0
-
转载 【zz】音视频同步原理[ffmpeg]
output_example.c 中AV同步的代码如下(我的代码有些修改),这个实现相当简单,不过挺说明问题。阅读前希望大家先了解一下时间戳的概念。/* compute current audio and video time */if (pOutputVars->pOutAudio_st)//存在音频流 pOutputVars->audio_pts = (double)pOutputVa2011-02-15 00:14:001945
0
-
转载 ffmpeg中sws_scale()用法实例---part of FFmpeg
ffmpeg中sws_scale()用法实例视频编码 2009-06-30 10:02:27 阅读1185 评论0 字号:大中小 订阅/* * Copyright (C) 2003 Michael Niedermayer michaelni@gmx.at> * * This file is part of FFmpeg. * * FFmpeg is f2011-01-29 19:51:005781
1
-
原创 WARNING: library configuration mismatch
root@ubuntu:/home/zhangbin# ffmpegffmpeg version N-43977-g85c8303 Copyright (c) 2000-2012 the FFmpeg developers built on Aug 30 2012 11:14:11 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)2012-12-06 18:07:083884
0
-
原创 ubuntu12.04 编译ffmpeg
版本号#define FFMPEG_VERSION "N-43977-g85c8303"编译选项:./configure --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-runtime-cpudetect --enable-gray --enable-avresampl2012-12-28 21:20:45911
1
-
原创 原来是x264需要libav库啊。
root@Ubuntu32:/home/zhangbin/ffmpeg/ffmpegx86/ffmpeg-1.2# apt-get remove x264 libx264-devReading package lists... Done 原来是x264需要libav库啊。Building dependency tree Reading state information..2013-04-16 20:06:231079
0
-
原创 编译ffmpeg x86所需要的库
zhangbin@Ubuntu32:~$ zhangbin@Ubuntu32:~$ zhangbin@Ubuntu32:~$ cd ffmpegzhangbin@Ubuntu32:~/ffmpeg$ lsbuild ffmpeg-1.2 ffmpeg-1.2.tar.bz2 stagefrightzhangbin@Ubuntu32:~/ffmpeg$ cd ffmpeg*2013-04-16 19:50:248403
0
-
原创 ffmpegx86依赖库,装了libssl-dev 就可以让ffmpeg找到openssl了
root@Ubuntu32:/home/zhangbin/ffmpeg/ffmpegx86/ffmpeg-1.2# apt-get install openssl-devReading package lists... DoneBuilding dependency tree Reading state information... DoneE: Unable to l2013-04-17 10:02:003307
0
-
原创 ffmpeg还需要sdl texinfo texhtml
root@Ubuntu32:/home/zhangbin/ffmpeg/ffmpegx86/ffmpeg-1.2# apt-get install libsdl-devReading package lists... DoneBuilding dependency tree Reading state information... DoneNote, selecting2013-04-17 10:21:111392
0
-
原创 ubuntu12.04 32位 编译ffmpeg x86
Usage: configure [options]Options: [defaults in brackets after descriptions]Help options: --help print this message --list-decoders show all available decoders2013-04-17 10:23:431165
0
-
原创 ld cannot find -lbz2
[zz]cannot find -lbz22011-01-30 19:52:003795
0
-
原创 安装ubuntu movie player 的gstreamer的插件,带来的ffmpeg relocation error
果然是冲突了zhangbin@ubuntu:~$ sudo suroot@ubuntu:/home/zhangbin# apt-get install gsteamer*Reading package lists... DoneBuilding dependency tree Reading state information... DoneE: Coul2011-06-11 22:16:003969
0
-
原创 【zz】编译安装ffmpeg
编译安装ffmpeg2011-03-10 19:10:001300
0
-
原创 [zz]Install FFmpeg and x264 on Ubuntu Lucid Lynx 10.04
[zz]Install FFmpeg and x264 on Ubuntu Lucid Lynx 10.042011-02-24 01:54:001470
0
-
转载 【zz】FFMpeg SDK 开发手册
【zz】FFMpeg SDK 开发手册2011-03-15 00:55:001364
0
-
原创 ffmpeg恢复工作了。
clone git://git.videolan.org/ffmpeg.git2011-03-15 16:49:004051
0
-
原创 Elecard StreamEye (StreamEye) tools
Elecard StreamEye (StreamEye) tools2011-05-10 09:19:0010944
4
-
原创 ffmpeg relocation error
root@ubuntu:/home/zhangbin/Documents/ffmpeg# ffmpegffmpeg: relocation error: /usr/local/lib/libavfilter.so.1: symbol av_find_best_stream, version LIBAVFORMAT_52 not defined in file libavformat.so.52 with link time referenceroot@ubuntu:/home/zhangbin/Do2011-05-12 12:29:006385
3
-
原创 x264 develpment maillist
x264 develpment maillist2011-03-28 00:00:002296
0
-
原创 06 06 : tutorial-arm based on ffmpeg operated on s3c6410
在板子上,第一次成功运行基于ffmpeg的代码。 [root@Real6410 /zhangbin]# ./tut*arm dodge.mpg [mpegvideo @ 0x12070]max_analyze_duration reached2011-06-06 22:52:002208
0
-
原创 vc的nasm和vcsp5 vcpp5的安装。
vc的nasm和vcsp5 vcpp5的安装。2011-04-17 21:14:003645
4
-
原创 apt-get remove libavutil51 libavcodec53 libavformat53 libswscale2 发生了啥
root@Ubuntu32:/home/zhangbin/ffmpeg/ffmpegx86/ffmpeg-1.2# apt-get remove libavutil51 libavcodec53 libavformat53 libswscale2Reading package lists... DoneBuilding dependency tree Reading sta2013-04-16 20:04:231193
0
-
原创 看不懂啊
http://bbs.csdn.net/topics/330208966看不懂啊parser.cpp中这行代码很有趣:i = (s->cur_frame_start_index + 1) & (AV_PARSER_PTS_NB - 1);其实就相当于下面的代码,但是效率更高:i = s->cur_frame_start_index + 1;if(i >= A2013-08-08 11:21:44581
0
-
原创 MKV转码为TS
参考 http://www.shortword.net/blog/2009/12/18/converting-h-264-mpeg4-to-ts-with-ffmpeg/root@Ubuntu32:/home/zhangbin/streaming/http/segmenter# ffmpeg -i /home/zhangbin/Downloads/testVideos/U.F.O.10802013-04-18 00:21:183272
0
-
原创 RGB和YUV
ffplay version 1.2 :root@Ubuntu32:/home/zhangbin/streaming/live/v4l2/loalPC/videoCaptureHome/videoCapture# /home/zhangbin/ffmpeg/ffmpegx86/ffmpegHome/bin/ffplay -pix_fmtsffplay version 1.22013-11-05 16:35:351344
0
-
原创 FFmpeg队列之add_to_pktbuf入队函数浅显分析
俺觉得ffmpeg最牛逼的地方就在于只用两个指针来维护一个FIFO的队列就好了。比如这个入队函数的功能就是入队,功能及其简化,貌似也不限制队列的大小,只是入队的时候,会判断队列是否空,当空的时候,会改变对头指针,不管队列是否空,队尾指针,始终会被改变。因此,add_to_pktbuf 传入的是对头指针的地址和队尾指针的地址,进行修改。当然,新加入的pkt在入队后的内存地址会被函2013-11-24 12:22:502682
0
-
原创 AVFormatContext中的三个AVPacketList类型的缓冲的浅显分析
AVPacketList是代表链表的一种节点类型,每一个节点内存放的是该链表的内容(一个AVPacket)和一个用于串接链表的指针(看起来是一个单链表)typedef struct AVPacketList { AVPacket pkt; struct AVPacketList *next;} AVPacketList;因此,见到AVPacketList,应该首先相当2013-11-23 23:01:562453
0
-
原创 ffmpeg MP4转TS
root@Ubuntu32:/home/zhangbin/ffmpeg/ffmpegx86/ffmpegHome/bin# ./ffmpeg -i /home/zhangbin/Downloads/testVideos/Pirates.of.the.Caribbean.At.World\'s.End.2007.BluRay.720p.x264.AAC-PHD.mp4 -vcodec copy -a2013-11-29 14:08:265617
0
-
原创 【ffmpeg】试图从raw buffer中读取数据的ff_read_packet 浅显分析
故事的主角是ff_read_packet,显然,如今ff_read_packet已经不是对外的接口了,是ffmpeg内部使用的一个接口。想要理解ff_read_packet,必须从之前的接口av_read_packet的设计意图着手:#if FF_API_READ_PACKETint av_read_packet(AVFormatContext *s, AVPacket *pkt2013-11-24 20:22:534218
1
-
原创 为ffmpeg编译libaacplus-2.0.2
参考https://trac.ffmpeg.org/wiki/How%20to%20quickly%20compile%20libaacpluswiki:How to quickly compile libaacplus+0Start PageIndexHistoryHE-AAC audio v2 (with2013-12-04 14:25:323422
1
-
转载 Tutorial: How to "live stream" a media file
utorial: How to "live stream" a media fileTutorial: How to "live stream" a media filehttp://wiki.rtmpd.com/tutorial_live_stream_file by Thorsten PferdekämperI have trie2013-12-04 16:01:091392
0
-
原创 common.h:178:47: error: 'UINT64_C' was not declared in this scope
//////////////////////////////////////////////(1)有人说加这个:http://www.drovik.com/html/9342704730.html#ifndef UINT64_C#define UINT64_C(value)__CONCAT(value,ULL)#endif(2)https://code.2013-12-30 23:59:591063
0
-
原创 ffmpeg废弃的接口
http://sgros.blogspot.co.il/2013/01/deprecated-functions-in-ffmpeg-library.htmlDeprecated functions in ffmpeg libraryWell, I have some code that uses some old FFMPEG library, and now,2014-03-04 22:08:562546
0
-
原创 mipsel-linux-uclibc 编译ffmpeg
zhangbin@bogon:~/bcm/unimedia/uniskmedia/DepThird/ffmpeg-0.10.4$ zhangbin@bogon:~/bcm/unimedia/uniskmedia/DepThird/ffmpeg-0.10.4$ zhangbin@bogon:~/bcm/unimedia/uniskmedia/DepThird/ffmpeg-0.10.4$ s2013-11-17 18:30:423586
0
-
原创 /include/libavutil/common.h:175:47: error: ‘UINT64_C’ was not declared in this scope
解决:在 jni/ffmpeg/libavutil/common.h中添加// add by XXX#ifndef UINT64_C#define UINT64_C(value)__CONCAT(value,ULL)#endif//-//chown zhangbin /home/zhangbin/ffmpeg/ffmpegx86/ffmpegHome/include2013-10-16 14:06:052105
0
-
原创 error: ‘ff_data_to_hex’ was not declared in this scope
MPEG4FileSource.cpp:120:76: error: ‘ff_data_to_hex’ was not declared in this scope ‘ff_data_to_hex’ 的定义在libavformat的internal.h中 root@Ubuntu32:/home/zhangbin/codeStore/testCODE/testMeSe2013-10-16 14:24:381427
0
-
原创 关于av_freep
向av_freep传入的是指向某个内存区域的指针的地址(也可以说指向这个指针的指针)。该函数用来释放掉这块内存区域。void av_freep(void *arg){ void **ptr = (void **)arg; av_free(*ptr); *ptr = NULL;}这么设计应该是为了改变指针arg本身,所以函2013-04-30 11:44:046599
1
-
翻译 Libavfilter Documentation
Libavfilter Documentationhttp://libav.org/libavfilter.htmlTable of Contents1. Introduction2. Tutorial3. graph2dot4. Filtergraph description4.1 Filtergraph syntax5. Audio Filters2013-04-30 22:51:021618
0
-
原创 编译httpsegmenter
参考 http://blog.csdn.net/commshare/article/details/8813061我的ffmpeg没有安装到一个标准路径下,而是我自己的路径。运行的时候,只需要制定LD_LIBRARY_PATH到ffmpeg的我安装的lib目录下就行。但是编译的时候,如果要依赖于ffmpeg的库,必须用LIBRARY_PATH 才行。root@Ubunt2013-04-17 21:49:041710
0