E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
AVformat
ffmpeg将mp4解封装为yuv以及pcm测试代码
#includeextern"C"{#include"libavutil/imgutils.h"#include"libavutil/samplefmt.h"#include"libavformat/
avformat
.h
shareinfo2018
·
2020-06-22 22:02
ffmpeg
ffmpeg视频编解码实例
STDC_CONSTANT_MACROS#ifdef_WIN32//Windowsextern"C"{#include"libavcodec/avcodec.h"#include"libavformat/
avformat
.h
byxdaz
·
2020-06-22 19:28
音视频
FFmpeg应用知识介绍
简介1、FFmpeg既是一款音视频编解码工具,同时也是一组音视频编解码开发套件2、FFmpeg框架基本组成
AVFormat
封装和解封装模块库如MP4、FLV、KV、TS等文件封装格式,RTMP、RTSP
bingshanzhu
·
2020-06-22 18:40
FFMPEG
ffmpeg的demux流程简析
【
avformat
_open_input流程】这里我只说根据字节流来分析的过程,而不管扩展名啊什么的。
a1875566250
·
2020-06-22 10:02
ffmpeg水印叠加代码分析
ifdef_WIN32#definesnprintf_snprintf//Windowsextern"C"{#include"libavcodec/avcodec.h"#include"libavformat/
avformat
.h
耳语吖
·
2020-06-21 20:24
ffmpeg
hisi3559A平台VENC获取H264裸流封装成mp4
主要函数说明:av_register_all();
avformat
_alloc_output_context2():初始化输出文件。avio_open():打开输出文件。
fire_drangon
·
2020-06-21 15:00
海思平台(hisi)
关于推流实现的直播代码,php直播平台源码
#include#include"ffmpeg/include/libavformat/
avformat
.h"#include"ffmpeg/include/libavcodec/avcodec.h"voidpublishstream
云豹科技官方
·
2020-06-21 15:30
直播平台开发
直播系统开发
直播APP源码
如何判断MP4中视频数据是H265还是H264编码
u8is_h264_file(char*filename){AVFormatContext*ifmt_ctx=NULL;intret=0;if((ret=
avformat
_open_input(&ifmt_ctx
rannar
·
2020-06-21 06:03
ffmpeg time_base详解
一、time_base1、AVStream(libavformat/
avformat
.h)typedefstructAVStre
peckjerry
·
2020-06-21 04:32
ffmpeg
android
ijkplayer
秒开与卡顿优化
avformat
_find_stream最耗时,根据流信息做优化,可以将要求下载的bufsize设置的小一些;或者直接
b036101467d7
·
2020-06-12 13:57
FFmpeg笔记(四)--编码过程
AVFormatContext*
avformat
_context=
avformat
_alloc_context();constch
rookiesss
·
2020-05-12 15:39
avformat
_alloc_output_context2源码分析
/***为输出格式分配AVFormatContext,使用
avformat
_free_context()释放*@param*ctx输出参数,创建好的AVFormatContext*对象将会由该参数传递出来
Sivin
·
2020-05-09 11:09
打印音视频信息
将ffmpeg定义的编解码库格式库格式协议网络协议全部注册到我们的程序里面av_register_all()打开多媒体文件根据文件后缀名识别多媒体格式输出
avformat
_context将音频流视频流打印出来
紫色冰雨
·
2020-04-29 19:19
十九、OpenSL-ES播放音频原理
OpenSL-ES播放音频具体实现#include#include#includeextern"C"{#include"libavcodec/avcodec.h"#include"libavformat/
avformat
.h
ChiangCMBA
·
2020-04-12 08:20
avformat
_open_input返回失败问题
很多时候我们希望通过回调函数给ffmpeg传递码流,让它帮我们完成解码操作,要实现该功能需要定义AVIOContext和AVFormatContext对象,下面把核心代码贴出来:if(NULL!=m_pull_data_func){m_avio_ctx_input=avio_alloc_context(m_avio_ctx_buffer,m_avio_ctx_buffer_size,0,m_pul
heibao111728
·
2020-04-01 18:53
ffmpeg
ffmpeg 解码视频流程
个人可用解码流程av_register_all();avcodec_register_all();
avformat
_network_init();//初始化三个//打开视频文件av_format_open_input
lixiangdev
·
2020-03-26 17:10
音视频编解码:视频编解码基础2-FFmpeg解码实践
视频编解码基础篇3-FFmpeg转码实践音视频编解码:视频编解码基础篇4-FFmpeg解码播放一.视频解码本地视频和网路视频解码,由于本地视频解码某种意义上相当于网路视频解码的子集这里所以直接上网路解码.解码初始化
avformat
_open_input
doublej_yjj
·
2020-03-24 07:48
关于移植一个项目中的AVPacket问题
不知道是我的原因还是那个项目作者改的,
AVFormat
.h中的AVPacketList的AVPacket成员被加了个指针。
Westring
·
2020-03-10 08:26
ffmpeg+sdl解码h264数据流程
sdl成功地播放了h264数据,所以做了下面的记录.解码h264数据为yuv240pffmpeg头文件#include"libavcodec/avcodec.h"#include"libavformat/
avformat
.h
jeffleefree
·
2020-03-04 15:47
FFMPEG小白-day03
捉妖记2.jpg读完本文章大概需要5分钟基于FFMPEG+SDL的视频播放器制作FFMPEG库简介FFMPEG一共包含8个库*avcodec:编解码(最重要的库)*
avformat
:封装格式处理*avutil
黑键手记
·
2020-02-19 08:29
音视频解码流程简介(使用 ffmpeg)
第一步:注册组件av_register_all()注册编码器、解码器等等…第二步:打开封装格式->打开文件打开.mp4、.mov、.wmv...格式文件
avformat
_open_input();api
属七降九
·
2020-02-19 05:08
FFmpeg视频编码 YUV420P编码H264
//第一步:注册组件->编码器、解码器等等…av_register_all();//第二步:初始化封装格式上下文->视频编码->处理为视频压缩数据格式AVFormatContext*
avformat
_context
iOS小肖
·
2020-02-18 17:25
FFmpeg 视频解码 YUV
1,获取所有的组件av_register_all();2.获取上下文AVFormatContext*pContext=
avformat
_alloc_context();把pContext赋值if(
avformat
_open_input
苍天霸气诀
·
2020-02-13 01:00
FFmpeg代码实现视频转jpg图片
视频解码打开输入文件
avformat
_open_input找到视频流av_find_best_stream找到对应的解码器avcodec_find_decoder初始化一个编解码上下文avcodec_alloc_context3
MzDavid
·
2020-02-12 08:20
如何在FFMpeg中获取输入设备名
但是在网上的方法里面,一个是通过AVFormatContext*pFormatCtx=
avformat
_alloc_context();AVDictionary*options=N
原始锋芒
·
2020-02-11 09:00
#《FFMPEG》 学习 第一章
##初始化```av_register_all编解码初始化函数,此函数无参数返回avcodec_register_all编码、解析器初始化
avformat
_network_init网络编码初始化,如rtp
嗨皮波士代
·
2020-02-07 16:09
Avformat
_open_input函数的分析之--HTTP篇
前段时间在做直播的优化,主要是优化首屏时间,因为直播播放器大部分都会采用ffmpeg来处理,所以就会用到
avformat
_open_input这个函数,这也是首屏耗时比较多的一个地方,这里我主要跟踪一下
AlexBao
·
2020-02-07 00:51
ffplay.c 源码分析- 队列操作
在
avformat
.h中。
deep_sadness
·
2020-02-06 15:21
FFmpeg入门系列教程 (五)
avformat
_alloc_output_context2():初始化输出码流的AVFormatContext。avio_open():打开输出文件。
zjjcc
·
2020-02-06 10:14
FFMPEG 3.4.2 - ffplay源代码分析 (一)
/ffplayavm.mp42.read_thread()线程read_thread负责demux,它的流程如下图:
avformat
_alloc_context分配AVFormatContext。
RonZheng2010
·
2020-02-05 23:37
avformat
_open_input 阻塞 and 设置超时时间
在编写能够适配h264和h265编码的MP4播放器时遇到的问题.(PS如果iOS系统播放器能够满足这一点我也不至于会累成狗).于是有了以下的尝试.完美解析播放本地mp4(h264编码)完美解析播放本地mp4(h265编码)解析网络mp4(海鸟)视频地址http://vjs.zencdn.net/v/oceans.mp4卡顿超级严重解析网络mp4(驯龙高手)视频地址http://vfx.mtime.
Kingiiyy_iOS
·
2020-02-02 21:58
avformat
_open_input 打开文件失败处理
前言ffmpeg中
avformat
_open_input为打开文件.在很多情况我们都有可能遇到打开文件失败.如封装MP4有可能失败.打开h.264orh.265的裸码流文件有可能失败.还有打开MP4文件时
Kingiiyy_iOS
·
2020-02-02 21:51
[FFMPEG]iOS下解码H264裸流
BOOL)initH264DecoderWithWidth:(int)widthheight:(int)height{av_register_all();avcodec_register_all();
avformat
_network_init
_小老虎_
·
2020-02-02 14:55
FFmpeg的视频解码详解
FFmpeg的视频编解码流程:第一步:组册组件av_register_all()例如:编码器、解码器等等…第二步:打开封装格式->打开文件例如:.mp4、.mov、.wmv文件等等...
avformat
_open_input
iOS小肖
·
2020-02-02 03:58
ffmpeg rtmp推流代码示例
rtmp推流需要用flv格式,本篇博客demo是本地flv文件rtmp推流.主要流程如下:代码如下:#includeextern"C"{#include"libavformat/
avformat
.h"#
令狐掌门
·
2020-01-31 21:11
#
FFmpeg基础
4.音频解码流程
第一步:组册组件av_register_all();第二步:打开封装格式->打开文件
avformat
_open_input();第三步:查找音频流->拿到音频信息
avformat
_find_stream_info
芝麻酱的简书
·
2020-01-14 11:34
学习直播框架
1.集成ijkplayer,首先从git上下载源代码,然后编译会报错,提示'libavformat/
avformat
.h'filenotfound,因为libavformat是ffmpeg中的库,而ijkplayer
夏了夏天_feea
·
2020-01-06 14:29
FFMPEG解协议、解封装流程
1、av_register_all();初始化libavformat,注册所有muxers、demuxersandprotocols2、
avformat
_network_init();对网络库进行全局初始化
野码道人
·
2019-12-31 11:59
FFmpeg使用c语言sdk实现打印视频的信息
主要使用函数ffmpeg中的所有编解码库,网络协议注册到程序里面来:av_register_all()打开一个多媒体文件:
avformat
_open_input()关闭一个多媒体文件:
avformat
_close_input
FANDX
·
2019-12-31 10:00
FFmpeg学习之开发Mac播放器(五):使用FFmpeg硬解码视频
enumAVHWDeviceTypetype=av_hwdevice_find_type_by_name("videotoolbox");//MacOS和iOS可以固定写videotoolboxif(
avformat
_open
SunBye
·
2019-12-28 05:51
[FFMPEG源码]Format格式探测
/libavformat|----utils.c|----
avformat
_open_input|----init_input|----format.c|----av_probe_input_buffer2
_小老虎_
·
2019-12-22 12:24
第5讲-FFmepg-音频解码
其实和我们视频解码流程是一致的(没有太大区别)->代码逻辑发生一些改变执行过程第一步:组册组件av_register_all();第二步:打开封装格式->打开文件
avformat
_open_input(
泰克2008
·
2019-12-21 05:37
基于FFmpeg进行RTMP推流(二)
//写入头部信息ret=
avformat
_write_header(octx,0)
小狸junior
·
2019-12-20 11:37
FFmpeg - 初探ffmepg并解码数据
流程分析image.pngav_register_all():的作用是初始化所有组件,只有调用了该函数,才能使用复用器和编解码器
avformat
_open_input()/
avformat
_close_input
Peakmain
·
2019-12-18 03:41
ffmpeg 解码示例
avcodec_register_all();av_register_all();decode_frame=av_frame_alloc();AVPacketpkt;//获取各种上下文if((ret=
avformat
_open_inpu
Don_
·
2019-12-16 06:22
FFmpeg音频解码
//信息:码率、帧率等...AVFormatContext*
avformat
_context=
avformat
_alloc_context();//参数二:视频路径constchar*url=[jinFilePathUTF8St
iOS小肖
·
2019-12-16 01:38
avformat
_new_stream,传入AVCodec导致的内存泄露(av_mallocz)。
从老接口升级后,
avformat
_new_stream传入了AVCodec,频繁创建过程中内存暴涨。只要传入空参数就避免了此类问题,查看ffmpeg相关源代码也会发现其现有代码都是这么写的。
指缝间的风袁
·
2019-12-13 22:52
ffmpeg 打印音视频的 meta 信息
ffmpeg打印音视频的meta信息用到四个函数:av_register_all();
avformat
_open_inputav_dump_formatavformat_close_input直接上代码
孙有型丶
·
2019-12-07 00:09
音视频开发之-FFmpeg函数和结构体总结
通常该结构体由
avformat
_open_input分配存储空间,在最后调用
avformat
_input_close关闭AVStreamAVStream描述一个媒体流,在解码的过程中,作为AVFormatContext
DD_Dog
·
2019-12-03 13:17
Android Studio NDK开发(十三):FFmpeg视频解码
首先我们简单的了解一下FFmpeg八大库:2.FFmpeg库简介库的名称库的作用avcodec该库是音视频编解码的核心库,用于各种类型声音、图像编解码
avformat
各种音视频封装格式的处理,为avcodec
zhang_pan
·
2019-12-02 07:24
上一页
6
7
8
9
10
11
12
13
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他