音视频
文章平均质量分 59
音视频
_洛_神
raise the rest of your life to meet you , Don't search for defining moments, Because they will never come. The moments that define you have already happened. And they will already happen again.I waited a long time out in the world,before I gave myselsf permission to fail.
展开
-
ffmpeg录屏
ffmpeg屏幕录制软件原创 2022-03-21 18:50:31 · 3796 阅读 · 0 评论 -
视频编解码流程
本文是视频编解码的大概过程,实现的功能是从摄像头读取数据到保存为mp4的过程,包括了视频的解封装、解码、 格式转换、显示、编码、封装保存等步骤。为了突出编解码流程以及使代码更简洁,这里省去了函数返回值的判断。 在流程4格式转换(YuvtoRgb)和5 格式转换(RgbtoYuv)中间省略了图像处理的内容。原创 2019-10-30 18:14:19 · 2396 阅读 · 0 评论 -
h264解码保存为yuv格式
h264解码保存为yuv格式使用ffmpeg库从摄像头读取h264数据进行解码和显示,最后保存为yuv格式的文件,开发环境为QTCreater。程序流程图如下图所示:ffmpeg.h头文件如下:#ifndef FFMPEG_H#define FFMPEG_H#include <QMainWindow>#include <QMutex>#include &l...原创 2019-11-06 15:24:56 · 2732 阅读 · 0 评论 -
ffmpeg常用编解码命令
ffmpeg常用编解码命令1 yuv文件转换为h264ffmpeg -s 1280x720 -i test.yuv -vcodec libx264 test.h2642 播放yuv格式文件ffplay -video_size 1920x1080 -i ffmpegVideo.yuv原创 2019-11-22 17:57:24 · 5873 阅读 · 0 评论