06 2020 档案
摘要:https://www.jianshu.com/p/72061bea8045
阅读全文
摘要:sudo apt-get install yasm -y sudo apt-get install make -y sudo apt-get install cmake -y sudo apt-get update -y echo "..........compile" ./configure \
阅读全文
摘要:{ #include <iostream> #include <SDL.h> static Uint8 *pAudio_chunk; static Uint32 audio_len; static Uint8 *pAudio_pos; void fill_audio_buffer(void *use
阅读全文
摘要:{ 提取ffmpeg -i xxxx.mp4 -codec:a pcm_f32le -ar 48000 -ac 2 -f f32le output.pcm -ar: 指定采样率; -ac: 指定声道数; -f f32le: 表示每个采样点用32位浮点数来表示(le表示小端,be表示大端) 播放ffp
阅读全文
摘要://转载自 //https://www.cnblogs.com/xl2432/p/11791295.html { 一. 前言 基于学习ffmpeg和sdl,写一个视频播放器是个不错的练手项目。 视频播放器的原理很多人的博客都有讲过,这里出于自己总结的目的,还是会做一些概况。 二. 视频播放器基本原理
阅读全文
摘要://核心 { void AVdio::update(float delta) { auto video = (Sprite*)(this->getChildByName("video")); if (video != nullptr) { double tims = fl->_pts * fl->_
阅读全文
摘要:错误信息: errorC4996: 'AVStream::codec': 被声明为已否决 解决方法:
阅读全文
摘要:{ //转载自 //https://www.cnblogs.com/zjutzz/p/11119060.html } { 目录 用于执行CMake的.bat脚本 CMakeLists.txt和.cmake中的代码片段 判断平台:32位还是64位? 判断Visual Studio版本 判断操作系统 判
阅读全文
摘要:最好不要这个头文件包含宁一个头文件,宁一个头文件包含这个头文件
阅读全文
摘要:{ 关键是这句 GLEW GL X11 Xi Xrandr Xxf86vm Xinerama Xcursor rt m###################### linux std lib 的link } { target_link_libraries(CLIENT PUBLIC libNDKLI
阅读全文
摘要:{ 1、crunch命令格式 crunch <min-len> <max-len> [<charset string>] [options]参数: min-len crunch要开始的最小长度字符串。即使不使用参数的值,也需要此选项 max-len crunch要开始的最大长度字符串。即使不使用参数
阅读全文
摘要:{ OpenGL安装安装命令如下:$ sudo apt install build-essential $ sudo apt install libgl1-mesa-dev$ sudo apt install libglu1-mesa-dev $ sudo apt install freeglut3
阅读全文