Comments (12)
遇到同样的问题,
我的环境下,查看x264的头文件/usr/local/include/x264_config.h
发现有#define X264_BIT_DEPTH 0
于是我把编译报错的x264_bit_depth
全部换成了大写的X264_BIT_DEPTH
成功编译了,并且编译得到的ffmpeg和ffplay的h264和h265的功能看起来都是正常的
上面有同学说自己声明了x264_bit_depth
变量,应该也可以,但建议将它的初始值设置为0
写了一篇文章记录编译的过程,后面有需要的人可以看看,https://pengrl.com/p/20044/
from ffmpeg.
我也遇到了这个问题!
from ffmpeg.
自己声明一个变量就编译通过了
from ffmpeg.
@harlanc 求指教
from ffmpeg.
int x264_bit_depth; 就行了
from ffmpeg.
编译能过,不知道功能正不正常
from ffmpeg.
@harlanc 我正在编译 你试没试功能嘛?
from ffmpeg.
@harlanc 我测试了一下 H265正常的 没什么问题 H264 我没试
from ffmpeg.
你是推rtmp的h265直播流么?用的什么播放器?
from ffmpeg.
@harlanc https://github.com/NodeMedia/react-native-nodemediaclient 这个播放器
from ffmpeg.
Language files blank comment code
Java 8 117 44 423
Objective C 5 73 35 263
Markdown 2 48 0 223
JavaScript 3 26 18 155
C/C++ Header 3 13 21 32
Gradle 1 7 0 23
JSON 1 0 0 11
XML 2 0 0 5
ProGuard 1 3 18 0
SUM: 26 287 136 1135
怎么代码量这么少?用到第三方库了么?你是这家公司的啊?
from ffmpeg.
这个是React-Native的
from ffmpeg.
Related Issues (12)
- 支持FLV H265的patch编译遇到了问题 HOT 1
- 金山云ffmpeg对视频流按帧截图 HOT 2
- opencv无法打开rtmp格式的h265视频流
- Faster process possible?
- ffplay无法播放hevcpush的rtmp流
- 有没有哪位好心人编译个windows版本的发上来啊
- 可以把h264/h265的mp4文件转为h265的flv文件吗?
- 编译出错 use of undeclared identifier 'x264_bit_depth' HOT 2
- 生成ffplay,ffmpeg时链接失败
- Could u provide release bin ?
- RTSP(H265)转rtmp报错:[swscaler @ 0x13416e0] deprecated pixel format used, make sure you did set range correctly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg.