Code Monkey home page Code Monkey logo

Comments (12)

q191201771 avatar q191201771 commented on July 30, 2024 2

遇到同样的问题,
我的环境下,查看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.

songyu719 avatar songyu719 commented on July 30, 2024

我也遇到了这个问题!

from ffmpeg.

harlanc avatar harlanc commented on July 30, 2024

自己声明一个变量就编译通过了

from ffmpeg.

songyu719 avatar songyu719 commented on July 30, 2024

@harlanc 求指教

from ffmpeg.

harlanc avatar harlanc commented on July 30, 2024

int x264_bit_depth; 就行了

from ffmpeg.

harlanc avatar harlanc commented on July 30, 2024

编译能过,不知道功能正不正常

from ffmpeg.

songyu719 avatar songyu719 commented on July 30, 2024

@harlanc 我正在编译 你试没试功能嘛?

from ffmpeg.

songyu719 avatar songyu719 commented on July 30, 2024

@harlanc 我测试了一下 H265正常的 没什么问题 H264 我没试

from ffmpeg.

harlanc avatar harlanc commented on July 30, 2024

你是推rtmp的h265直播流么?用的什么播放器?

from ffmpeg.

songyu719 avatar songyu719 commented on July 30, 2024

@harlanc https://github.com/NodeMedia/react-native-nodemediaclient 这个播放器

from ffmpeg.

harlanc avatar harlanc commented on July 30, 2024

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.

songyu719 avatar songyu719 commented on July 30, 2024

这个是React-Native的

from ffmpeg.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.