![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
音视频
文章平均质量分 77
unixstone
这个作者很懒,什么都没留下…
展开
-
ffmpeg编译
ffmpeg window 编译原创 2022-12-29 09:01:53 · 93 阅读 · 0 评论 -
2020-08-17
MP4录制学习笔记 1. 时间戳的含义 参见“海思平台的利用mp4v2库合成mp4原理说明” 2. 关键代码 2.1 创建MP4文件 m_pHandle = MP4Create(strFileName, 0); MP4SetTimeScale(m_pHandle, m_nVideoTimeScale); //m_nVideoTimeScale设置为固定值90000 2.2 H264->MP4 2.2.1 SPS-> MP4 if (MP4_INVALID_TRACK_ID == m_e原创 2020-08-17 18:21:05 · 189 阅读 · 0 评论 -
MP4V2版MP4文件生成 - 内存中的H264帧和AAC帧
从IPC采集H264帧和AAC帧,然后保存为MP4文件,直接上代码: #include <mp4v2/mp4v2.h> #include <assert.h> #include <errno.h> #include <math.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <sys/types.h> #include原创 2020-08-05 13:59:30 · 685 阅读 · 0 评论 -
NDK r21下编译FDK-AAC
编译脚本 注意:要仔细研究“configure --help”的输出 #!/bin/bash export NDK_TOOLCHAIN_DIR=/home/syq/android-toolchain/ export INSTALL_DIR=/home/syq/install/fdk-aac-arm export CONFIGURE_FLAGS="--prefix=$INSTALL_DIR --enable-example --with-aix-soname=-arm" export PATH=$PAT原创 2020-07-29 11:56:27 · 674 阅读 · 0 评论 -
NDK r21下编译ffmpeg
@音视频 NDK r21下编译ffmpeg 下载NDK 从NDK官网下载NDK,并上传到服务器任意目录,本文上传到/home/syq目录中。 当前最新稳定版为r21b。 从NDK导出工具链 cd /home/syq/android-ndk-r21b #NDK的安装目录 ./make-standalone-toolchain.sh --platform=android-24 --install-dir=/home/syq/android-toolchain --force #生成工具链 编译脚原创 2020-07-27 11:27:33 · 489 阅读 · 0 评论