![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
音视频
dengjoe
这个作者很懒,什么都没留下…
展开
-
linux下第三方库的交叉编译参数总结
linux下第三方库的交叉编译参数总结一、平台类别1、ios:--host=arm-apple-darwin--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/--extra-cflags='-arc原创 2016-09-13 14:34:15 · 851 阅读 · 0 评论 -
Opus音频编码的使用约束
两年多以前做的记录了,估计现在很少用opus的了。1、采样率约束:输入信号的采样率(Hz),必须是8000、12000、16000、24000、或48000。OpusEncoder* opus_encoder_create(opus_int32 Fs, int channels, int application, int *error); 函数参数中的Fs就是采样率。原创 2016-09-13 14:40:08 · 3455 阅读 · 0 评论 -
编译并运行Android下的x264
linux下编译x264如下:>./configure --enable-pic --enable-strip --enable-static --disable-opencl --prefix=./build>make>make install因为项目关系,自己实践了两种编译环境。一、linux下编译android x264的配置:./co原创 2016-09-16 21:15:41 · 567 阅读 · 0 评论 -
TS流码率计算
1、PCR概念与解析 PCR(program clock reference),即节目时钟基准。每一个节目都有一个独立的PCR字段。 PCR有PCR-base和PCR-extension两部分,由42位码字组成。一部分以系统参考时钟(27MHz)的1/300(90kHz)为单位,称为PCR_base,共33bit;另一部分以系统参考时钟(27MHz)为单位,称为PCR_ex原创 2016-09-19 11:23:49 · 2900 阅读 · 0 评论 -
SRS-HLS服务的部署
SRS-HLS服务的部署直播服务器simple-rtmp-server支持rtmp和hls两种流的分发。对于rtmp的配置很简单,默认configure进行编译安装后,执行./objs/srs -c conf/srs.conf就行了。但是配置hls就比较麻烦了,要分为使用nginx作为hls分发服务,还是使用自带http服务器来分发。而且要根据本机http端口的占用情况来修原创 2016-09-29 08:55:10 · 4032 阅读 · 0 评论